> > Ok, now I'm *really* confused. It turns out the sales *are* going into
> > the database, even though it crashes the controller and gives me a
> > traceback. The record is in there just fine with data just as I would
> > expect. I get the exact same behaviour when I enter a record manually
> > through the tg shell too. If I enter it manually using an sql query on
> > the mysql command line, no problems. I'm sqlObject by the way.
> 
> FWIW if anyone is following this, I just dropped all the tables and
> rebuilt with tg-admin sql create in case there was a db migration
> problem, but am still getting the same traceback and the record is still
> going into the table without a problem. 

Posting in case this info is worth while for someone testing. I switched
servers to an Ubuntu machine, and now can confirm that indeed there is
something wrong regarding unicode with formencode/sqlobject and the
mysql and mysql python drivers that come on CentOS/RHEL 4.

I certainly can't figure out what it is, but thought perhaps there is
someway the warning can save someone frustration. Should this go on a
wiki somewhere?

Anyway, all is working again now on ubuntu dapper with mysql5. Code is
identical, so no idea what the deal was.
Iain

( well except that getting mod_rewrite to work on cent was easier, but
that's a whole different kettle of fish! )


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to