Hi After upgrading my imdbpy installation from 3.6 (that comes with ubuntu) to 3.9 I've found that it has broken compatibility with a few packages ; mainly MythTV.
3.6 used to report the plot of a movie as: Author::Content example: IMDB entry 0993910: u"Kevlar01::The Colonial fleet and the Cylons engage in a costly battle within the Ionian Nebula, Gaius becomes the figurehead of a religious sect hiding on Galactica, and Starbuck's resurrection shocks and terrifies the fleet. Meanwhile, Colonel Tigh, Galen Tyrol, Sam Anders, and Tory Foster struggle with the revelation that the are Cylons." 3.9 plot is formed as: Content::Author Example IMDB entry 0993910 u"The Colonial fleet and the Cylons engage in a costly battle within the Ionian Nebula, Gaius becomes the figurehead of a religious sect hiding on Galactica, and Starbuck's resurrection shocks and terrifies the fleet. Meanwhile, Colonel Tigh, Galen Tyrol, Sam Anders, and Tory Foster struggle with the revelation that the are Cylons.::Kevlar01" Also, some bugs introduced... I didn't investigate this one too much yet. But an example: With 3.6: >>> import imdb >>> imdb_access = imdb.IMDb() >>> title = u"house" >>> imdb_access.search_movie(title.encode("ascii",'replace')) [<Movie id:0412142[http] title:_"House M.D." (2004)_>, <Movie id:0091223[http] title:_House (1986)_>, <Movie id:0837796[http] title:_House (2008)_>, <Movie id:0076162[http] title:_Hausu (1977)_>, <Movie id:0113342[http] title:_House (1996)_>, <Movie id:0201670[http] title:_House! (2000)_>, <Movie id:0051544[http] title:_Dom (1958)_>, <Movie id:0356705[http] title:_House (1995)_>, <Movie id:0364309[http] title:_Dom (1982)_>, <Movie id:0464808[http] title:_House (2004)_>, <Movie id:0281158[http] title:_Sakhli (1991)_>, <Movie id:0059978[http] title:_"Dark Shadows" (1966)_>, <Movie id:0200276[http] title:_"West Wing, The" (1999)_>, <Movie id:0462322[http] title:_Grindhouse (2007)_>, <Movie id:0173664[http] title:_"Bear in the Big Blue House" (1997)_>, <Movie id:0124315[http] title:_Cider House Rules, The (1999)_>, <Movie id:0385004[http] title:_Shi mian mai fu (2004)_>, <Movie id:0077975[http] title:_Animal House (1978)_>, <Movie id:0758774[http] title:_Body of Lies (2008)_>, <Movie id:0054533[http] title:_"Dick Van Dyke Show, The" (1961)_>] With 3.9: >>> import imdb >>> imdb_access = imdb.IMDb() >>> title= u"house" >>> imdb_access.search_movie(title.encode("ascii",'replace')) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/imdb/__init__.py", line 360, in search_movie res = self._search_movie(title, results) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/imdb/parser/http/__init__.py", line 417, in _search_movie return self.smProxy.search_movie_parser.parse(cont, results=results)['data'] File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/imdb/parser/http/utils.py", line 704, in parse data = self.parse_dom(dom) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/imdb/parser/http/utils.py", line 802, in parse_dom data = attr_postprocess(data) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/imdb/parser/http/searchMovieParser.py", line 386, in <lambda> analyze_title(x.get('info') or u'', canonical=1) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/imdb/utils.py", line 374, in analyze_title raise IMDbParserError, 'invalid title: "%s"' % original_t imdb._exceptions.IMDbParserError: invalid title: "" Hope this helps. Jean-Yves ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel