On Dec 24, Fredrik Arnell <[EMAIL PROTECTED]> wrote: > Hello hello,
Hi and happy holidays! [running version 3.4] > This is the output i get; > SCANNING actor: Barbier, George > SCANNING actor: Barlier, Jean-Pierre [...] > File "/home/prozzerg/imdb/imdbpy/IMDbPY-3.4/bin/imdbpy2sql.py", line > 526, in flush > print ' * TOO MANY DATA (%s items in %s), recursion: %s' % \ > AttributeError: 'CharactersCache' object has no attribute 'className' Wooops, that was a bug: I'll commit a fixed version to the CVS as soon as possible. Anyway, commenting the 'print' statement is a good temporary workaround. Even better: replace it with something like: print ' * TOO MANY DATA recursion: %s' % self._recursionLevel so that you could see how many times the data needs to be splitted. > I tried to comment the print line and it worked, atleast for a while. > Before the script was able to finnish with the first .gz file it crashed > with a plain segfault without errors. That's really really bad, and right now I'm not able to reproduce the problem. Does anyone else have seen a similar behavior, with the latest imdb's plain text data files? I can't think of any good reason for a segfault. :-/ [running version 3.2] > # TIME readMovieList() : 13 min, 45 sec. > DOING actors.list.gz > Traceback (most recent call last): [...] > File "/home/prozzerg/imdb/imdbpy/IMDbPY-3.2/bin/imdbpy2sql.py", line > 137, in colName > return table.sqlmeta.columns[column].dbName Here the exception's traceback is not reported. :-) If you have it around, please resend the complete error. By the way, this is a very strange place for an error. > Have IMDB changed their structure in the plain text files recently? Not that I'm aware of. Anyway, do you get many "TOO MANY DATA" warnings? What database server are you running? If you're using MySQL, is the max_allowed_packet option set to at least 8M or 16M? Version of SQLObject? Thank you very much for the tests and the bug report: I'll add your name to the CREDITS. -- Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

