Re: sqlite fetchall breacking because decoding.

2008-01-09 Thread Fredrik Lundh
tyoc wrote: The database is not corrupt, I mean Im sure if I do a C program for read and print the row, it will get it and just printit and not fail like this well, the database *is* corrupt, since sqlite3 (both the engine and the Python binding) expects you to use a supported encoding for

sqlite fetchall breacking because decoding.

2008-01-09 Thread tyoc
here is the snips that can reproduce my problem in the system Im working http://tyoc.nonlogic.org/darcsrepos/snip1.zip it is 2 files a sample db with 1 row and a py with 1 function for read that row The output I get is the following: -- Traceback

Re: sqlite fetchall breacking because decoding.

2008-01-09 Thread tyoc
well, the database *is* corrupt, since sqlite3 (both the engine and the Python binding) expects you to use a supported encoding for the data stored in the database: http://www.sqlite.org/datatype3.html http://docs.python.org/lib/node346.html Still like I said before, I have

Re: sqlite fetchall breacking because decoding.

2008-01-09 Thread Fredrik Lundh
tyoc wrote: well, the database *is* corrupt, since sqlite3 (both the engine and the Python binding) expects you to use a supported encoding for the data stored in the database: http://www.sqlite.org/datatype3.html http://docs.python.org/lib/node346.html Still like I said