Hi,

I am an unexperienced programmer trying to run imdppy2sql.py in order to
create a local sql database of imdb's data.  Thus far, here is what I have
done:

1. Downloaded all the plain text files from imdb into a single directory:
"/Users/TPF/Desktop/imdb/"
2. Downloaded Mamp and created a mysql database called "imdb"
3. Downloaded the latest version of sql object by typing "svn co
http://svn.colorstudy.com/sqlobject/trunk SQLobject into the command line
4. Downloaded the stable version of IMDbPY  - 4.8.2
5. Navigated to the IMDbPY folder by typing
"cd /Users/TPF/Desktop/IMDbPY-4.8.2" into the command line.
6. Entered this into the command line to execute the script:
"python bin/imdbpy2sql.py -d /Users/TPF/Desktop/imdb/ -u
mysql://root:root@localhost:8889/imdb"

However, this seems to continually return this error:

"Traceback (most recent call last):
  File "bin/imdbpy2sql.py", line 34, in <module>
    from imdb.parser.sql.dbschema import *
ImportError: No module named imdb.parser.sql.dbschema"

Yet, when I navigate to this folder, I see the script "dbschema.py" in the
correct location.  I have searched on the internet and suspect that the
problem may have to do with my version of SQLobject, Python (2.6.1), or my
OS (Mac OSX 10.6.8). However, due to my lack of experience, I am not sure
how best to redress these issues or where to start first.  Can somebody
please help walk me through this? I'd be more than willing to compensate
you for your time.

All the best,

Brian Abelson
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to