https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-07-17T09:51:06ZRedmineRedmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=397792012-07-17T09:51:06ZSteffen B.
<ul></ul><p>Hi,</p>
<p>we have the same error also, if we try to access a "external" svn with username and password.</p>
<p>Redmine version 2.0.1.stable</p>
<p>snip ..<br /><code><br />Processing by RepositoriesController#show as HTML<br /> Parameters: {"id"=>"prj-0022"}<br />Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list><br />/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:28:in `parse'<br />/usr/lib/ruby/1.8/rexml/document.rb:228:in `build'<br /></code></p>
<p>and the end snip ...</p>
<p>@<br />No close tag for /lists/list<br />Line: 4<br />Position: 89<br />Last 80 unconsumed characters:</p>
<p>Output was:<br /> <?xml version="1.0"?><br /><lists><br /><list<br /> path="svn+ssh://192.168.x.xxx/home/svn/Prj-0022"></p>
<pre><code>Rendered common/error.html.erb within layouts/base (0.4ms)<br /> Rendered plugins/redmine_backlogs/app/views/hooks/_rb_include_scripts.html.erb (5.6ms)<br />Completed 404 Not Found in 220ms (Views: 51.6ms | ActiveRecord: 9.0ms)</code></pre>
<p>Started GET "/rb/server_variables.js" for 192.168.xxx.xxx at Tue Jul 17 11:37:14 +0200 2012<br />@</p>
<p>so, we get the same logoutput like Kimbro Staken, see here:</p>
<p><a class="external" href="http://www.redmine.org/boards/2/topics/31026">http://www.redmine.org/boards/2/topics/31026</a></p>
<p>What can we do?</p>
<p>Greeting <br />Steffen</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=400202012-07-28T15:35:05ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>Sorry, no support request here. Something prevents your redmine to call svn client correctly.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=401002012-07-31T20:33:18ZSteffen B.
<ul></ul><p>hmm, <br /><pre>
Something prevents your redmine to call svn client correctly.
</pre><br />"something" ... like a bug?<br />`<br />where is the place for bugs? here so i take a new ticket <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: cannot browse svn repository (Closed)" href="https://www.redmine.org/issues/11557">#11557</a></p>
<p>thanks for real help</p>
<p>greetings Steffen</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=401022012-07-31T21:22:40ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><blockquote>
<p>thanks for real help</p>
</blockquote>
<p>Sorry but we don't provide "help" here. Unless you're able to figure out what is going wrong with your svn access, I can't fix anything. Please, have a look at the similar issues: <a class="external" href="http://www.redmine.org/search?issues=1&q=%22No+close+tag+for%22">http://www.redmine.org/search?issues=1&q=%22No+close+tag+for%22</a></p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=401192012-08-01T08:11:06ZSteffen B.
<ul></ul><p>well if i have time, i will take a deeper look inside redmine again ... but this elementary function, a normal svn access must be work out of the box!!! i spent over 2 hours in this and get no solution ... we will see ...</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=405462012-08-24T22:47:00ZHomerun Homerun
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>svn+ssh problem .. <br />Project activity like revisions can be seen by correct svn+ssh setup and repository setup but browsing not working.<br />404 error "The entry or revision was not found in the repository." in project repository page</p>
<p>some env info :</p>
<p>cat /etc/debian_version<br />6.0.5</p>
<p>Used RubyForge tar.gz for installation and followed RedmineInstall quide<br />All did go as planned until attach existing svn repos....
**<br />ruby script/about</p>
<p>Environment:<br /> Redmine version 2.0.3.stable<br /> Ruby version 1.8.7 (i486-linux)<br /> Rails version 3.2.6<br /> Environment production<br /> Database adapter MySQL<br />Redmine plugins:<br /> no plugin installed
**</p>
<p>when start redmine and follow log/production.log file <br />this appears.
**<br />ruby script/rails server -d -e production</p>
<p>**script/rails:6:in `require'<br />script/rails:6<br />...<br />No close tag for /lists/list<br />Line: 4<br />Position: 81<br />Last 80 unconsumed characters:</p>
<p>Output was:<br /> <?xml version="1.0"?><br /><lists><br /><list<br /> path="svn+ssh://svn@localhost/test-repo">
**</p>
<pre><code>Rendered common/error.html.erb within layouts/base (2.2ms)<br />Completed 404 Not Found in 1310ms (Views: 90.7ms | ActiveRecord: 139.8ms)</code></pre>
<p>same as svn
**<br />svn list --xml svn+ssh://svn@localhost/test-repo<br /><?xml version="1.0"?><br /><lists><br /><list<br /> path="svn+ssh://svn@localhost/test-repo"><br /><entry<br /> kind="dir"><br /><name>branches</name><br /><commit<br /> revision="1"><br /><author>root</author><br /><date>2012-08-24T04:25:05.228443Z</date><br /></commit><br /></entry><br /><entry<br /> kind="dir"><br /><name>tags</name><br /><commit<br /> revision="1"><br /><author>root</author><br /><date>2012-08-24T04:25:05.228443Z</date><br /></commit><br /></entry><br /><entry<br /> kind="dir"><br /><name>trunk</name><br /><commit<br /> revision="2"><br /><author>svn</author><br /><date>2012-08-24T19:39:22.084370Z</date><br /></commit><br /></entry><br /></list><br /></lists>
**</p>
<p>scanned a bit more and found lines from log
**<br />Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list><br />/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:28:in `parse'<br />/usr/lib/ruby/1.8/rexml/document.rb:228:in `build'<br />/usr/lib/ruby/1.8/rexml/document.rb:43:in `initialize'
**</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=405482012-08-25T02:45:42ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>It is obviously your ssh setting problem.<br />Please do not open issue for unrelated problem.<br />Please use forum.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420402012-10-16T08:09:44ZSteffen B.
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p><a class="user active" href="https://www.redmine.org/users/1533">samir djouadi</a> Team:</p>
<p>i think this error happens very often ... so this is not a svn config problem, i think the redmine setup routine goes wrong ways. it is realy "not good" if redmine admins (mostly also developers) spent hours or days to solve this stupid problem ... take a look inside the forum and search for :</p>
<p>"Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list>"</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420432012-10-16T08:39:22ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Steffen B. wrote:</p>
<blockquote>
<p><a class="user active" href="https://www.redmine.org/users/1533">samir djouadi</a> Team:</p>
<p>i think this error happens very often ... so this is not a svn config problem, i think the redmine setup routine goes wrong ways. it is realy "not good" if redmine admins (mostly also developers) spent hours or days to solve this stupid problem ... take a look inside the forum and search for :</p>
<p>"Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list>"</p>
</blockquote>
<p>You can add or edit wikis on Redmine.org.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420442012-10-16T09:11:55ZSteffen B.
<ul></ul><p>... if i have a solution i can do this.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420452012-10-16T09:19:34ZSteffen B.
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>why use redmine not the defined svn users: it seems that redmine use the www-data user for a svm connect and not the defined logindata</p>
<p>Could not create directory '/var/www/.ssh'.<br />Host key verification failed.<br />svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.<br />svn: Network connection closed unexpectedly<br />Could not create directory '/var/www/.ssh'.<br />Host key verification failed.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420462012-10-16T09:28:21ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Steffen B. wrote:</p>
<blockquote>
<p>why use redmine not the defined svn users: it seems that redmine use the www-data user for a svm connect and not the defined logindata</p>
</blockquote>
<p>It depends on Web server.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420472012-10-16T09:40:52ZSteffen B.
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>its a ... game here ... why check this not the redmine install routine, because webmine USE this Webserver? So this is a misleading "function" from redmine : you can paste user and password data for a svn acess and further this data will be not used ???</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420492012-10-16T09:50:14ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Steffen B. wrote:</p>
<blockquote>
<p>its a ... game here ... why check this not the redmine install routine, because webmine USE this Webserver? So this is a misleading "function" from redmine : you can paste user and password data for a svn acess and further this data will be not used ???</p>
</blockquote>
<p>Please use forum for topics of specific platform.</p>
<p>Redmine is Rails application working on multi platforms and Web servers (apache etc.).</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420512012-10-16T10:20:23ZSteffen B.
<ul></ul><p>the crazy thing is that the cvs access to a external server is working .. but this wicked redmine - svn access doesnt work ... I mean that this preconditions must be checked by the redmine install</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420772012-10-17T09:48:45ZSteffen B.
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p><strong>Hello redmine Folks:</strong> this is a Defect because Redmine has here a misleading function: the user and password data ar total obsolete - senseless. So make please :-) this function correct and consistent</p>
<p>see here: <a class="external" href="http://www.redmine.org/boards/2/topics/28422?r=32903#message-32903">http://www.redmine.org/boards/2/topics/28422?r=32903#message-32903</a></p>
<p><strong>only the webserver process user is finally the user for the remote svn access.</strong></p>
<p>This defect waste to much time, please understand ...</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420802012-10-17T10:13:44ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>What is Redmine defect?</p>
<p>The answer is written in this message.<br /><a class="external" href="http://www.redmine.org/boards/2/topics/28422?r=32903#message-32903">http://www.redmine.org/boards/2/topics/28422?r=32903#message-32903</a></p>
<p>You need to set ssh config to web server process UID.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420812012-10-17T10:18:16ZRadek Antoniuk
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Toshi, you are joking right? Please stop closing this issue as it has a <strong>MAJOR</strong> influence on subversion integration of Redmine.<br />This <strong>IS AN ISSUE</strong> and as you are part of the devteam you have to fix the documentation and <strong>NOT</strong> point people to forum threads.<br />If so many people have problems with that, then maybe it is worth doing a comment <strong>on the configuration page</strong> because this is clearly misleading!</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420822012-10-17T10:23:38ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>There is a wiki.<br /><a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Error_parsing_svn_output">Error_parsing_svn_output</a></p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420832012-10-17T10:38:51ZToshi MARUYAMA
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>There is a wiki.<br /><a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Error_parsing_svn_output">Error_parsing_svn_output</a></p>
</blockquote>
<p>I have updated this wiki.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=420992012-10-17T12:21:38ZSteffen B.
<ul></ul><p><a class="user active" href="https://www.redmine.org/users/12765">Radek Antoniuk</a>: thanks for your support at this issue "game" ...</p>
<p><a class="user active" href="https://www.redmine.org/users/10651">toshio harita</a>. thanks,... later, i will report my result here</p>
<p><a class="user active" href="https://www.redmine.org/users/1533">samir djouadi</a> folks : please read reports better, we spent time to this description ...</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=427182012-11-08T16:51:22ZPierre Labrie
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>There is a wiki.<br /><a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Error_parsing_svn_output">Error_parsing_svn_output</a></p>
</blockquote>
<p>I have updated this wiki.</p>
</blockquote>
<p>Pierre Labrie wrote:<br />I have updated the wiki for windows users. It took me 2 days to figure out the problem of the certificate aceeptation.</p>
<p>Redmine code in <code>scm\adapter\abstact_adapter.rb</code>** should trap connection errors and should not relies on <code>No close tag for /lists/list></code> to inform us of this problem. The stderr is captured in a log when running in dev environment but not very useful in production.</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=490632013-05-03T18:01:30ZTulio Goncalves
<ul></ul><p>I had the same problem but I discovered that the svn's ssl certificate was expired. I created another one and executed the svn list command as the user that executes Thin server to accept the certificate permanently. Everything is OK now! :)</p> Redmine - Defect #11318: cannot browse svn repositoryhttps://www.redmine.org/issues/11318?journal_id=796632017-07-03T12:10:00ZAleksandar Pavic
<ul></ul><p>I absolutley agree with this:</p>
<p><cite>Redmine code in scm\adapter\abstact_adapter.rb** should trap connection errors and should not relies on No close tag for /lists/list> to inform us of this problem. The stderr is captured in a log when running in dev environment but not very useful in production.</cite></p>
<p>Same error occurs if your svn is not visible thru DNS, my DNS was public instead of private...</p>
<p>Trap SVN/repo problems and display error message to user.</p>