Hi all,
I'm trying imdbpy 3.7 and have problems with encode like you can see below.
I have notice that when I "easy_install" imdbpy, lxml and beautifulsoup was
not installed has a dependency...
"""
Warning: unable to use "lxml": No module named lxml
Warning: falling back to "beautifulsoup".
"""
(tg2env)[EMAIL PROTECTED]:~/Dropbox/Programação/Testes$ search_movie.py Merlin
20 results for "Merlin":
movieID : imdbID : title
0130414 : 0130414 : Merlin (1998/II)
1199099 : 1199099 : "Merlin" (2008)
0104855 : 0104855 : Merlin (1992)
0139460 : 0139460 : Merlin (1998/I)
0463826 : 0463826 : Merlin's Apprentice (2006)
0258362 : 0258362 : "Merlin" (1980)
0470437 : 0470437 : Merlin (1987)
Traceback (most recent call last):
File "/media/Dados/Pythons/tg2env/bin/search_movie.py", line 5, in
<module>
pkg_resources.run_script('IMDbPY==3.7', 'search_movie.py')
File
"/media/Dados/Pythons/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py",
line 448, in ru
n_script
File
"/media/Dados/Pythons/tg2env/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py",
line 1166, in r
un_script
File
"/media/Dados/Pythons/tg2env/lib/python2.5/site-packages/IMDbPY-3.7-py2.5-linux-x86_64.egg/EGG-INFO/scripts/search_mov
ie.py", line 52, in <module>
movie['long imdb title'].encode(out_encoding, 'replace'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4:
ordinal not in range(128)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel