[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: Johnson, Graham <gjohnson_at_alpineaccess.com>
Date: 2003-07-01 20:19:28 CEST

Below is the version info. This is Solaris 8; I suspect the dbm
implementation isn't as good as what cvs2svn is used to.

I tried last week to build Python using gdbm instead of ndbm, but I
don't think I did it right. It still failed, though slightly
differently (dbm_error returned 0 instead of 2). Do you know anything
about getting Python to use a different dbm implementation? Can it be
made to use Berkeley DB?

We do have a linux box here (RedHat 8), so I'm going to try to install
svn on that and try it there. I'll let you know how it goes.

1546 : ~/downloads/Unix/svn/tools/cvs2svn>grep LastChangedRevision
# $LastChangedRevision: 6360 $
1547 : ~/downloads/Unix/svn/tools/cvs2svn>python
Python 2.2.2 (#1, Jun 27 2003, 17:22:30)
[GCC 3.0.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.

Graham Johnson
-----Original Message-----
From: kfogel@collab.net [mailto:kfogel@collab.net] 
Sent: Tuesday, July 01, 2003 10:22 AM
To: Johnson, Graham
Cc: dev@subversion.tigris.org
Subject: Re: Cvs2svn dies with "dbm.error: cannot add item to database"
"Johnson, Graham" <gjohnson@alpineaccess.com> writes:
> Here is the URL for the files:
>    [ *** possibly private URL omitted *** ]
> Let me know if it fails for you -- if not, I might just have a bad dbm
> version or something like that.
What platform are you running cvs2svn.py on?  OS, exact version of
python, exact revision of cvs2svn, etc...
I'm asking because I couldn't reproduce the error:
   $ cvs2svn.py --create -s r bad_cvs2svn_repository
   [...no errors...]
   $ grep LastChangedRevision cvs2svn.py
   # $LastChangedRevision: 6381 $
   $ python
   Python 2.2.2 (#1, Feb 19 2003, 12:12:23) 
   [GCC 2.96 20000731 (Red Hat Linux 7.0)] on linux2
   Type "help", "copyright", "credits" or "license" for more
   >>> ^D
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 1 20:20:20 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.