<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/statsvn/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/statsvn/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/statsvn/bugs/</id><updated>2022-09-22T20:08:29.776000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#109 "Subversion binary is incorrect version. Found: 1.10.0, required: 1.3.0 Updating"</title><link href="https://sourceforge.net/p/statsvn/bugs/109/?limit=25#f4b7" rel="alternate"/><published>2022-09-22T20:08:29.776000Z</published><updated>2022-09-22T20:08:29.776000Z</updated><author><name>John Miller</name><uri>https://sourceforge.net/u/jwmillerx1/</uri></author><id>https://sourceforge.net0847e9de764d299ccf3bfc36c511824889b05ede</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Any movement on this or is this code dead?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#109 "Subversion binary is incorrect version. Found: 1.10.0, required: 1.3.0 Updating"</title><link href="https://sourceforge.net/p/statsvn/bugs/109/?limit=25#72b9" rel="alternate"/><published>2019-01-02T11:27:25.623000Z</published><updated>2019-01-02T11:27:25.623000Z</updated><author><name>Paul Douglas</name><uri>https://sourceforge.net/u/pauldouglas/</uri></author><id>https://sourceforge.net59fabd66bffdda86805a5cb101722a5667f80a89</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please keep me posted as to when this makes it into a formal release&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>"Subversion binary is incorrect version. Found: 1.10.0, required: 1.3.0 Updating"</title><link href="https://sourceforge.net/p/statsvn/bugs/109/" rel="alternate"/><published>2018-09-14T19:58:45.351000Z</published><updated>2018-09-14T19:58:45.351000Z</updated><author><name>Gabriel Rocha</name><uri>https://sourceforge.net/u/gsrocha97/</uri></author><id>https://sourceforge.net4874775a6083812a22f6890edcbe17d68683500d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I try to run statsvn, it returns an error message:&lt;/p&gt;
&lt;p&gt;"nt.sf.statsvn.util.JavaUtilTaskLogger error"&lt;br/&gt;
"Subversion binary is incorrect version. Found: 1.10.2, required: 1.3.0"&lt;/p&gt;
&lt;p&gt;Considering that the version 1.10.2 actually is greater than 1.3.0, I can conclude that it is a comparsion bug. Looking in the source code, the class "SvnStartupUtils" uses a simple string comparsion to handle the required version. It used to work fine for the older versions, but any version greater than 1.10 will be wrongly denied in the comparsion.&lt;br/&gt;
To fix it, I used the ComparableVersion class from "maven-artifact". Using the class I handled with the comparsion and effectively run the statsvn with no problems.&lt;/p&gt;
&lt;p&gt;The .jar file of maven-artifact can be found here: &lt;a href="https://mvnrepository.com/artifact/org.apache.maven/maven-artifact/3.5.4" rel="nofollow"&gt;https://mvnrepository.com/artifact/org.apache.maven/maven-artifact/3.5.4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The new SvnStartupUtils class is attached bellow. Adding the maven-artifact .jar file to the project, updating the "SvnStartupUtils" class and compiling the project shall resolve the issue.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>StatSVN say "Subversion binary is incorrect version. Found: 1.10.0, required: 1.3.0 Updating"</title><link href="https://sourceforge.net/p/statsvn/bugs/108/" rel="alternate"/><published>2018-06-25T02:31:35.135000Z</published><updated>2018-06-25T02:31:35.135000Z</updated><author><name>Kensaku MASUDA</name><uri>https://sourceforge.net/u/kmasuda1970/</uri></author><id>https://sourceforge.net15f34a5bfb6774fb3c7ddda933d78cfe1f464ff8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi mainteners, I met a bug that statsvn say&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;"Subversion binary is incorrect version. Found: 1.10.0, required: 1.3.0 Updating"
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;So, SvnStartupUtils#checkSvnVersionSufficient() compare/execute&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;if (versionString.compareTo(SVN_MINIMUM_VERSION) &amp;gt;= 0)
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;It look not good.&lt;br/&gt;
And I think this code will modify into following patche.&lt;/p&gt;
&lt;p&gt;--- src/net/sf/statsvn/util/SvnStartupUtils.java.orig   2018-06-25 10:35:11.895337000 +0900&lt;br/&gt;
+++ src/net/sf/statsvn/util/SvnStartupUtils.java    2018-06-25 11:00:44.722623000 +0900&lt;br/&gt;
@@ -26,6 +26,9 @@&lt;br/&gt;
    private static final String SVN_VERSION_LINE_PATTERN = ".&lt;em&gt; &lt;span&gt;&lt;span&gt;[0-9]&lt;/span&gt;&lt;/span&gt;+\.&lt;span&gt;&lt;span&gt;[0-9]&lt;/span&gt;&lt;/span&gt;+\.&lt;span&gt;&lt;span&gt;[0-9]&lt;/span&gt;&lt;/span&gt;+.&lt;/em&gt;";&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;private static final String SVN_VERSION_PATTERN = "[0-9]+\\.[0-9]+\\.[0-9]+";
