Problems generating stats: Repository root not available

3 messages Options
Embed this post
Permalink
dhaarbrink

Problems generating stats: Repository root not available

Reply Threaded More More options
Print post
Permalink
Hello all,

a few months ago i have set up statsvn 0.4.0 on a linux box and it worked fine.

until today.. since i hadn't automated the stats generation process i wanted to do it manually (been a while, last time was May this year). so i opened the readme and executed the 'svn log' command within the directory of my working copy. so far so good, the svn.log looks nice.
off to the generation process. i changed my directory to where statsvn is located, and executed statsvn.jar, but i got errors. so, first i upgraded to the latest version 0.4.1, which gave me this (exactly the same as version 0.4.0) output:

[root@trees statsvn-0.4.1]# java -jar statsvn.jar /asClasses/svn.log /var/www/html/statsvn/asClasses/
5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: svn: '.' is not a working copy
5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Repository root not available - verify that the project was checked out with svn version 1.3.0 or above.


i have repeated the above process a couple of times using different directories, all absolute paths, relative paths, checked out new working copies, everything i could think of but i can't figure out the problem.
i googled, browsed the forums, the wiki, none of them provided an answer.

as far as i can recall, there have been no system changes. the only thing i can think of that has changed is that i have set up authentication within subversion.


does anybody know what could possibly cause this problem?

thanks in advance.
Jean-Philippe Daigle

Re: Problems generating stats: Repository root not available

Reply Threaded More More options
Print post
Permalink
---------- Forwarded message ----------
From: dhaarbrink <[hidden email]>
To: [hidden email]
Date: Tue, 5 Aug 2008 07:48:39 -0700 (PDT)
Subject: [Statsvn-users] Problems generating stats: Repository root not available

Hello all,

a few months ago i have set up statsvn 0.4.0 on a linux box and it worked
fine.

until today.. since i hadn't automated the stats generation process i wanted
to do it manually (been a while, last time was May this year). so i opened
the readme and executed the 'svn log' command within the directory of my
working copy. so far so good, the svn.log looks nice.
off to the generation process. i changed my directory to where statsvn is
located, and executed statsvn.jar, but i got errors. so, first i upgraded to
the latest version 0.4.1, which gave me this (exactly the same as version
0.4.0) output:

[root@trees statsvn-0.4.1]# java -jar statsvn.jar /asClasses/svn.log
/var/www/html/statsvn/asClasses/
 
5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: svn: '.' is not a working copy
5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Repository root not available - verify that the project was checked
out with svn version 1.3.0 or above.


i have repeated the above process a couple of times using different
directories, all absolute paths, relative paths, checked out new working
copies, everything i could think of but i can't figure out the problem.
i googled, browsed the forums, the wiki, none of them provided an answer.

as far as i can recall, there have been no system changes. the only thing i
can think of that has changed is that i have set up authentication within
subversion.


does anybody know what could possibly cause this problem?

thanks in advance.

[sigh - attempting to work around MORE gmail weirdness]

Hi Dennis, I'm not sure what's going on with gmail's handling of mailing lists, your message was approved to be forwarded to the list but I never got the actual message delivered. So I'm pasting out of the moderation email.

Sounds like you've been extremely thorough, so I'm not sure if this has been tried, but... looking at the command line you've reported:

[root@trees statsvn-0.4.1]# java -jar statsvn.jar /asClasses/svn.log /var/www/html/statsvn/asClasses/

It seems like you're running this from the statsvn directory, with your SVN working directory (your project module checkout directory) being /asClasses, but you're telling statsvn to use </var/www/html/statsvn/asClasses> as the checkout directory. The format of the command is:

java -jar /path/to/statsvn.jar LOGFILE SVN.WORKING.DIR

And the output directory is set with "-output-dir". So have you tried:
java -jar statsvn.jar /asClasses/svn.log /asClasses -output-dir /var/www/html/statsvn/asClasses/


Let us know if this helps,
Jean-Philippe Daigle


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
dhaarbrink

Re: Problems generating stats: Repository root not available

Reply Threaded More More options
Print post
Permalink
Hi Jean-Philippe,

Thanks for your quick reply! It absolutely solved my problem.
I 'accidentally' forgot that the second param to statsvn.jar was the output directory, while, in fact, it is the directory of the working copy.

So you were right assuming i supplied the output dir instead of working copy dir.

Thanks again,
Dennis Haarbrink



Jean-Philippe Daigle wrote:
>
> ---------- Forwarded message ----------
> From: dhaarbrink <dennis@born05.nl>
> To: statsvn-users@lists.sourceforge.net
> Date: Tue, 5 Aug 2008 07:48:39 -0700 (PDT)
> Subject: [Statsvn-users] Problems generating stats: Repository root not
> available
>
> Hello all,
>
> a few months ago i have set up statsvn 0.4.0 on a linux box and it worked
> fine.
>
> until today.. since i hadn't automated the stats generation process i
> wanted
> to do it manually (been a while, last time was May this year). so i opened
> the readme and executed the 'svn log' command within the directory of my
> working copy. so far so good, the svn.log looks nice.
> off to the generation process. i changed my directory to where statsvn is
> located, and executed statsvn.jar, but i got errors. so, first i upgraded
> to
> the latest version 0.4.1, which gave me this (exactly the same as version
> 0.4.0) output:
>
> [root@trees statsvn-0.4.1]# java -jar statsvn.jar /asClasses/svn.log
> /var/www/html/statsvn/asClasses/



> 5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger info
>
>> INFO: StatSVN - SVN statistics generation
>>
>> 5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger info
>> INFO: svn: '.' is not a working copy
>> 5-Aug-08 4:32:10 PM net.sf.statsvn.util.JavaUtilTaskLogger error
>> SEVERE: Repository root not available - verify that the project was
>> checked
>> out with svn version 1.3.0 or above.
>>
>>
>> i have repeated the above process a couple of times using different
>> directories, all absolute paths, relative paths, checked out new working
>> copies, everything i could think of but i can't figure out the problem.
>> i googled, browsed the forums, the wiki, none of them provided an answer.
>>
>> as far as i can recall, there have been no system changes. the only thing
>> i
>> can think of that has changed is that i have set up authentication within
>> subversion.
>>
>>
>> does anybody know what could possibly cause this problem?
>>
>> thanks in advance.
>>
>
[sigh - attempting to work around MORE gmail weirdness]

Hi Dennis, I'm not sure what's going on with gmail's handling of mailing
lists, your message was approved to be forwarded to the list but I never got
the actual message delivered. So I'm pasting out of the moderation email.

Sounds like you've been extremely thorough, so I'm not sure if this has been
tried, but... looking at the command line you've reported:

[root@trees statsvn-0.4.1]# java -jar statsvn.jar /asClasses/svn.log
/var/www/html/statsvn/asClasses/

It seems like you're running this from the statsvn directory, with your SVN
working directory (your project module checkout directory) being /asClasses,
but you're telling statsvn to use </var/www/html/statsvn/asClasses> as the
checkout directory. The format of the command is:

java -jar /path/to/statsvn.jar LOGFILE SVN.WORKING.DIR

And the output directory is set with "-output-dir". So have you tried:
java -jar statsvn.jar /asClasses/svn.log /asClasses -output-dir
/var/www/html/statsvn/asClasses/


Let us know if this helps,
Jean-Philippe Daigle

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Statsvn-users mailing list
Statsvn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/statsvn-users