Timothy N. Tsvetkov wrote:
>
> I have the same problem, I've installed pysqlite (2.5.5) from sources,
> and after I've removed it everything is ok.
>
> I've tried to install the last one because I had a common problem:
>
> ProgrammingError?: (ProgrammingError?) You must not use 8-bit
> bytestrings unless you use a text_factory that can interpret 8-bit
> bytestrings (like text_factory = str). It is highly recommended that
> you instead just switch your application to Unicode strings. u'INSERT
> INTO financialaccount (title, "order", "storedNumber", "parentId")
> VALUES (?, ?, ?, ?)' ['\xd0\xa2\xd0\xbe
> \xd0\xb2\xd0\xb0\xd1\x80\xd1\x8b', '000000041', '41', None]
>
> So I've removed my python25, than installed in again from ports
> (Darwin) and installed again from ports pysqlite... and hurra!!! No
> error with 8-bit bytesstrings. The fun was, that my pysqlite version
> was more then 2.1.3. %)

that one is unfortunately not a bug.   you have to pass only python
unicode objects to the recent versions of pysqlite.   i think the project
is getting a little out of control since its always worked great and i
dont see what all these new strictnesses are doing for anyone.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@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