Re: [Imdbpy-help] AGAIN: sqlite3.ProgrammingError: You must not use 8-bit bytestrings

2011-03-06 Thread Davide Alberani
On Tue, Jan 25, 2011 at 20:48, Davide Alberani wrote: > >> Not sure if it's the right way, but I added the following: >> >> connectObject.text_factory = str >> >> at line 518 of bin/imdbpy2sql.py > > Should do the trick; I'll see if if can find a cleaner way > fix it in the setConnection function

Re: [Imdbpy-help] AGAIN: sqlite3.ProgrammingError: You must not use 8-bit bytestrings

2011-01-25 Thread Davide Alberani
On Mon, Jan 24, 2011 at 8:43 PM, Petite Abeille wrote: > > > Not sure if it's the right way, but I added the following: > > connectObject.text_factory = str > > at line 518 of bin/imdbpy2sql.py Should do the trick; I'll see if if can find a cleaner way fix it in the setConnection function of the

Re: [Imdbpy-help] AGAIN: sqlite3.ProgrammingError: You must not use 8-bit bytestrings

2011-01-24 Thread Petite Abeille
On Jan 24, 2011, at 12:28 AM, Luis wrote: > Maybe > there is some other connection for sqlobject that needs the > text_factory=str fix. Not sure if it's the right way, but I added the following: connectObject.text_factory = str at line 518 of bin/imdbpy2sql.py So now it looks like this (lin

[Imdbpy-help] AGAIN: sqlite3.ProgrammingError: You must not use 8-bit bytestrings

2011-01-24 Thread Luis
Hi, I have just installed imdbpy for the first time and I am getting the same error reported in May only if I use the -o sqlobject parameter. Using -o sqlalchemy works with the sqlite:absolute_dir URI. Maybe there is some other connection for sqlobject that needs the text_factory=str fix. Rega