On Mar 31, vi...@umich.edu wrote:

> Greetings,

Hi!

> The line I am trying to use is:
>     imdb_access.update(movie_object, 'cast')
  [...]
>     raise IMDbDataAccessError, 'unknown information set "%s"' % i
> imdb._exceptions.IMDbDataAccessError: unknown information set "cast"

Because 'cast' is not an 'information set'; it's just a keyword
of the 'main' information set.

> The only other way I can do it is by updating everything:
>     imdb_access.update(movie_object)

Try updating only 'main' (by the way: I assume we're talking
about Movie instances that came from a search result - otherwise
the cast info is already there)

Even better, try using the 'mobile' data access system.

For more info about, see the "INFORMATION SETS" section of
the README.package file:
  http://bitbucket.org/alberanid/imdbpy/src/tip/docs/README.package
And the README.mobile file (skip the 'installation options' section):
  http://bitbucket.org/alberanid/imdbpy/src/tip/docs/README.mobile


HTH,
-- 
Davide Alberani <davide.alber...@gmail.com> [GPG KeyID: 0x465BFD47]
http://www.mimante.net/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to