On Wed, Jun 07, 2006 at 01:41:49PM +0200, Ivan Horvath wrote: > >> if you need the code (main.py) i can send you for further process
Let me try to guess what is going on. "use_unicode" suggests you use MySQL, and I think you use fromDatabase=True. With this setup mysqlconnection.py constructs unicode column names instead of ascii. Hence more correct way would be to fix MySQLConnection.columnsFromSchema(), and not by using str(column.name) but by encoding them to ascii: column.name.encode("ascii"). Can you revert your patch and try this approach? Or I will later write the patch myself, but I cannot test it - I do not use MySQL. On the other hand more and more DB API drivers use unicode. Probably we'll see more errors like this. May be we should convert names from unicode to ascii in main.py, in addColumnsFromDatabase() method. Any opinion? Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss