A shelve error: any ideas?

Changjune Kim juneaftn at REMOVETHIShanmail.net
Thu Oct 31 15:38:46 EST 2002


bsddb shipped with the standard distribution is outdated and fragile. Have
a look at http://pybsddb.sourceforge.net/

"TuxTrax" <TuxTrax at fortress.tuxnet.net> wrote in message
news:slrnas1rbg.e4j.TuxTrax at fortress.tuxnet...
> Hi all. Still working on that database program that downloads all
> available headers from the server into a shelve file. I got this
> cryptic error, during a download of those headers. I had downloaded
25,246
> full headers, and the routine was starting on 25,247, when it crashed for
> an unknown (to me) reason, apparently having something to do with an
error
> internal to the shelve module. The file it was creating is:
>
> -rw-r--r--    1 mat      mat      90058752 Oct 30 15:01 HH.database
>
> and was not corrupted. I could access it just fine.
>
> the screen had this on it when I came back to check on the output:
>
> Creating database entry 25246 out of 27694
> Traceback (most recent call last):
>   File "head.py", line 401, in ?
>     database[id] = list
>   File "/usr/lib/python2.0/shelve.py", line 76, in __setitem__
>     self.dict[key] = f.getvalue()
> bsddb.error: (0, 'Error')
>
> [mat at fortress]$
>
> Any ideas what this error means?
>
> Cheers,
>
> Mathew
>
> --
> I am Microsoft Free. Operating_System: Mandrake Linux 8.0 kernel 2.4.3-20
>
> Yes, I am a Penguin cult high priest. Flipper readings upon request.
>
> ROT13 this email address to mail me:
> bar jbeq abg guerr - uvtu qrfreg zna, ng lnubb qbg pbz
>




More information about the Python-list mailing list