Menu

#78 Logfile parsing failed.

closed-works-for-me
nobody
5
2008-04-29
2008-04-29
Mike Gist
No

./jdk1.6.0_06/bin/java -jar statsvn.jar -verbose -debug logfile.log planeshift/

Apr 29, 2008 2:43:29 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Parsing SVN log 'logfile.log' exclude pattern 'null'
FINE statsvn.util.JavaUtilTaskLogger log(): starting to parse...
Logfile parsing failed.
svn log: svn info: XML document structures must start and end within the same entity.

The logfile can be found here: http://www.xordan.com/svnps/logfile.log

Any ideas what's wrong? :/

Discussion

  • Jason Kealey

    Jason Kealey - 2008-04-29

    Logged In: YES
    user_id=1498924
    Originator: NO

    Run "svn info --xml ." in your working copy. The XML that can't be parsed is the svn info, not the log file.

     
  • Mike Gist

    Mike Gist - 2008-04-29

    Logged In: YES
    user_id=1476358
    Originator: YES

    <?xml version="1.0"?>
    <info>
    <entry
    kind="dir"
    path="."
    revision="1429">
    <url>http://planeshift.svn.sf.net/svnroot/planeshift/trunk</url>
    <repository>
    <root>http://planeshift.svn.sf.net/svnroot/planeshift</root>
    <uuid>2752fbe2-5038-0410-9d0a-88578062bcef</uuid>
    </repository>
    <wc-info>
    <schedule>normal</schedule>
    </wc-info>
    <commit
    revision="1429">
    <author>khakilord</author>
    <date>2008-04-29T17:03:58.365300Z</date>
    </commit>
    </entry>
    </info>

     
  • Jason Kealey

    Jason Kealey - 2008-04-29

    Logged In: YES
    user_id=1498924
    Originator: NO

    The only thing I can see here is either:
    a) something wrong with the network which truncates the svn info when it is loaded in our application.
    b) Something related to Java 1.6 (haven't tested on it myself) or any non-standard XML parsers you may have setup as default

     
  • Mike Gist

    Mike Gist - 2008-04-29

    Logged In: YES
    user_id=1476358
    Originator: YES

    Okay, I tried parsing on a different machine and it works (Java 1.6 still). It must just be something wrong with java on this machine.
    Thanks,

     
  • Mike Gist

    Mike Gist - 2008-04-29
    • status: open --> closed-fixed
     
  • Jason Kealey

    Jason Kealey - 2008-04-29
    • status: closed-fixed --> closed-works-for-me
     
  • Jason Kealey

    Jason Kealey - 2008-04-29

    Logged In: YES
    user_id=1498924
    Originator: NO

    Must be related to a non-standard SAX parser.

    Closing bug. Thanks!

     

Log in to post a comment.