&lt;/pre&gt;&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;private static final int SVN_MINIMUM_MAJOR_VERSION = 1;&lt;/li&gt;
&lt;li&gt;private static final int SVN_MINIMUM_MINOR_VERSION = 3;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;private static final int SVN_MINIMUM_REVISION_VERSION = 0;&lt;/p&gt;
&lt;p&gt;protected ISvnProcessor processor;&lt;br/&gt;
@@ -62,7 +65,10 @@&lt;br/&gt;
                    final String versionString = line.substring(m.start(), m.end());&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;                // we perform a simple string comparison against the version numbers
&lt;/pre&gt;&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;if (versionString.compareTo(SVN_MINIMUM_VERSION) &amp;gt;= 0) {&lt;/li&gt;
&lt;li&gt;final int[] version = parseVersionNumber(versionString);&lt;/li&gt;
&lt;li&gt;if (version&lt;span&gt;[0]&lt;/span&gt; &amp;gt;= SVN_MINIMUM_MAJOR_VERSION &amp;amp;&amp;amp;&lt;/li&gt;
&lt;li&gt;version&lt;span&gt;[1]&lt;/span&gt; &amp;gt;= SVN_MINIMUM_MINOR_VERSION &amp;amp;&amp;amp;&lt;/li&gt;
&lt;li&gt;version&lt;span&gt;[2]&lt;/span&gt; &amp;gt;= SVN_MINIMUM_REVISION_VERSION) {&lt;br/&gt;
                        return versionString; // success&lt;br/&gt;
                    } else {&lt;br/&gt;
                        throw new SvnVersionMismatchException(versionString, SVN_MINIMUM_VERSION);&lt;br/&gt;
@@ -98,4 +104,25 @@&lt;br/&gt;
    // we perform a simple string comparison against the version numbers&lt;br/&gt;
    return version.compareTo(SVN_MINIMUM_VERSION_DIFF_PER_REV) &amp;gt;= 0;&lt;br/&gt;
}&lt;br/&gt;
+&lt;/li&gt;
&lt;li&gt;/**&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;Get integer version array from version string.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;@param versionString&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;@return&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;triple of version number &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;@exception SvnVersionMismatchException&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;**/&lt;/li&gt;
&lt;li&gt;static int[] parseVersionNumber(final String versionString) throws SvnVersionMismatchException {&lt;/li&gt;
&lt;li&gt;final String[] versionNumberStrings = versionString.split("\.");&lt;br/&gt;
+&lt;/li&gt;
&lt;li&gt;if(versionNumberStrings.length == 3) {&lt;/li&gt;
&lt;li&gt;int[] version = new int&lt;span&gt;[3]&lt;/span&gt;;&lt;/li&gt;
&lt;li&gt;for(int i = 0 ; i &amp;lt; 3 ; i++) {&lt;/li&gt;
&lt;li&gt;version&lt;span&gt;[i]&lt;/span&gt; = Integer.parseInt(versionNumberStrings&lt;span&gt;[i]&lt;/span&gt;, 10);&lt;/li&gt;
&lt;li&gt;}&lt;/li&gt;
&lt;li&gt;return version;&lt;/li&gt;
&lt;li&gt;} else {&lt;/li&gt;
&lt;li&gt;throw new SvnVersionMismatchException(versionString, SVN_MINIMUM_VERSION);&lt;/li&gt;
&lt;li&gt;}&lt;/li&gt;
&lt;li&gt;}&lt;br/&gt;
 }&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>Error: "Invalid svn info xml"</title><link href="https://sourceforge.net/p/statsvn/bugs/107/" rel="alternate"/><published>2013-07-25T19:37:47.131000Z</published><updated>2013-07-25T19:37:47.131000Z</updated><author><name>Erik Aronesty</name><uri>https://sourceforge.net/u/earonesty/</uri></author><id>https://sourceforge.net15361466a50ff8c7afe1ac42db9fee7c597d0ce5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes, I used -verbose, but parser still fails.&lt;/p&gt;
