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

Re: cvs2svn.py: RuntimeError: Attempted to get textual contents of a *non*-file node.

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2002-10-31 09:08:12 CET

On Wed, Oct 30, 2002 at 09:24:30PM +0200, Jani Averbach wrote:
>
> Hi!
>
> I converted 6 cvs repo to svn and everything was fine, until I tried
> 7th:

I get an identical traceback trying to convert a CVS repository.

The last few lines before the traceback look like this for me:
    new revision: 420
committing: Fri Sep 8 17:07:32 2000, over 3 seconds
    changing 1.2 : /trunk/UCT/domain/dataflow/imap-migration/IMAP
    changing 1.2 : /trunk/UCT/domain/dataflow/imap-migration/IMAPClient.pm
    changing 1.2 : /trunk/UCT/domain/dataflow/imap-migration/LIBEAY32.DLL
    changing 1.2 : /trunk/UCT/domain/dataflow/imap-migration/LIBSSL32.DLL
    changing 1.1 : /trunk/UCT/domain/dataflow/imap-migration/testdata/DistributionLists.ldif
    changing 1.2 : /trunk/UCT/domain/dataflow/imap-migration/convertall.pl
    changing 1.2 : /trunk/UCT/domain/dataflow/imap-migration/testdata/DESKTOP.PM0
    changing 1.1 : /trunk/UCT/domain/dataflow/imap-migration/testdata

i.e. it also seems to have something to do with a directory, but since
over 400 revisions had already been committed, I don't know why it chose
that point to die.

> committing: Thu May 17 16:11:48 2001, over 0 seconds
> changing 1.1 : /trunk/jpe/
> making dir: /trunk/jpe
> Traceback (most recent call last):
> File "./cvs2svn.py", line 854, in ?
> main()
> File "./cvs2svn.py", line 851, in main
> util.run_app(convert, ctx, start_pass=start_pass)
> File "/opt/svn/3575/lib/python2.1/site-packages/svn/util.py", line 38,
> in run_app
> return apply(func, (pool,) + args, kw)
> File "./cvs2svn.py", line 784, in convert
> _passes[i](ctx)
> File "./cvs2svn.py", line 741, in pass4
> c.commit(t_fs, ctx)
> File "./cvs2svn.py", line 430, in commit
> handler, baton = fs.apply_textdelta(root, repos_path, f_pool)
> RuntimeError: Attempted to get textual contents of a *non*-file node.
>
> Any idea what went wrong?

I have not done any investigating yet, since, although I was using an up
to date cvs2svn.py along with Marko's latest patch that was sent to the
list, I was not using an up to date Subversion installation, so I was
going to try that first before anything else. I've not had a chance to
do that yet, though.

> svn is 3575 with swig-1.3.16 bindings, python is 2.1.2, and cvs2svn.py is

I can't remember what revision of Subversion it is that I was using, but
it's version 0.14.3 compiled on Sep 24 2002.

Python version 2.2.1.

> patched with this patch:

> --- ../cvs2svn/cvs2svn/cvs2svn.py 2002-10-28 06:58:47.000000000 +0100
> +++ cvs2svn.py 2002-10-28 07:05:23.000000000 +0100

I assume you're referring to Marko's latest patch that was sent to the
list.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 31 09:09:11 2002

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.