[mythtv-users] imdbpy.py error

Mark Greenwood fatgerman at ntlworld.com
Fri Nov 13 22:02:20 UTC 2009


Hi,

I'm getting this following error when running imdb queries using imdb.py on myth 0.22 (mythbuntu 9.10 with the daily build repos enabled).
(I'm using imdb.py as a secondary source for jamu)

./imdbpy.py -D 0106881

Traceback (most recent call last):
  File "./imdbpy.py", line 422, in <module>
    main()
  File "./imdbpy.py", line 416, in main
    print metadata_search(options.metadata_search).encode("utf8")
  File "./imdbpy.py", line 367, in metadata_search
    meta = fetch_metadata(imdb_id)
  File "./imdbpy.py", line 260, in fetch_metadata
    movie = imdb_access.get_movie(imdb_id)
  File "/usr/lib/pymodules/python2.6/imdb/__init__.py", line 348, in get_movie
    self.update(movie, info)
  File "/usr/lib/pymodules/python2.6/imdb/__init__.py", line 702, in update
    ret = method(mopID)
  File "/usr/lib/pymodules/python2.6/imdb/parser/http/__init__.py", line 425, in get_movie_main
    return self.mProxy.movie_parser.parse(cont, mdparse=self._mdparse)
  File "/usr/lib/pymodules/python2.6/imdb/parser/http/utils.py", line 452, in parse
    data = self.postprocess_data(data)
  File "/usr/lib/pymodules/python2.6/imdb/parser/http/movieParser.py", line 407, in postprocess_data
    data['akas'] = data.get('other akas', []) + data.get('akas', [])
TypeError: coercing to Unicode: need string or buffer, list found

This has started happening only in the last few days, at least sometime last week this same query would have worked.
Do I need an upgrade of something, and if so, what?

Mark


More information about the mythtv-users mailing list