[Pkg-freevo-maint] Bug#548576: imdb & filmaffinity plugins don't work

alex 766f6964 at gmail.com
Sun Sep 27 11:01:24 UTC 2009


Package: python-freevo
Version: 1.9.0-3

 	Today I tried to configure the imdb / filmaffinity plugins 
included in the package and I can't get working.

 	IMDB crashes with:

ValueError: invalid literal for int() with base 10: 'xFD'

 	FilmAffinity crashes with:

AttributeError: 'NoneType' object has no attribute 'parent'

 	I attached full log, if you need more info, please email me.

-- System Information:
Debian Release: squeeze/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-freevo depends on:
ii  python                    2.5.4-2        An interactive high-level 
object-o
ii  python-alsaaudio          0.2-1+b1       Alsa bindings for Python
ii  python-beautifulsoup      3.1.0.1-2      error-tolerant HTML parser 
for Pyt
ii  python-central            0.6.11         register and build utility 
for Pyt
ii  python-elementtree        1.2.6-14       Light-weight toolkit for XML 
proce
ii  python-imaging            1.1.6-3        Python Imaging Library
ii  python-kaa-base           0.6.0-1        Base Kaa Framework for all 
Kaa Mod
ii  python-kaa-imlib2         0.2.3-1        Imlib2 Wrapper for Python
ii  python-kaa-metadata       0.7.6-1        Media Metadata for Python
ii  python-libxml2            2.7.3.dfsg-1   Python bindings for the GNOME 
XML
ii  python-pygame             1.8.1release-1 SDL bindings for games 
development
ii  python-sqlite             1.0.1-7        python interface to SQLite 2
ii  python-twisted            8.2.0-2        Event-based framework for 
internet

python-freevo recommends no packages.

python-freevo suggests no packages.

-- no debconf information
-------------- next part --------------
================================================================================
Freevo 1.9.0 r11576 started at Sun Sep 27 12:53:30 2009
--------------------------------------------------------------------------------
2009-09-27 12:53:30,010 INFO     config.py (527): LOGDIR: /var/log /home/freevo/log
2009-09-27 12:53:30,011 INFO     config.py (528): STATICDIR: /var/lib /home/freevo/static
2009-09-27 12:53:30,011 INFO     config.py (529): CACHEDIR: /var/cache /home/freevo/cache
2009-09-27 12:53:30,011 INFO     config.py (548): Loading freevo configuration file "/etc/freevo/freevo.conf"
2009-09-27 12:53:30,014 INFO     config.py (584): Loading debconf configuration file "/etc/freevo/debconf.py"
2009-09-27 12:53:30,016 INFO     config.py (628): Loading freevo configuration file: "/usr/share/freevo/freevo_config.py"
2009-09-27 12:53:30,087 INFO     config.py (634): Loaded freevo configuration file: "/usr/share/freevo/freevo_config.py"
2009-09-27 12:53:30,087 INFO     config.py (645): Loading debconf configuration file "/etc/freevo/debconf.py"
2009-09-27 12:53:30,088 INFO     config.py (655): Loading local configuration file: "/etc/freevo/local_conf.py"
WARNING: duplicate plugin activation, ignoring:
<headlines None None>

2009-09-27 12:53:30,098 INFO     config.py (663): Loaded local configuration file: "/etc/freevo/local_conf.py"
Error: VIDEO_SHOW_DATA_DIR not found
ROM_DRIVES: Auto-detected and added "('/media/cdrom0', '/dev/hda', 'CD-1')"
2009-09-27 12:53:30,117 INFO     config.py (1058): overlaydir: /home/freevo/cache/vfs
2009-09-27 12:53:30,120 WARNING  rc.py (159): PyLirc not found, lirc remote control disabled!
2009-09-27 12:53:30,481 INFO     osd.py (445): SDL Driver: x11
2009-09-27 12:53:31,035 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,035 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'
2009-09-27 12:53:31,038 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,038 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'
2009-09-27 12:53:31,040 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,041 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'
2009-09-27 12:53:31,044 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,044 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'
2009-09-27 12:53:31,046 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,047 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'
2009-09-27 12:53:31,049 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,049 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'
2009-09-27 12:53:31,052 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,053 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'
2009-09-27 12:53:31,055 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,055 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'
2009-09-27 12:53:31,061 INFO     osd.py (219): Couldn't load font 'Arial_Bold.ttf'
2009-09-27 12:53:31,061 INFO     osd.py (225): Trying alternate: 'VeraBd.ttf'

Warning: cache is older than 7 days
Running 'freevo cache' is recommended.

