|
Re: query: msg#00091python.db.psycopg.devel
Il giorno mar, 21/03/2006 alle 23.32 +1000, Timothy Smith ha scritto: > ok i've had some more time to play, and it's wierd, the above code > SHOULD work. from the python commandline i did something similar from > the python command line and it worked perfectly. it has to be the error > psycopg2.InterfaceError: can't encode unicode string to latin-1 which > prevents psycopg from quoting my queries properly. the question is how > do i fix it? i'm using python 2.4 and wxpython 2.6.2 in my application This resembles another similar problem that I never solved, related to wxPython. Can you please send me the shortest possible program that fails this way? (Including db schema, test data and everything else). Maybe with a failing program to analize I'd be able to fix this or at least understand what's happening. federico -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer fog-8fiUuRrzOP0dnm+yROfE0A@xxxxxxxxxxxxxxxx INIT.D Developer fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx There are 10 types of people in this world, those that understand binary, and those that don't. -- Michael Gittelsohn
Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx http://lists.initd.org/mailman/listinfo/psycopg |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: query: 00091, Timothy Smith |
|---|---|
| Previous by Thread: | Re: queryi: 00091, Timothy Smith |
| Next by Thread: | Re: query: 00091, Timothy Smith |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |