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.


Dischi

-- 
"Ignore reality. There's nothing you can do about it." - Natalie
Imbruglia

Attachment: pgpRnZHcgzcOq.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

Reply via email to