Re: [Imdbpy-help] Issues Updating imdb database with movie objects on Mac

2017-01-06 Thread Davide Alberani
On Tue, Dec 27, 2016 at 8:07 PM, Michael Solsky wrote: > > I’m attaching two output files. One from a macbook pro running yosemite > 10.10.5, the other is from a raspberry pi 3 running debian. The database > seem to be populate > d on the mac, but I can’t seem to update the movie object stil

Re: [Imdbpy-help] Issues Updating imdb database with movie objects on Mac

2016-12-19 Thread Davide Alberani
Hi Michael, yes, it seems that something has gone wrong populating the database. I've just tested it, and works for me. Running imdbpy2sql.py, it's usually a good idea to append some redirection to store the output, like: ./imdbpy2sql.py -d /path/to/files -u mysql://user:password@localhost:/imdb

[Imdbpy-help] Issues Updating imdb database with movie objects on Mac

2016-12-07 Thread Michael Solsky
Hi, Hello, I’m trying to run imdbpy from a local database. Using the following code: i = IMDb('sql', uri=‘<<>>') resList = i.search_movie('the incredibles') for x in resList: print x ti = resList[0] i.update(ti) print ti['director'][0] I get an error, as listed at the bottom. I think this i