You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "A.G. van der Vlies" <an...@vandervlies.xs4all.nl> on 2003/04/21 14:12:43 UTC

Help..... (fwd)

---------- Forwarded message ----------
Date: Mon, 21 Apr 2003 16:07:50 +0200 (CEST)
From: A.G. van der Vlies <an...@vandervlies.xs4all.nl>
To: ....................................................
Subject: Help.....


Hello,
When I execute the following command:
	./cvs2svn.py -s /var/svn/repos1/ /var/cvs/Python/

I get this error:
	RESYNC: BackupOverview/os.py,v (1.1) : old time="Mon Sep  9
	19:50:10 2002" new time="Mon Sep  9 19:50:10 2002"
	----- pass 3 -----
	----- pass 4 -----
	python: subversion/libsvn_subr/path.c:148: svn_path_join:
	Assertion `is_canonical (base, blen)' failed.
	Aborted
	
Changing the command in:
	./cvs2svn.py -s /var/svn/repos1 /var/cvs/Python/
resulted in the following error:
	----- pass 4 -----
	committing: Thu Oct 28 21:59:23 1999, over 58 seconds
		changing 2.0 : /trunk/AdresGids/Toegestaan2A.html
	Traceback (most recent call last):
	  File "./cvs2svn.py", line 812, in ?
		main()
	  File "./cvs2svn.py", line 809, in main
		util.run_app(convert, ctx, start_pass=start_pass)
	  File "/usr/local/lib/svn-python/svn/util.py", line 38, in run_app
		return apply(func, (pool,) + args, kw)
	  File "./cvs2svn.py", line 737, in convert
		_passes[i](ctx)
	  File "./cvs2svn.py", line 694, in pass4
		c.commit(t_fs, ctx)
	  File "./cvs2svn.py", line 365, in commit
		make_path(fs, root, repos_path, f_pool)
	  File "./cvs2svn.py", line 217, in make_path
		if fs.check_path(root, parent_dir, f_pool) == util.svn_node_none:
	TypeError: svn_fs_check_path() takes exactly 4 arguments (3 given

Okay, so I changed line 210 of ./cvs2svn.py to:
	if fs.check_path(None, root, parent_dir, f_pool):
and I was presented the following error:
	----- pass 4 -----
	committing: Thu Oct 28 21:59:23 1999, over 58 seconds
		changing 2.0 : /trunk/AdresGids/Toegestaan2A.html
	Segmentation fault

Obviously I don't what I am doing.... Can one of you help me out?


Thanx in Advance,
--
			   Andre van der Vlies <an...@vandervlies.xs4all.nl>
			   Homepage: http://vandervlies.xs4all.nl/~andre
Key fingerprint =  39 7C 74 79 67 DB 93 06  23 DC B4 23 7B 58 CD 5A 6E FF 5C F8
--
	()  ascii ribbon campaign - against html e-mail
	/\                        - against microsoft attachments
--

Re: Help..... (fwd)

Posted by "A.G. van der Vlies" <an...@vandervlies.xs4all.nl>.
On 21 Apr 2003 kfogel@collab.net wrote:

> Is this with the HEAD of Subversion and cvs2svn.py and the swig/python
> bindings? :-)
> 
> I think this problem
> 
>   TypeError: svn_fs_check_path() takes exactly 4 arguments (3 given)
> 
> ...was fixed in revision 5608.  Please try that out and let us know.
> 
[vandervlies]cvs2svn> svn update
At revision 5685

Hmmm, seems I have the right revision....

--
			   Andre van der Vlies <an...@vandervlies.xs4all.nl>
			   Homepage: http://vandervlies.xs4all.nl/~andre
Key fingerprint =  39 7C 74 79 67 DB 93 06  23 DC B4 23 7B 58 CD 5A 6E FF 5C F8
--
	()  ascii ribbon campaign - against html e-mail
	/\                        - against microsoft attachments
--


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

Re: Help..... (fwd)

Posted by "A.G. van der Vlies" <an...@vandervlies.xs4all.nl>.
On 21 Apr 2003 kfogel@collab.net wrote:

> Is this with the HEAD of Subversion and cvs2svn.py and the swig/python
> bindings? :-)
> 
> I think this problem
> 
>   TypeError: svn_fs_check_path() takes exactly 4 arguments (3 given)
> 
> ...was fixed in revision 5608.  Please try that out and let us know.
> 

snif....

	[vandervlies]svn> pwd
	/borf/andre/src/svn
	[vandervlies]svn> svn up
	At revision 5697.
	make clean
	make
	make install
	make swig-py
	make install-swig-py

Still in trouble....

But....... Then I started looking around and noticed the access times
for lib/python2.2/site-packages/svn/.... hadn't changed....
Apparently I copied /usr/local/lib/svn-python/svn to
.../site-packages to get it going in the first place....

Thus, making a link (ln -s /usr/local/lib/svn-python/svn svn) solved
my problem.... ;-)


--
			   Andre van der Vlies <an...@vandervlies.xs4all.nl>
			   Homepage: http://vandervlies.xs4all.nl/~andre
Key fingerprint =  39 7C 74 79 67 DB 93 06  23 DC B4 23 7B 58 CD 5A 6E FF 5C F8
--
	()  ascii ribbon campaign - against html e-mail
	/\                        - against microsoft attachments
--


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

Re: Help..... (fwd)

Posted by kf...@collab.net.
Is this with the HEAD of Subversion and cvs2svn.py and the swig/python
bindings? :-)

I think this problem

  TypeError: svn_fs_check_path() takes exactly 4 arguments (3 given)

...was fixed in revision 5608.  Please try that out and let us know.

-Karl

"A.G. van der Vlies" <an...@vandervlies.xs4all.nl> writes:
> ---------- Forwarded message ----------
> Date: Mon, 21 Apr 2003 16:07:50 +0200 (CEST)
> From: A.G. van der Vlies <an...@vandervlies.xs4all.nl>
> To: ....................................................
> Subject: Help.....
> 
> 
> Hello,
> When I execute the following command:
> 	./cvs2svn.py -s /var/svn/repos1/ /var/cvs/Python/
> 
> I get this error:
> 	RESYNC: BackupOverview/os.py,v (1.1) : old time="Mon Sep  9
> 	19:50:10 2002" new time="Mon Sep  9 19:50:10 2002"
> 	----- pass 3 -----
> 	----- pass 4 -----
> 	python: subversion/libsvn_subr/path.c:148: svn_path_join:
> 	Assertion `is_canonical (base, blen)' failed.
> 	Aborted
> 	
> Changing the command in:
> 	./cvs2svn.py -s /var/svn/repos1 /var/cvs/Python/
> resulted in the following error:
> 	----- pass 4 -----
> 	committing: Thu Oct 28 21:59:23 1999, over 58 seconds
> 		changing 2.0 : /trunk/AdresGids/Toegestaan2A.html
> 	Traceback (most recent call last):
> 	  File "./cvs2svn.py", line 812, in ?
> 		main()
> 	  File "./cvs2svn.py", line 809, in main
> 		util.run_app(convert, ctx, start_pass=start_pass)
> 	  File "/usr/local/lib/svn-python/svn/util.py", line 38, in run_app
> 		return apply(func, (pool,) + args, kw)
> 	  File "./cvs2svn.py", line 737, in convert
> 		_passes[i](ctx)
> 	  File "./cvs2svn.py", line 694, in pass4
> 		c.commit(t_fs, ctx)
> 	  File "./cvs2svn.py", line 365, in commit
> 		make_path(fs, root, repos_path, f_pool)
> 	  File "./cvs2svn.py", line 217, in make_path
> 		if fs.check_path(root, parent_dir, f_pool) == util.svn_node_none:
> 	TypeError: svn_fs_check_path() takes exactly 4 arguments (3 given
> 
> Okay, so I changed line 210 of ./cvs2svn.py to:
> 	if fs.check_path(None, root, parent_dir, f_pool):
> and I was presented the following error:
> 	----- pass 4 -----
> 	committing: Thu Oct 28 21:59:23 1999, over 58 seconds
> 		changing 2.0 : /trunk/AdresGids/Toegestaan2A.html
> 	Segmentation fault
> 
> Obviously I don't what I am doing.... Can one of you help me out?
> 
> 
> Thanx in Advance,
> --
> 			   Andre van der Vlies <an...@vandervlies.xs4all.nl>
> 			   Homepage: http://vandervlies.xs4all.nl/~andre
> Key fingerprint =  39 7C 74 79 67 DB 93 06  23 DC B4 23 7B 58 CD 5A 6E FF 5C F8
> --
> 	()  ascii ribbon campaign - against html e-mail
> 	/\                        - against microsoft attachments
> --
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

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