svnplot 0.6.2: "Start-End Rev no : 0-0" and no db entries

16 views
Skip to first unread message

Phloogzoyk

unread,
May 3, 2010, 10:10:16 AM5/3/10
to svnplot
When I run svnplot 0.6.2 over my project repository's root, no data is
pulled out of it, the resulting sqlite-db has empty tables:

...

[muenchen@grid-ui SVNplot]$ clear; /usr/local/bin/python2.5 /usr/local/
lib/python2.5/site-packages/svnplot/svnlog2sqlite.py -l -v -g
https://svn.grid.uni-wuppertal.de/JEM2 ./svnplot.db

Updating the subversion log
Repository : https://svn.grid.uni-wuppertal.de/JEM2
Log database filepath : ./svnplot.db
Update Changed Line Count : True
Logging to file ./svnlog2sqlite.log
Root url found : https://svn.grid.uni-wuppertal.de/JEM2
Start-End Rev no : 0-0
Root url found : https://svn.grid.uni-wuppertal.de/JEM2
Start-End Rev no : 0-0
Root url found : https://svn.grid.uni-wuppertal.de/JEM2
Start-End Rev no : 0-0

sqlite3 svnplot.db
SQLite version 3.6.20
Enter ".help" for instructions
sqlite> .schema
CREATE TABLE SVNLog(revno integer, commitdate timestamp, author text,
msg text, addedfiles integer, changedfiles
integer, deletedfiles integer);
CREATE TABLE SVNLogDetail(revno integer, changedpathid integer,
changetype text, copyfrompathid integer, copyfromrev
integer, pathtype text, linesadded integer,
linesdeleted integer, lc_updated char, entrytype char)
;
CREATE TABLE SVNPaths(id INTEGER PRIMARY KEY AUTOINCREMENT, path
text);
CREATE VIEW SVNLogDetailVw AS select SVNLogDetail.*, ChangedPaths.path
as changedpath, CopyFromPaths.path as copyfrompath
from SVNLogDetail LEFT JOIN SVNPaths as ChangedPaths on
SVNLogDetail.changedpathid=ChangedPat
hs.id LEFT JOIN SVNPaths as CopyFromPaths on
SVNLogDetail.copyfrompathid=CopyFromPaths.id;
CREATE INDEX svnlogdtlrevnoidx ON SVNLogDetail (revno ASC);
CREATE INDEX svnlogrevnoidx ON SVNLog (revno ASC);
CREATE INDEX svnpathidx ON SVNPaths (path ASC);
sqlite> select * from SVNLog;
sqlite> .quit

[muenchen@grid-ui SVNplot]$ cat svnlog2sqlite.log
2010-05-03 16:05:59,472 DEBUG found rooturl https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:05:59,475 DEBUG Root url found : https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:05:59,475 DEBUG Trying to get head revision
rooturl:https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:05:59,822 DEBUG Found head revision 654
2010-05-03 16:05:59,823 DEBUG Trying to get revision log. revno:1,
url=https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:06:00,967 DEBUG Start-End Rev no : 0-0
2010-05-03 16:06:00,970 DEBUG Root url found : https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:06:00,971 DEBUG Trying to get head revision
rooturl:https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:06:01,302 DEBUG Found head revision 654
2010-05-03 16:06:01,303 DEBUG Trying to get revision log. revno:1,
url=https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:06:02,608 DEBUG Start-End Rev no : 0-0
2010-05-03 16:06:02,611 DEBUG Root url found : https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:06:02,612 DEBUG Trying to get head revision
rooturl:https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:06:02,937 DEBUG Found head revision 654
2010-05-03 16:06:02,937 DEBUG Trying to get revision log. revno:1,
url=https://svn.grid.uni-wuppertal.de/JEM2
2010-05-03 16:06:04,025 DEBUG Start-End Rev no : 0-0


what could be my error here?

Thanks a lot,
Tim

nitinbhide

unread,
May 3, 2010, 11:57:38 PM5/3/10
to svnplot
I think this is not a publicly accessible repository. In this case,
svnlog2sqlite.py should ask username and password for the repository.
Did you give username and password ?

regards,
Nitin
> 2010-05-03 16:05:59,472 DEBUG found rooturlhttps://svn.grid.uni-wuppertal.de/JEM2

Phloogzoyk

unread,
May 4, 2010, 4:15:04 AM5/4/10
to svnplot
> I think this is not a publicly accessible repository. In this case,
> svnlog2sqlite.py should ask username and password for the repository.
> Did you give username and password ?
>

Hi Nitin,

you're right, the repository is only accessible via https + "valid
user"-auth; however, svnlog2sqlite.py doesn't ask for credentials. I
can't give them just by passing -g https://user:pw@host/... to it, as
well, right? So, how could I circumvent the problem without having to
open my repository?

Cheers,
Tim
Reply all
Reply to author
Forward
0 new messages