I got this error using the latest SVN, seems to only affect that one movie
but I haven't tried many.
In [22]: m = i.get_movie('0120654')
In [23]: i.update(m, 'all')
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
/home/andre/Projects/m6/<ipython console> in <module>()
/usr/local/lib/python2.6/dist-packages/IMDbPY-4.1-py2.6-linux-i686.egg/imdb/__init__.py
in update(self, mop, info, override)
700 except AttributeError:
701 raise IMDbDataAccessError, 'unknown information set
"%s"' % i
--> 702 ret = method(mopID)
703 keys = None
704 if 'data' in ret:
/usr/local/lib/python2.6/dist-packages/IMDbPY-4.1-py2.6-linux-i686.egg/imdb/parser/http/__init__.py
in get_movie_technical(self, movieID)
485 def get_movie_technical(self, movieID):
486 cont = self._retrieve(imdbURL_movie_main % movieID +
'technical')
--> 487 return self.mProxy.tech_parser.parse(cont)
488
489 def get_movie_business(self, movieID):
/usr/local/lib/python2.6/dist-packages/IMDbPY-4.1-py2.6-linux-i686.egg/imdb/parser/http/utils.py
in parse(self, html_string, getRefs, **kwds)
450 else:
451 data = {}
--> 452 data = self.postprocess_data(data)
453 if self._containsObjects:
454 self.set_objects_params(data)
/usr/local/lib/python2.6/dist-packages/IMDbPY-4.1-py2.6-linux-i686.egg/imdb/parser/http/movieParser.py
in postprocess_data(self, data)
1181 del data['biography (print)']
1182 # Tech info.
-> 1183 for key in data:
1184 if key.startswith('film negative format'):
1185 data['film negative format'] = data[key]
RuntimeError: dictionary changed size during iteration
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help