renanrt / periscope

Automatically exported from code.google.com/p/periscope
0 stars 0 forks source link

no notification displayed when no subtitles found #77

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Right click and select "Find subtitles for this movie" on a movie that you 
know no subtitles would be found

What is the expected output? What do you see instead?
I expect to see a notification telling me that it could not find subtitles, 
instead no notification is displayed and the code thows an exception:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/nautilus/extensions-2.0/python/periscope-nautilus.py", line 116, in run
    self.notfound.append({"filename": filename, "lang" : subtitle["lang"]})
TypeError: 'NoneType' object is unsubscriptable

What version of the product are you using? On what operating system?
periscope 0.1.14 on ubuntu 10.10 64bit

Please provide any additional information below.
subtitle seems to be of type None

Original issue reported on code.google.com by shoc...@gmail.com on 10 Feb 2011 at 7:35

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r130.

Original comment by patrick....@gmail.com on 15 Feb 2011 at 9:57