abbi031892 / periscope

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

AttributeError: 'str' object has no attribute 'site_name' #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get latest trunk revision (I have 117)
2. periscope --list-active-plugins
3. Get traceback

What is the expected output? What do you see instead?
The list of plugins is expected. I get a, err, traceback.

What version of the product are you using? On what operating system?
latest trunk rev 117

Please provide any additional information below.

Traceback (most recent call last):
  File "/usr/local/bin/periscope", line 5, in <module>
    pkg_resources.run_script('periscope==dev', 'periscope')
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1194, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.6/dist-packages/periscope-dev-py2.6.egg/EGG-INFO/scripts/periscope", line 115, in <module>
    main()
  File "/usr/local/lib/python2.6/dist-packages/periscope-dev-py2.6.egg/EGG-INFO/scripts/periscope", line 58, in main
    print "%s : %s" %(plugin.site_name, plugin.url)
AttributeError: 'str' object has no attribute 'site_name'

Original issue reported on code.google.com by pard...@gmail.com on 11 Nov 2010 at 9:44

GoogleCodeExporter commented 8 years ago
Fixed with commit 118, output now looks like:

periscope  --list-active-plugins
OpenSubtitles
Subtitulos
Addic7ed
Podnapisi
TheSubDB
BierDopje

Original comment by patrick....@gmail.com on 12 Nov 2010 at 8:24

GoogleCodeExporter commented 8 years ago
Confirmed working, thanks

Original comment by pard...@gmail.com on 13 Nov 2010 at 9:50