On Thu, Feb 20, 2014 at 11:07 PM, Elena Renda
<movieproject2...@gmail.com> wrote:
> I eventually managed to install imdbpy and everything I need on my Mac OS X,
> by solving all the dependencies.

Hi, and pardon for the long reply.

> I run twice the imdbpy2sql to transfer the .txt files in mysql but it keeps
> hanging at this point:
> adding foreign keys (this may take a while)

I've notice it too, and I can't tell at which point of the creation of
the indexes
it fails (if it fails at all, maybe it's just slow for some reason).

You can interrupt it, and use the database anyway.
I've to investigate which - if any - index is really missing.

The schema of the database is defined in the DB_SCHEMA list
in the imdb/parser/sql/dbschema.py file; you could look at
the entries with an 'index' argument and see if some of them are
actually missing in the database.

Thanks for your patience!

Davide Alberani <davide.alber...@gmail.com>  [PGP KeyID: 0x465BFD47]

Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
Imdbpy-help mailing list

Reply via email to