Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16423 - [freevo] the imdb search don't work

Attached to Project: Community Packages
Opened by Andrea Squeri (andrea_squeri) - Thursday, 01 October 2009, 17:49 GMT
Last edited by Dan Griffiths (Ghost1227) - Monday, 18 January 2010, 06:56 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:The search of any string return an error about parse of character data

Additional info:
* package version(s) 1.9.0-1
* config and/or log files etc.


Steps to reproduce:
if I execute the command freevo imdb -s "test" where test is any string I obtain this error:

Searching IMDB for 'test'...
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/freevo/util/fxdimdb.py", line 800, in parsesearchdata
soup = BeautifulSoup(results.read(), convertEntities='xml')
File "/usr/lib/python2.6/site-packages/BeautifulSoup.py", line 1499, in __init__
BeautifulStoneSoup.__init__(self, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/BeautifulSoup.py", line 1230, in __init__
self._feed(isHTML=isHTML)
File "/usr/lib/python2.6/site-packages/BeautifulSoup.py", line 1263, in _feed
self.builder.feed(markup)
File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib/python2.6/HTMLParser.py", line 171, in goahead
self.handle_charref(name)
File "/usr/lib/python2.6/site-packages/BeautifulSoup.py", line 1047, in handle_charref
data = unichr(int(ref))
ValueError: invalid literal for int() with base 10: 'x27'
ATTENZIONE: Cannot parse 'http://www.imdb.com/find?s=tt;site=aka;q=test': invalid literal for int() with base 10: 'x27'
No results
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Monday, 18 January 2010, 06:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks for the patch djgera!
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 16 January 2010, 06:24 GMT Comment by Dan Griffiths (Ghost1227) - Saturday, 16 January 2010, 21:24 GMT
Good find djgera! Patched.

Loading...