Jason Tackaberry wrote:
> On Wed, 2006-08-02 at 16:18 +0200, Dirk Meyer wrote:
>> Looks like
>> 
>>         self._db_query("INSERT OR REPLACE INTO types VALUES(?, ?, ?, ?)", 
>>                        (cur_type_id, type_name, buffer(cPickle.dumps(attrs, 
>> 2)),
>>                         buffer(cPickle.dumps(indexes, 2))))
>> 
>> Before that, _load_object_types works, after that it crashes. The
>> values used here are None, 'file' and the two buffer objects.
>
> That can't be it, because type_name is 'file' and attrs and idx are
> buffer objects, but in your previous email when you outputted them they
> were all None.

Yes. I add 'file' and get None. Checking the db using sqlite on the
command line gives the same result. The first entry is 'dir', all
other added later are empty.

> So let me get this straight, when you do:
>
>    rm -rf ~/.beacon; beacon --start --fg
>
> Then you get this UnpicklingError?

Yes

> I can't reproduce this on either of my machines (fc4 and fc5) using a
> fresh kaa checkout.  I'm kinda mystified.

Maybe a bug with your ObjectRow code?


Dischi

-- 
I once thought I made a mistake, but I was wrong.

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