flexyz
March 30, 2017, 9:30am
1
Hi
When doing svn operations with the svn-proxy on. I can do full checkout directly on the apache2 URL/port, but does not work with the rhodecode proxy:
A game3_test2/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/Layouts/Tall.wlt
svn: E160013: ‘/game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__EditMode%20Test%20C%23%20Script%20(internal)-NewEditModeTest.cs.txt’ path not found
log:
cat /home/felix/.rccontrol/community-1/community.log | grep NewEditModeTest.cs
2017-03-30 09:09:56.471 INFO [rhodecode.lib.middleware.request_wrapper] IP: 192.168.183.160 Request to /game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__EditMode Test C# Script (internal)-NewEditModeTest.cs.txt time: 0.110s
[30/Mar/2017:09:09:56 +0000] GNCRN <2169> 192.168.183.160 rqt:0.216934 404 429 "GET:/game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__EditMode Test C# Script (internal)-NewEditModeTest.cs.txt " usr:felix “-” “SVN/1.9.4 (x86_64-pc-linux-gnu) serf/1.3.8”
works from browser directly to apache2:
http://192.168.183.160:8090/game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__EditMode%20Test%20C%23%20Script%20(internal)-NewEditModeTest.cs.txt
Any suggestions?
It’s a know issue with “#” characters in the path
https://issues.rhodecode.com/issues/4306
This fix will be in the next release, until then you can apply the patch from the ticket
flexyz
March 31, 2017, 5:54am
3
Thanks Marcin - where is the patch and how do I apply it?
Sorry it was in the ticket attached to the one i sent.
https://issues.rhodecode.com/issues/5227
flexyz
March 31, 2017, 11:40am
5
thanks I applied the patch, but fails with this file now:
svn: E160013: ‘/game3_test2/!svn/rvr/2497/branches/prototypes/JobExperiments/UnityEditor/Data/Resources/ScriptTemplates/83-Testing__PlayMode%20Test%20MonoBehaviour%20C%23%20Script%20(internal)-NewPlayModeTestMonoBehaviour.cs.txt’ path not found
apache2:
83-Testing__PlayMode Test MonoBehaviour C# Script (internal)-NewPlayModeTestMonoBehaviour.cs.txt
are you using the latest version of RhodeCode ?
Any chance for instructions how to reproduce this ?
Best
flexyz
April 1, 2017, 8:08am
7
Hi
I am running VERSION: 4.6.1, and not sure how to reproduce it, could the issue be in “simplesvn.py ”?
Thanks
Felix
flexyz
April 1, 2017, 9:05am
8
But it fails for all my files with “#” char in the filename
We’ll investigate this with given example path as your shown.
Best,
flexyz
April 3, 2017, 8:48am
10
Thanks let me know if I should test/do something
Felix
We tested a simple example file file c#.cs
and it works correctly with the PATCH applied.
And without this patch mentioned inside the ticket, we do get this:
/tmp # svn co http://admin@rc.dev:8080/svn-test
svn: E160013: '/svn-test/!svn/rvr/2/file%20c%23.cs' path not found
Did you restart the server AFTER the patch, and also removed the .pyc file ?
flexyz
April 3, 2017, 2:14pm
12
Yes I am sure I did a restart, here is what I did:
“patch simplesvn.py < patch.txt”
(can I uploads the file somehow?)
MD5 (/Users/felix/Downloads/simplesvn.py) = 52710a70fd8845affdc69cee60be23bf
It might be that the cached file is used, can you also remove a simplesvn.pyc from where you patched the file, and then restart ?
flexyz
April 3, 2017, 2:26pm
14
after remove og “.pyc” file and manual restart it seems to work! - thanks again