&lt;p&gt;svn log --verbose --xml &amp;gt;  ~/svn.log&lt;/p&gt;
&lt;p&gt;INFO: StatSVN - SVN statistics generation&lt;/p&gt;
&lt;p&gt;Parsing SVN log '/home/earonesty/svn.log'No exclude pattern&lt;br /&gt;
Logfile parsing failed.&lt;br /&gt;
svn log: svn info: Invalid svn info xml; unable to find revision or url for path &lt;span&gt;[.]&lt;/span&gt; revision=null url:svn+ssh://ea-pipeline.expressionanalysis.local/var/svn/opt kind:dir&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Line count way off</title><link href="https://sourceforge.net/p/statsvn/bugs/106/" rel="alternate"/><published>2012-11-20T00:02:43Z</published><updated>2012-11-20T00:02:43Z</updated><author><name>Tech Magos</name><uri>https://sourceforge.net/u/technomagos/</uri></author><id>https://sourceforge.net9f293f1ec10ce4f74414f605b70ad3350a8047ec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Line count seems to take into account files files in the *exclusion* list, for when running with exclude.&lt;br /&gt;
It seems to be confused by svn commits, which modify/add files *both* in the included paths and in the excluded paths; the lines for the excluded  files are also added.&lt;/p&gt;
&lt;p&gt;Any chance this can be fixed? Or is this project dev dead now?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>bad encoding of viewvc links...</title><link href="https://sourceforge.net/p/statsvn/bugs/105/" rel="alternate"/><published>2011-09-22T10:44:08Z</published><updated>2011-09-22T10:44:08Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net61d8cf9dcb02d7d1c558c94c70e12001cfc37ab0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;we run statsvn 0.5 on Ubuntu 10.04LTS with the command:&lt;/p&gt;
&lt;p&gt;statsvn -output-dir $OUTDIR -title ROOT \
-viewvc "http://root.cern.ch/viewvc/trunk" -threads 5 \
-exclude 'roofit/**;roofitcore/**' \
/user/httpd/root/lxr/data/root/svn.log /user/httpd/root/lxr/data/root&lt;/p&gt;
&lt;p&gt;and we get in:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://root.cern.ch/statsvn/2011-07.html" rel="nofollow"&gt;http://root.cern.ch/statsvn/2011-07.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;links like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://root.cern.ch/statsvn/http%3A%2F%2Froot.cern.ch%2Fviewvc%2Ftrunk%2Fbindings%2Fpyroot%2Fsrc%2FConverters.cxx%3Fr1%3D39349%26amp%3Br2%3D40403" rel="nofollow"&gt;http://root.cern.ch/statsvn/http%3A%2F%2Froot.cern.ch%2Fviewvc%2Ftrunk%2Fbindings%2Fpyroot%2Fsrc%2FConverters.cxx%3Fr1%3D39349%26amp%3Br2%3D40403&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This seems to be the same issue as here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://statsvn.1260.n2.nabble.com/statsvn-Bugs-2797222-bad-encoding-of-viewvc-link-td4202026.html" rel="nofollow"&gt;http://statsvn.1260.n2.nabble.com/statsvn-Bugs-2797222-bad-encoding-of-viewvc-link-td4202026.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Would this be fixed by using the -charset statsvn option? If not what can be done?&lt;/p&gt;
&lt;p&gt;Cheers, Fons.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fails with SVN logs with full merge history</title><link href="https://sourceforge.net/p/statsvn/bugs/104/" rel="alternate"/><published>2010-11-26T18:34:23Z</published><updated>2010-11-26T18:34:23Z</updated><author><name>Paul Martin</name><uri>https://sourceforge.net/u/prmartinuk/</uri></author><id>https://sourceforge.net1247361fd86ede4afc63cbdaece95b00eb8d3de1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you create the SVN logs with the full merge history ("-g" or "--use-merge-history") then StatSvn fails to parse the log file.&lt;/p&gt;
&lt;p&gt;The problem seems to be that the full merge history creates nested "logentrry" nodes which contain the history from the merging &lt;br /&gt;
e.g.&lt;br /&gt;
....&lt;br /&gt;
&amp;lt;logentry revision="999"&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;msg&amp;gt;I merge in my changes from another branch&amp;lt;/msg&amp;gt;&lt;br /&gt;
&amp;lt;logentry revision="995"&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;msg&amp;gt;A change I made on the other branch&amp;lt;/msg&amp;gt;&lt;br /&gt;
&amp;lt;/logentry&amp;gt;&lt;br /&gt;
&amp;lt;logentry revision="994"&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;msg&amp;gt;A change I made on the other branch&amp;lt;/msg&amp;gt;&lt;br /&gt;
&amp;lt;/logentry&amp;gt;&lt;br /&gt;
&amp;lt;/logentry&amp;gt;&lt;/p&gt;
&lt;p&gt;As a workaround you can comment out the fatalError(...) in net.sf.statsvn.input.SvnXmlLogFileHandler.checkLastElement(SvnXmlLogFileHandler.java:101).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Homepage doesn't work in FF 3.6.3</title><link href="https://sourceforge.net/p/statsvn/bugs/103/" rel="alternate"/><published>2010-06-27T09:44:08Z</published><updated>2010-06-27T09:44:08Z</updated><author><name>Martin MajliÅ¡</name><uri>https://sourceforge.net/u/martin-majlis/</uri></author><id>https://sourceforge.netf66a71ced9d0e14c2e614ecdc3cca84a48b15f6a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I try to access &lt;a href="http://www.statsvn.org/" rel="nofollow"&gt;http://www.statsvn.org/&lt;/a&gt; in FF 3.6.3 I receive an error:&lt;br /&gt;
Content Encoding Error:&lt;br /&gt;
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.&lt;/p&gt;
&lt;p&gt;Page &lt;a href="http://www.statsvn.org/index.html" rel="nofollow"&gt;http://www.statsvn.org/index.html&lt;/a&gt; works fine in FF 3.6.3.&lt;br /&gt;
Alse &lt;a href="http://www.statsvn.org" rel="nofollow"&gt;http://www.statsvn.org&lt;/a&gt; works in Epiphany and Chromium.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>German umlauts break tags in tag cloud</title><link href="https://sourceforge.net/p/statsvn/bugs/102/" rel="alternate"/><published>2010-06-16T06:25:19Z</published><updated>2010-06-16T06:25:19Z</updated><author><name>Carsten Schumann</name><uri>https://sourceforge.net/u/grypho/</uri></author><id>https://sourceforge.netcef18e1ea097dad749c4314a0922028b168733c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When commit messages contain umlauts (ä,ö,ü,ß,...) the tags in the tag cloud are split at these points into two or more single tags.&lt;/p&gt;
&lt;p&gt;Example: Log message "ausgängen" -&amp;gt; Tag "ausg" + Tag "ngen"&lt;/p&gt;
&lt;p&gt;In other parts of StatSVN the umlauts are handled correctly, i.e. in section "Commit Logs".&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>