version: 1.9.0
2009-09-27 12:53:32,054 INFO     rom_drives.py (372): Getting capabilities for CD-1 (/dev/hda)
2009-09-27 12:53:32,072 INFO     rom_drives.py (386): CD-1 can close
2009-09-27 12:53:32,073 INFO     rom_drives.py (390): CD-1 can open
2009-09-27 12:53:32,073 INFO     rom_drives.py (394): CD-1 can select speed
2009-09-27 12:53:32,075 INFO     rom_drives.py (367): '/dev/hda' can CDC_CLOSE_TRAY
2009-09-27 12:53:32,075 INFO     rom_drives.py (367): '/dev/hda' can CDC_OPEN_TRAY
2009-09-27 12:53:32,075 INFO     rom_drives.py (367): '/dev/hda' can CDC_LOCK
2009-09-27 12:53:32,076 INFO     rom_drives.py (367): '/dev/hda' can CDC_SELECT_SPEED
2009-09-27 12:53:32,076 INFO     rom_drives.py (367): '/dev/hda' can't CDC_SELECT_DISC
2009-09-27 12:53:32,076 INFO     rom_drives.py (367): '/dev/hda' can CDC_MULTI_SESSION
2009-09-27 12:53:32,077 INFO     rom_drives.py (367): '/dev/hda' can CDC_MCN
2009-09-27 12:53:32,077 INFO     rom_drives.py (367): '/dev/hda' can CDC_MEDIA_CHANGED
2009-09-27 12:53:32,077 INFO     rom_drives.py (367): '/dev/hda' can CDC_PLAY_AUDIO
2009-09-27 12:53:32,078 INFO     rom_drives.py (367): '/dev/hda' can CDC_RESET
2009-09-27 12:53:32,078 INFO     rom_drives.py (367): '/dev/hda' can CDC_DRIVE_STATUS
2009-09-27 12:53:32,078 INFO     rom_drives.py (367): '/dev/hda' can CDC_GENERIC_PACKET
2009-09-27 12:53:32,079 INFO     rom_drives.py (367): '/dev/hda' can CDC_CD_R
2009-09-27 12:53:32,079 INFO     rom_drives.py (367): '/dev/hda' can CDC_CD_RW
2009-09-27 12:53:32,079 INFO     rom_drives.py (367): '/dev/hda' can CDC_DVD
2009-09-27 12:53:32,080 INFO     rom_drives.py (367): '/dev/hda' can CDC_DVD_R
2009-09-27 12:53:32,080 INFO     rom_drives.py (367): '/dev/hda' can CDC_DVD_RAM
2009-09-27 12:53:32,080 INFO     rom_drives.py (367): '/dev/hda' can't CDC_MO_DRIVE
2009-09-27 12:53:32,081 INFO     rom_drives.py (367): '/dev/hda' can CDC_MRW
2009-09-27 12:53:32,081 INFO     rom_drives.py (367): '/dev/hda' can CDC_MRW_W
2009-09-27 12:53:32,081 INFO     rom_drives.py (367): '/dev/hda' can CDC_RAM
2009-09-27 12:53:32,107 INFO     rom_drives.py (432): '/dev/hda' CDS_NO_DISC
2009-09-27 12:53:32,107 INFO     rom_drives.py (427): '/dev/hda' CDS_NO_INFO
plugin dialog.x11_overlay_display deactivated, reason: kaa.display is not installed
Freevo 1.9.0 ready
2009-09-27 12:53:32,966 INFO     create thread notifier pipe
Traceback (most recent call last):
  File "/usr/share/pyshared/freevo/util/fxdimdb.py", line 800, in parsesearchdata
    soup = BeautifulSoup(results.read(), convertEntities='xml')
  File "/usr/lib/pymodules/python2.5/BeautifulSoup.py", line 1499, in __init__
    BeautifulStoneSoup.__init__(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.5/BeautifulSoup.py", line 1230, in __init__
    self._feed(isHTML=isHTML)
  File "/usr/lib/pymodules/python2.5/BeautifulSoup.py", line 1263, in _feed
    self.builder.feed(markup)
  File "/usr/lib/python2.5/HTMLParser.py", line 108, in feed
    self.goahead(0)
  File "/usr/lib/python2.5/HTMLParser.py", line 171, in goahead
    self.handle_charref(name)
  File "/usr/lib/pymodules/python2.5/BeautifulSoup.py", line 1047, in handle_charref
    data = unichr(int(ref))
ValueError: invalid literal for int() with base 10: 'xFD'
2009-09-27 12:55:01,834 WARNING  fxdimdb.py (807): Cannot parse 'http://www.imdb.com/find?s=tt;site=aka;q=bolt': invalid literal for int() with base 10: 'xFD'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/freevo/main.py", line 306, in eventhandler
    app.eventhandler(event)
  File "/usr/share/pyshared/freevo/menu.py", line 842, in eventhandler
    self._handle_play_item(menu, event)
  File "/usr/share/pyshared/freevo/menu.py", line 654, in _handle_play_item
    action(arg=arg, menuw=self)
  File "/usr/share/pyshared/freevo/menu.py", line 106, in select
    self.function(arg=self.arg, menuw=menuw)
  File "/usr/share/pyshared/freevo/video/plugins/filmaffinity.py", line 393, in filmaffinity_create_fxd
    self.getFilmAffinityPage(arg[0])
  File "/usr/share/pyshared/freevo/video/plugins/filmaffinity.py", line 219, in getFilmAffinityPage
    self.parsedata(idpage, id)
  File "/usr/share/pyshared/freevo/video/plugins/filmaffinity.py", line 545, in parsedata
    self.info['rating'] = img.parent.parent.nextSibling.nextSibling.td.string + ' ' + img.parent.parent.parent.findAll('tr')[4].td.string.strip()
AttributeError: 'NoneType' object has no attribute 'parent'


More information about the Pkg-freevo-maint mailing list