On Wed, July 30, 2008 04:20, [EMAIL PROTECTED] wrote:
>
> Amedee> Exception bsddb.db.DBAccessError: (13, 'Permission denied --
> Amedee> DB->put: attempt to modify a read-only database') in <bound
> Amedee> method HammieFilter.close of <__main__.HammieFilter object at
> Amedee> 0x2afabb1053d0>> ignored
>
> Can you open it and manipulate it from a Python session? For example:
>
> % python
> ...
> >>> import bsddb
> >>> db = bsddb.hashopen("/home/amedee/.hammiedb")
> >>> len(db.keys())
>
> Skip
>
>
Yes:
[EMAIL PROTECTED] { ~ }$ python
Python 2.4.4 (#2, Apr 16 2008, 17:58:59)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import bsddb
>>> db = bsddb.hashopen("/home/amedee/.hammiedb")
>>> len(db.keys())
222550
>>>
--
Amedee
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html