Hi guys, I've been trying to get imdbpy2sql working for the last few days and not been having much luck. Running imdbpy 3.0 on Ubuntu Edgy with python 2.4, SQLObject 0.8.3 for python2.4, it eventually gives this error:
SCANNING movies: "Garasu no kantai" (2006) {Rifu no gotoku... (#1.15)} (movieID: 670001) SCANNING movies: "Good Morning, Miami" (2002) {With Friends Like These, Who Needs Emmys? (#2.4)} (movieID: 680001) SCANNING movies: "Happy Days" (1974) {Fonzie the Substitute (#9.7)} (movieID: 690001) * FLUSHING MoviesCache... Traceback (most recent call last): File "imdbpy2sql.py", line 1567, in ? run() File "imdbpy2sql.py", line 1478, in run readMovieList() File "imdbpy2sql.py", line 790, in readMovieList mid = CACHE_MID.addUnique(title, yearData) File "imdbpy2sql.py", line 494, in addUnique else: return self.add(key, miscData) File "imdbpy2sql.py", line 487, in add self[key] = c File "imdbpy2sql.py", line 418, in __setitem__ self.flush() File "imdbpy2sql.py", line 436, in flush self._toDB(quiet) File "imdbpy2sql.py", line 575, in _toDB stitle = build_title(tget('episode of'), canonical=1) File "/usr/lib/python2.4/site-packages/imdb/utils.py", line 471, in build_title title += ' (%s' % year UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) As I'm not at the machine now I'm not sure what version of mysql I'm running. I don't imagine that's the problem, but I'm not entirely certain how to fix it (my knowledge of unicode is quite poor). Any help would be appreciated. Thanks, Jon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel