Getting an error, This was a CVS install from Sept.7th Is there a place in the code which shows version number/name? similar to module.__version__
>>> import imdb >>> ia = imdb.IMDb() >>> results = ia.search_movie('goonies') >>> for movie in results: ... ia.update(movie) ... if movie.has_key('cover url'): ... print movie['title'] + ' ' + movie['cover url'] ... The Goonies http://ia.imdb.com/media/imdb/01/I/77/80/48m.jpg Traceback (most recent call last): File "<stdin>", line 2, in ? File "/home/garlandkr/lib/python2.4/imdb/__init__.py", line 297, in update ret = method(mopID) File "/home/garlandkr/lib/python2.4/imdb/parser/http/__init__.py", line 311, in get_movie_plot cont = self._retrieve(imdbURL_movie % movieID + 'plotsummary') File "/home/garlandkr/lib/python2.4/imdb/parser/http/__init__.py", line 269, in _retrieve return self.urlOpener.retrieve_unicode(url, size=size) File "/home/garlandkr/lib/python2.4/imdb/parser/http/__init__.py", line 153, in retrieve_unicode raise IMDbDataAccessError, {'errcode': e.errno, imdb._exceptions.IMDbDataAccessError: {'exception type': 'IOError', 'url': 'http://akas.imdb.com/title/tt0106531/plotsummary', 'errcode': 'socket error', 'proxy': '', 'original exception': <exceptions.IOError instance at 0xb7afff6c>, 'errmsg': "(-2, 'Name or service not known')"} something a bit simpler that works: >>> for movie in results: ... ia.update(movie) ... print movie['title'] ... The Goonies Young Americans The Making of 'The Goonies' The Goonies II The Goodies Loenatik - De moevie The Goodies and the Beanstalk Zombies on Broadway Pale Blue Moon Sabrina and the Groovie Goolies La Cavale des fous Ciara Goodies: The Videos and More Goodies Rule - O.K.? Return of the Goodies Merton of the Goofies Poonies Angoroj The Agonies of Agnes Cookie's Fortune Baby Geniuses ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel