UTF8: 0xc320*
Any ideas?
Thanks.
On Mon, May 2, 2011 at 9:32 PM, Davide Alberani
davide.alber...@gmail.comwrote:
On Mon, May 2, 2011 at 08:47, darklow dark...@gmail.com wrote:
Thank you for your patience and guiding through the tests, i really glad
we
finally found the problem and fixed
environment and do some installs by
myself, even if it doesn't require root access..
On Mon, Apr 25, 2011 at 1:19 AM, Davide Alberani
davide.alber...@gmail.comwrote:
On Sun, Apr 24, 2011 at 22:44, darklow dark...@gmail.com wrote:
Yes i can confirm - Script version 4.6 works perfectly on same
at 14:08, darklow dark...@gmail.com wrote:
Still no luck :/ maybe the problem is in some environmental variables or
settings, which on installed version are present, but running from source
are missing or incorrect?
Seems unlikely to me.
What about this, i printed out some variables:
print
, darklow dark...@gmail.com wrote:
There has never been any issues with our PostgresSQL database, we always
have used UTF-8 and are using this time.
I have tried plenty of scripts, workarounds so far, many decode().encode()
tries, but nothing helps, just gettings different errors by these.
I also
Still no luck :/ maybe the problem is in some environmental variables or
settings, which on installed version are present, but running from source
are missing or incorrect?
What about this, i printed out some variables:
print sys.stdout.encoding - UTF-8
print sys.stdin.encoding - UTF-8
print
On Sun, Apr 17, 2011 at 5:13 PM, Davide Alberani
davide.alber...@gmail.comwrote:
On Sun, Apr 17, 2011 at 14:04, darklow dark...@gmail.com wrote:
Updated this morning to latest data files, no change and unfortunately
this
fix also doesn't work.
Hmm... to debug a problem like this without
, in _toDB
CURS.executemany(self.sqlstr, self.converter(l))
psycopg2.DataError: invalid byte sequence for encoding UTF8: 0xc320
On Wed, Apr 13, 2011 at 11:56 PM, Davide Alberani davide.alber...@gmail.com
wrote:
On Mon, Apr 11, 2011 at 18:35, darklow dark...@gmail.com wrote:
File
, Apr 11, 2011 at 18:35, darklow dark...@gmail.com wrote:
File ./imdbpy2sql.py, line 1194, in _toDB
CURS.executemany(self.sqlstr, self.converter(l))
psycopg2.DataError: invalid byte sequence for encoding UTF8: 0xc320
HINT: This error can also happen if the byte sequence does not match
, darklow dark...@gmail.com wrote:
Since i am not familiar with python, maybe you could suggest some fast fix
so that scripts doesn't hangs?
Maybe this helps: In PHP we have perfeclty same error with encoding when
importing some wrong decoded data. When we have no control over data and we
cant all