New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imdbpy2sql.py never completes (OS X 10.7.5 Lion) #19
Comments
On Tue, Oct 7, 2014 at 10:08 PM, ambrosechapel notifications@github.com wrote:
Yep, that's a know problem. If this creates you some performance problems, you can easily As always, any help fixing the real problem would be Davide Alberani da@mimante.net [PGP KeyID: 0x465BFD47] |
Hi, thanks for responding. I have now figured out the problem and solved it successfully for me at least (XAMPP on MacBook/iMac). The problem was the tables being created as INNODb by default. I added this to the command line and everything completed successfully:
|
Hi May I ask how do you solve this problem? I met it too. Thanks so much! On Fri, Oct 17, 2014 at 9:19 PM, ambrosechapel notifications@github.com
Best, |
Like I said above, I added something to the command, so as the documentation says:
but if you add my extra code above you get
and that should work. |
My recommendation to solve the problem is to explicitly state that there's no guarantee the script will ever complete using INNODb and say that using MyISAM is highly recommended. |
I got this. Have you seen the data in this sql database. I found actually On Fri, Oct 17, 2014 at 9:26 PM, ambrosechapel notifications@github.com
Best, |
Which files did you download? The documentation recommends you download every .gz file in this folder: ftp://ftp.funet.fi/pub/mirrors/ftp.imdb.com/pub/ |
I know. I did the same. But I think the imdbpy2sql does not save detail Thanks On Fri, Oct 17, 2014 at 9:36 PM, ambrosechapel notifications@github.com
Best, |
I hadn't looked at that part of the information I'm afraid, and I'm not at the right computer now to check the database. Maybe alberanid can answer that. |
OK~You can have a try. I am also doing this kind of work recently. On Fri, Oct 17, 2014 at 9:57 PM, ambrosechapel notifications@github.com
Best, |
I have done an import successfully on this computer and I can see the budget information. According to So if I look in movie_info for |
On Sun, Oct 19, 2014 at 7:13 AM, ambrosechapel notifications@github.com wrote:
Yep, each and every information from the plain text files is From the business list we have: 'budget', 'weekend gross', 'gross', Davide Alberani da@mimante.net [PGP KeyID: 0x465BFD47] |
Thanks all. I appreciate your help. On Sun, Oct 19, 2014 at 5:02 PM, Davide Alberani notifications@github.com
Best, |
I've tried to run imdbpy2sql.py three times now and each time it gets to the stage "adding foreign keys" and stalls. I left it running for more than 24 hours then gave up. Running it again I can see it get to around 47/48 minutes CPU time in Activity Monitor (which is like a GUI version of the
top
command) then nothing happens. There's no disk activity and the memory usage is zero.I set the computer never to sleep and ran the command through
nohup
in case that was a factor but the same thing happened.As it's done most of the work except for the foreign keys, is there a way I can re-run it, skipping everything else and just doing the foreign keys?
The text was updated successfully, but these errors were encountered: