Gents,

 

What's the best approach to keep one's IMDB database up to date? Can this be
done with IMDdPy?

I want to make sure that my OpenDVR is up to date with more recent releases
after doing the initial import.

 

Also, any ideas on the error below?

It seems like the scripts chocking on bad data after importing 800,000
records:

 

* FLUSHING MoviesCache...

   * SPLITTING (run 2 of 2), recursion: 1

 * FLUSHING MoviesCache...

 * TOO MANY DATA (50001 items in MoviesCache), recursion: 2

   * SPLITTING (run 1 of 2), recursion: 2

 * FLUSHING MoviesCache...

 * TOO MANY DATA (25000 items in MoviesCache), recursion: 3

   * SPLITTING (run 1 of 2), recursion: 3

 * FLUSHING MoviesCache...

   * SPLITTING (run 2 of 2), recursion: 3

 * FLUSHING MoviesCache...

   * SPLITTING (run 2 of 2), recursion: 2

 * FLUSHING MoviesCache...

 * TOO MANY DATA (25001 items in MoviesCache), recursion: 3

   * SPLITTING (run 1 of 2), recursion: 3

 * FLUSHING MoviesCache...

   * SPLITTING (run 2 of 2), recursion: 3

 * FLUSHING MoviesCache...

SCANNING movies: "Odd Couple, The" (1970) {The Odd Decathalon (#4.3)}
(movieID: 800003)

SCANNING movies: "Pardon the Interruption" (2001) {(2006-01-20)} (movieID:
810003)

SCANNING movies: "Platos rotos" (1985) {La mala sombra de una duda}
(movieID: 820003)

SCANNING movies: "Project U.F.O." (1978) {Sighting 4010: The Waterford
Incident (#1.10)} (movieID: 830003)

SCANNING movies: "Rehnuma" (2000) (movieID: 840003)

SCANNING movies: "Route 66" (1960) {Burning for Burning (#2.13)} (movieID:
850003)

SCANNING movies: "Score with the Scaffold" (1970) {(#1.1)} (movieID: 860003)

SCANNING movies: "Single Guy, The" (1995) {Wedding (#1.17)} (movieID:
870003)

SCANNING movies: "Space Cases" (1996) (movieID: 880003)

SCANNING movies: "Strong Medicine" (2000) {Systemic (#2.11)} (movieID:
890003)

 * FLUSHING MoviesCache...

Traceback (most recent call last):

  File "/usr/local/bin/imdbpy2sql.py", line 1533, in ?

    run()

  File "/usr/local/bin/imdbpy2sql.py", line 1460, in run

    readMovieList()

  File "/usr/local/bin/imdbpy2sql.py", line 783, in readMovieList

    mid = CACHE_MID.addUnique(title, yearData)

  File "/usr/local/bin/imdbpy2sql.py", line 489, in addUnique

    else: return self.add(key, miscData)

  File "/usr/local/bin/imdbpy2sql.py", line 482, in add

    self[key] = c

  File "/usr/local/bin/imdbpy2sql.py", line 413, in __setitem__

    self.flush()

  File "/usr/local/bin/imdbpy2sql.py", line 431, in flush

    self._toDB(quiet)

  File "/usr/local/bin/imdbpy2sql.py", line 559, in _toDB

    t = analyze_title(k)

  File "/usr/lib/python2.4/site-packages/imdb/utils.py", line 317, in
analyze_title

    seas, epn = sen[2:-1].split('.')

ValueError: need more than 1 value to unpack

 

 

 

Thanks!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to