Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-16 Thread Joachim Selke
Davide Alberani wrote: If you find a way to make it work, let me know, please. I guess I found the problem. Let's have a look at your test case sqla.py again. If I change the lines for value in 'movie', 'tv series', 'tv movie', 'video movie', 'tv mini series', 'video game', 'episode':

Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-16 Thread Joachim Selke
Davide Alberani wrote: So... yes, it's probably a good idea to let the ibm_db developers know of this behavior. I just send a message to their mailing list. What if (just to do a fast test) you change this line of the setConnection function: params = {'encoding': encoding} to this one:

Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-16 Thread Davide Alberani
On Nov 16, Joachim Selke [EMAIL PROTECTED] wrote: params = {'encoding': encoding, 'convert_unicode': True} It does, great! :-) Thanks! I've committed it to the CVS (and removed the connection.set_autocommit call - I assume it's no more needed). I found another issue regarding the use of