abbi031892 / periscope

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

Traceback when running periscope #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. running periscope on command line (on Fedora 14)
2.
3.

What is the expected output? What do you see instead?

INFO:root:Searching on Subtitulos
INFO:root:Searching on Addic7ed
INFO:root:Searching on Podnapisi
INFO:root:Searching on TheSubDB
Traceback (most recent call last):
  File "/usr/bin/periscope", line 5, in <module>
    pkg_resources.run_script('periscope==dev', 'periscope')
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 467, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1200, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/lib/python2.7/site-packages/periscope-dev-py2.7.egg/EGG-INFO/scripts/periscope", line 115, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/periscope-dev-py2.7.egg/EGG-INFO/scripts/periscope", line 79, in main
    sub = periscope_client.downloadSubtitle(arg, langs)
  File "/usr/lib/python2.7/site-packages/periscope-dev-py2.7.egg/periscope/periscope.py", line 176, in downloadSubtitle
    subtitles = self.listSubtitles(filename, langs)
  File "/usr/lib/python2.7/site-packages/periscope-dev-py2.7.egg/periscope/periscope.py", line 136, in listSubtitles
    plugin = getattr(plugins, name)()
  File "/usr/lib/python2.7/site-packages/periscope-dev-py2.7.egg/periscope/plugins/BierDopje.py", line 59, in __init__
    self.showid_cache = os.path.join(bd.xdg_config_home, "periscope", "bierdopje_showid.cache")
NameError: global name 'bd' is not defined
INFO:root:Subtitulos writing 0 items to queue
INFO:root:OpenSubtitles writing 1 items to queue
INFO:root:TheSubDB writing 0 items to queue
INFO:root:Podnapisi writing 0 items to queue

The subtitle isn't downloaded.

Original issue reported on code.google.com by Gerrit...@gmail.com on 10 May 2011 at 1:09

GoogleCodeExporter commented 8 years ago
Sorry haven't seen issue 95. I have commented Bierdopje in the __init__.py, 
workaround works.

Original comment by Gerrit...@gmail.com on 10 May 2011 at 1:21

GoogleCodeExporter commented 8 years ago
Could you check you have python-xdg installed ?

Original comment by patrick....@gmail.com on 17 May 2011 at 9:31