I have some code that is taking values out of one database (a MySQL
latin-1 database) and inserting them into another (postgres, utf-8)
database, and I can't for the life of me work out what is going wrong
here. The traceback looks slightly fishy, so I can only assume
something is going horribly wrong in C-land: http://dpaste.org/afO4/

So, from this, I guess the problem must be in psycopg2? The only thing
is that it actually works just fine on one of my machines, but on the
machine I need to run it on, it fails miserably.

I'm going slightly mad here trying to find a solution to this, but so
far nothing I've tried (short of an .encode('ascii', 'ignore') does
the trick.

Is this something anyone's seen before, or am I doing something
monumentally stupid?

Any help in tracking this down would be really appreciated… I'm
seriously going insane trying to fix this.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to