You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stefan Haller <ha...@ableton.com> on 2004/02/23 13:06:36 UTC

cvs2svn failure

I'm trying to convert our cvs repository to svn.  The cvs reporitory is
about 780K.

I'm using the current cvs2svn from the dev trunk (revision 8811).  The
svn version is the dev trunk version from a couple of days ago.  I'm
running on Mac OS X 10.3.2, with BerkleyDB version 4.2.52.


Conversion fails in pass 4 while trying to load revision 1053:

Traceback (most recent call last):
  File "./cvs2svn.py", line 2739, in ?
    main()
  File "./cvs2svn.py", line 2735, in main
    convert(ctx, start_pass=start_pass)
  File "./cvs2svn.py", line 2572, in convert
    _passes[i](ctx)
  File "./cvs2svn.py", line 2495, in pass4
    c.commit(dumper, ctx, sym_tracker)
  File "./cvs2svn.py", line 2227, in commit
    sym_tracker.close_branches(svn_path, svn_rev, closed_branches)
  File "./cvs2svn.py", line 1682, in close_branches
    self.close_names(svn_path, svn_rev, branches,
self.br_closing_revs_key)
  File "./cvs2svn.py", line 1656, in close_names
    self.bump_rev_count(parent_key, svn_rev, closing_key)
  File "./cvs2svn.py", line 1593, in bump_rev_count
    self.db[item_key] = entry_val
  File "./cvs2svn.py", line 160, in __setitem__
    self.db[key] = marshal.dumps(value)
bsddb.error: (0, 'Error')


What can I do to narrow down the problem?


-- 
Stefan Haller
Ableton
http://www.ableton.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn failure

Posted by "Brian. W. Fitzpatrick" <fi...@red-bean.com>.
On Thu, 2004-02-26 at 09:25, Stefan Haller wrote:
> Following up to myself:
> 
> I have no idea how to go about narrowing down the problem to a smaller
> set of files.  Can anybody suggest things to try?

First, please take this thread over to the cvs2svn dev mailing list
(dev@cvs2svn.tigris.org) which is where we're trying to work on this
stuff right now.  

Second, can you post a link to where we can download one of the 18
modules that is failing?  If I can reproduce your bug, then I can work
on fixing it.

-Fitz

> The CVS repository consists of 89 top-level modules; I tried converting
> these separately one by one.  18 of these fail to convert, with error
> messages similar to this:
> 
> Traceback (most recent call last):
>   File "./cvs2svn.py", line 2739, in ?
>     main()
>   File "./cvs2svn.py", line 2735, in main
>     convert(ctx, start_pass=start_pass)
>   File "./cvs2svn.py", line 2572, in convert
>     _passes[i](ctx)
>   File "./cvs2svn.py", line 2495, in pass4
>     c.commit(dumper, ctx, sym_tracker)
>   File "./cvs2svn.py", line 2190, in commit
>     sym_tracker.enroot_branches(svn_path, svn_rev, branches)
>   File "./cvs2svn.py", line 1639, in enroot_branches
>     self.enroot_names(svn_path, svn_rev, branches,
> self.br_opening_revs_key)
>   File "./cvs2svn.py", line 1622, in enroot_names
>     this_entry_val = self.db[this_entry_key]
>   File "./cvs2svn.py", line 157, in __getitem__
>     return marshal.loads(self.db[key])
> KeyError: 8ba
> 
> Now I tried to convert the whole repository again, but deleted those 18
> directories first.  It still fails to convert, with the same stack trace
> as above.
> 
> Any suggestions how to proceed?
> 
> 
> Stefan Haller <ha...@ableton.com> wrote:
> 
> > I'm trying to convert our cvs repository to svn.  The cvs reporitory is
> > about 780K.
> > 
> > I'm using the current cvs2svn from the dev trunk (revision 8811).  The
> > svn version is the dev trunk version from a couple of days ago.  I'm
> > running on Mac OS X 10.3.2, with BerkleyDB version 4.2.52.
> > 
> > 
> > Conversion fails in pass 4 while trying to load revision 1053:
> > 
> > Traceback (most recent call last):
> >   File "./cvs2svn.py", line 2739, in ?
> >     main()
> >   File "./cvs2svn.py", line 2735, in main
> >     convert(ctx, start_pass=start_pass)
> >   File "./cvs2svn.py", line 2572, in convert
> >     _passes[i](ctx)
> >   File "./cvs2svn.py", line 2495, in pass4
> >     c.commit(dumper, ctx, sym_tracker)
> >   File "./cvs2svn.py", line 2227, in commit
> >     sym_tracker.close_branches(svn_path, svn_rev, closed_branches)
> >   File "./cvs2svn.py", line 1682, in close_branches
> >     self.close_names(svn_path, svn_rev, branches,
> > self.br_closing_revs_key)
> >   File "./cvs2svn.py", line 1656, in close_names
> >     self.bump_rev_count(parent_key, svn_rev, closing_key)
> >   File "./cvs2svn.py", line 1593, in bump_rev_count
> >     self.db[item_key] = entry_val
> >   File "./cvs2svn.py", line 160, in __setitem__
> >     self.db[key] = marshal.dumps(value)
> > bsddb.error: (0, 'Error')
> > 
> > 
> > What can I do to narrow down the problem?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn failure

