Hello.
I just grabbed imdbpy from cvs and ran it against my sql imdb database
(redundant?). When I tried to run get_first_movie.py, I got the
following error:
$ ./get_first_movie.py "The Incredibles"
Traceback (most recent call last):
File "./get_first_movie.py", line 55, in ?
results = i.search_movie(title)
File "/home/godbyk/lib/python/imdb/__init__.py", line 180, in search_movie
res = self._search_movie(title, results)
File "/home/godbyk/lib/python/imdb/parser/sql/__init__.py", line
283, in _search_movie
res = scan_titles(qr, title1, title2, title3, resultsST)
File "/home/godbyk/lib/python/imdb/parser/common/locsql.py", line
293, in scan_titles
for i, t_data in titles_list:
ValueError: too many values to unpack
When I run it using the 'web' accessSystem, it returns the expected results.
I looked at the locsql.py file. titles_list is a list containing
entries such as:
(189173, u'Incredibles, The', u'II', u'video game', 2004)
which can't be unpacked into i and t_data.
I read on the mailing list that there was recently some rewriting of
the SQL bits.
Any hints as to how I should fix this?
Thanks!
--Kevin
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Imdbpy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel