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

Re: cvs2svn change_path crash

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-09-10 19:36:12 CEST

>> Faller, Gyula wrote:
>>> I've watched subversion development a while, and now I
>>> installed the svn-0.29.0-setup.exe package and got the
>>> 0.29 source. I tried out the cvs2svn as a start for a
>>> large test repository. I runs a while and then crashes
>>> with this traceback:
>>> What could be the problem? I have searched the archives,
>>> but couldn't found any problem description or solution.
>>> ...
>>> Traceback (most recent call last):
>>> ...
>>> File "C:\PROGRA~1\SUBVER~1\cvs2svn\cvs2svn.py", line 677,
>>> in change_path
>>> self.nodes_db[parent_key] = marshal.dumps(parent)
>>> bsddb.error: (0, 'Error')

Max Bowsher wrote:
>> That's an odd error.
>>
>> How large is the repository? Would you be able to make it
>> available for download, so I could try to reproduce the crash?
>>
>> Which version of python are you using?

Faller, Gyula wrote:
> Thanks for the quick reply.
> Yes, it is an odd error. I tried on various (big) parts of the whole
> repository, and got the exactly same traceback on different files.
> But when I tried only on a small part of the repository containing the
> problematic files, it succeeds.
> The temporary file sizes:
>
> c:\Program Files\Subversion>dir cvs2svn*
...
> 2003. 09. 10. 15:32 39 298 048 cvs2svn-nodes.db

That's a fairly large database, but it should not be a problem.

> The repository size is 62,5 Mb. But it is impossible to give it, it is
> related to corporate data.

OK. I will see if I can work anything out by studying the bsddb module.

If not, maybe I can write a script to censor a cvs repository.

> The python version:
> ActivePython 2.2.1 Build 222 (ActiveState Corp.) based on
> Python 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)] on win32
>
> My operating system is WinXP.
>
> My command line was:
> c:\Program Files\Subversion>"C:\Program
Files\Subversion\cvs2svn\cvs2svn.py"
> -v --create -s c:\Development\SVNRepository C:\Development\CVSRepo-Test
>
> Is there any suggestions for trace messages to explore the problem?

Not yet. I'm going to see if I can find out more about "bsddb.error: (0,
'Error')". Then, I may have something for you to try.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 10 19:37:31 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.