[WebSVN] XML error: no element found

View: New views
2 Messages — Rating Filter:   Alert me  

[WebSVN] XML error: no element found

by webpost :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am using;
WebSVN version 2.2.1
SVN version 1.4.6

All seems to work well, I can access repositories and view code.

However if I click on 'blame' for some files instead of the usual source code with names beside each line I get a blank page.

Looking at the http logs I see the following error message;

[client 192.168.6.180] XML error: no element found (3) at line 3 column 0 byte 28\ncmd: svn --non-interactive --config-dir /tmp log --xml --verbose -r11181:11181 --limit 1  'file:///svn/centra/branches/CAS_148_A/makefile@11181', referer: http://svn/filedetails.php?repname=Centra&path=%2Fbranches%2FCAS_148_A%2Fmakefile

The revision number 11181 isn't correct so I think this is why the command is failing.
If I run the command from terminal I get;

<?xml version="1.0"?>
<log>
svn: File not found: revision 11181, path '/branches/CAS_153_A/makefile'


If I replace this 11181 with the current revision number 34490 and run the command manually from terminal it returns output

Can anyone point me in the direction of a solution?

Thanks,
David

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2395605

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

Re: [WebSVN] XML error: no element found

by Quinn Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

WebSVN 2.2.1 has imperfect handling of operative and peg revisions — the @11181 in your command indicates a peg revision, and removing it should help. The upcoming 2.3.0 release should address most such issues. David, if you're still on the list, try giving the trunk version a shot to see if it solves your problem.

Cheers,
 - Quinn

On Sep 16, 2009, at 8:12 AM, webpost@... wrote:

> Hi,
>
> I am using;
> WebSVN version 2.2.1
> SVN version 1.4.6
>
> All seems to work well, I can access repositories and view code.
>
> However if I click on 'blame' for some files instead of the usual source code with names beside each line I get a blank page.
>
> Looking at the http logs I see the following error message;
>
> [client 192.168.6.180] XML error: no element found (3) at line 3 column 0 byte 28\ncmd: svn --non-interactive --config-dir /tmp log --xml --verbose -r11181:11181 --limit 1  'file:///svn/centra/branches/CAS_148_A/makefile@11181', referer: http://svn/filedetails.php?repname=Centra&path=%2Fbranches%2FCAS_148_A%2Fmakefile
>
> The revision number 11181 isn't correct so I think this is why the command is failing.
> If I run the command from terminal I get;
>
> <?xml version="1.0"?>
> <log>
> svn: File not found: revision 11181, path '/branches/CAS_153_A/makefile'
>
>
> If I replace this 11181 with the current revision number 34490 and run the command manually from terminal it returns output
>
> Can anyone point me in the direction of a solution?
>
> Thanks,
> David
>
> ------------------------------------------------------
> http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2395605
>
> To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].
------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2427156

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

smime.p7s (4K) Download Attachment