[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cvs2svn dies with "dbm.error: cannot add item to database"

From: <kfogel_at_collab.net>
Date: 2003-06-28 00:54:37 CEST

"Johnson, Graham" <gjohnson@alpineaccess.com> writes:
> line 1178, in enroot_names
> self.db[parent_key] = marshal.dumps(parent)
> dbm.error: cannot add item to database
>
> I don't know much about dbm or Python, so I don't know what else to do.
> I believe Python is using ndbm.
>
> I did modify and rebuild Python, changing its dbmmodule.c so that it
> gave me a little more info about the failing call (to dbm_store), which
> changed the error message to:
>
> dbm.error: cannot add item to database in dbm_ass_sub; dbm_error
> returned 2
>
> I think this might be a "Block size error".
>
> Any ideas?

Wow. I have no idea what that might mean (other than, obviously, the
db couldn't add the item). If you can provide a sample repository on
which you can reliably reproduce this, then we can probably figure it
out. Can you do that, or does the data need to stay private?

If you can release it, don't post it here, just put it up at some URL
and post the URL.

Thanks,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 28 01:44:11 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.