Posted by Stefan Haller <ha...@ableton.com>.
Following up to myself:

I have no idea how to go about narrowing down the problem to a smaller
set of files.  Can anybody suggest things to try?

The CVS repository consists of 89 top-level modules; I tried converting
these separately one by one.  18 of these fail to convert, with error
messages similar to this:

Traceback (most recent call last):
  File "./cvs2svn.py", line 2739, in ?
    main()
  File "./cvs2svn.py", line 2735, in main
    convert(ctx, start_pass=start_pass)
  File "./cvs2svn.py", line 2572, in convert
    _passes[i](ctx)
  File "./cvs2svn.py", line 2495, in pass4
    c.commit(dumper, ctx, sym_tracker)
  File "./cvs2svn.py", line 2190, in commit
    sym_tracker.enroot_branches(svn_path, svn_rev, branches)
  File "./cvs2svn.py", line 1639, in enroot_branches
    self.enroot_names(svn_path, svn_rev, branches,
self.br_opening_revs_key)
  File "./cvs2svn.py", line 1622, in enroot_names
    this_entry_val = self.db[this_entry_key]
  File "./cvs2svn.py", line 157, in __getitem__
    return marshal.loads(self.db[key])
KeyError: 8ba

Now I tried to convert the whole repository again, but deleted those 18
directories first.  It still fails to convert, with the same stack trace
as above.

Any suggestions how to proceed?


Stefan Haller <ha...@ableton.com> wrote:

> I'm trying to convert our cvs repository to svn.  The cvs reporitory is
> about 780K.
> 
> I'm using the current cvs2svn from the dev trunk (revision 8811).  The
> svn version is the dev trunk version from a couple of days ago.  I'm
> running on Mac OS X 10.3.2, with BerkleyDB version 4.2.52.
> 
> 
> Conversion fails in pass 4 while trying to load revision 1053:
> 
> Traceback (most recent call last):
>   File "./cvs2svn.py", line 2739, in ?
>     main()
>   File "./cvs2svn.py", line 2735, in main
>     convert(ctx, start_pass=start_pass)
>   File "./cvs2svn.py", line 2572, in convert
>     _passes[i](ctx)
>   File "./cvs2svn.py", line 2495, in pass4
>     c.commit(dumper, ctx, sym_tracker)
>   File "./cvs2svn.py", line 2227, in commit
>     sym_tracker.close_branches(svn_path, svn_rev, closed_branches)
>   File "./cvs2svn.py", line 1682, in close_branches
>     self.close_names(svn_path, svn_rev, branches,
> self.br_closing_revs_key)
>   File "./cvs2svn.py", line 1656, in close_names
>     self.bump_rev_count(parent_key, svn_rev, closing_key)
>   File "./cvs2svn.py", line 1593, in bump_rev_count
>     self.db[item_key] = entry_val
>   File "./cvs2svn.py", line 160, in __setitem__
>     self.db[key] = marshal.dumps(value)
> bsddb.error: (0, 'Error')
> 
> 
> What can I do to narrow down the problem?


-- 
Stefan Haller
Ableton
http://www.ableton.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Subversion 1.0.0 released.

Posted by Stuart Robertson <do...@absolutesys.com>.
Thank you to the SVN developers for a truly superb piece of work.

I'm sold on SVN, and the company I work for has, after an 8-month pilot,
recently adopted SVN internally (company-wide!).

You guys can be truly proud of your work!  Congratulations and thanks.

Regards,
Stuart.


DISCLAIMER: This information is intended only for the person or entity to
which it is addressed and may contain private, confidential, proprietary
and/or privileged material and may be subject to confidentiality agreements.
Any review, retransmission, dissemination, or any other use of or taking of
any action in reliance upon this information, by persons or entities other
than the intended recipient, is prohibited. If you received this in error,
please contact the sender and delete the material from all storage media.

Absolute Systems (Pty) Ltd
Tel: +27 (0)11 784 0078
Fax: +27 (0)11 784 0148
Web: www.absolutesys.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org