Dirk Meyer wrote: > Jason Tackaberry wrote: >> On Wed, 2006-08-02 at 20:16 +0200, Dirk Meyer wrote: >>> > Can you add some code after this query in register_object_type_attrs() >>> > that does a SELECT * FROM types and outputs all the values? >>> >>> When I do _load_object_types just after the query it is already >>> broken. One other thing besides your new code changed here: I had to >>> switch from pysqlite 2.0.x to 2.3.1. >> >> Do 'SELECT * FROM types' after that query in >> register_object_type_attrs() and output each row. > > (1, u'dir', <read-write buffer ptr 0xb788b840, size 217 at 0xb788b820>, > <read-write buffer ptr 0xb7491db0, size 44 at 0xb7491d90>) > (2, None, None, None) > > | phex-> echo "select id,name from types;" | sqlite3 ~/.beacon/db > | 1|dir > | 2| > > There is now an empty row.
Now the "funny" part. I removed the usage of ObjectRow by just removing the parts where it is used. This means I can't do selects, but I crash before that. This not working. Go from pysqlite 2.3.1 to 2.2.2: crash. Go back to 2.0.5: works again (but crashes because I have no ObjectRow. Dischi -- This file will self-destruct in five minutes.
pgpYYHccTylwF.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
