Sventon returns "0 entries" for any repo path, but is able to see commit history, diff files, etc (2.5.1, Windows uberSVN distro, HTTP SVN repo, LDAP)

56 views
Skip to first unread message

ian...@gmail.com

unread,
Jan 22, 2013, 7:34:33 PM1/22/13
to sventon...@googlegroups.com
I've slipped Sventon 2.5.1 into uberSVN-1204. When listing any known path, Sventon returns "0 entries", e.g. the following, and instead I would expect to see a directory listing
http://localhost:9890/RepositoryBrowser/repos/known_repo/list/?revision=HEAD

I can directly view (goto) or diff any known path in the repo canonically, or get info on any rev:
http://localhost:9890/RepositoryBrowser/repos/known_repo/goto/Any/Known/Path/AFile.txt?revision=1989

http://localhost:9890/RepositoryBrowser/repos/known_repo/info?revision=1989


I've increased sventon.log to 'debug' (log4j.rootLogger=debug, logfile), and get the following, including what appears to be a few exceptions:
2013-01-22 16:16:19,607 DEBUG [carbonfive.spring.web.pathparameter.ParameterizedUrlHandlerMapping] - <Path: /repos/known_repo/list/Any/Known/Path/>
2013-01-22 16:16:19,607 DEBUG [carbonfive.spring.web.pathparameter.ParameterizedUrlHandlerMapping] - <Mapping [/repos/known_repo/list/Any/Known/Path/] to org.sventon.web.ctrl.template.RepoBrowserController@8d2bd>
2013-01-22 16:16:19,607 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Creating new command of class [org.sventon.web.command.MultipleEntriesCommand]>
2013-01-22 16:16:19,607 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <'command' set to: MultipleEntriesCommand[entries={},path=/Any/Known/Path/,pegRevision=-1,revision=HEAD,repositoryName=ems,sortType=<null>,sortMode=<null>,logger=org.apache.commons.logging.impl.SLF4JLocationAwareLog@11972f8]>
2013-01-22 16:16:19,607 DEBUG [com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor] - <Generated key '1514948750003831' for invocation: ReflectiveMethodInvocation: public abstract java.lang.Long org.sventon.service.RepositoryService.getLatestRevision(org.sventon.SVNConnection) throws org.sventon.SventonException; target is of class [org.sventon.service.RepositoryServiceCacheWrapper]>
2013-01-22 16:16:19,622 DEBUG [com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor] - <Generated key '3112532221659427810' for invocation: ReflectiveMethodInvocation: public abstract org.sventon.model.Revision org.sventon.service.RepositoryService.translateRevision(org.sventon.SVNConnection,org.sventon.model.Revision,long) throws org.sventon.SventonException; target is of class [org.sventon.service.RepositoryServiceCacheWrapper]>
2013-01-22 16:16:19,622 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Getting directory contents for: /Any/Known/Path/>
2013-01-22 16:16:19,622 DEBUG [com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor] - <Generated key '-6051595540183610067' for invocation: ReflectiveMethodInvocation: public abstract org.sventon.model.DirList org.sventon.service.RepositoryService.list(org.sventon.SVNConnection,java.lang.String,long) throws org.sventon.SventonException; target is of class [org.sventon.service.RepositoryServiceCacheWrapper]>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Directory entries in /Any/Known/Path/: 2>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Properties for /Any/Known/Path/: 11>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <filterExtension: all>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Sort params: FULL_NAME, ASC>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Adding data to model>
2013-01-22 16:16:19,685 DEBUG [org.sventon.service.svnkit.SVNKitRepositoryService] - <Getting lock info for path [/Any/Known/Path/] and below>

Meanwhile, I can see the get-list text and props commands in the SVN log, and when I test it with the version of svn.exe bundled with my Tortoise install, the SVN log shows the exact same command. I do get this error when I do an svn list, but I assumed it is harmless:
svn list http://localhost:9880/known_repo/Any/Known/Path r1989 text
(some files)
svn: E155007: 'C:\Program Files\TortoiseSVN\bin\r1989' is not a working copy

SVN is HTTP based, running localhost:9880, as my sventon_config.properties demonstrates:
repositoryRootUrl=http://localhost:9880/known_repo
repositoryDisplayRootUrl=HTTP://192.168.1.1:9880/known_repo
userName=THE_USER
userPassword=THE_PASSWORD
useCache=false
cacheUserName=THE_USER
cacheUserPassword=THE_PASSWORD
allowZipDownloads=true
enableAccessControl=true
rssItemsCount=20
rssTemplateFile=/rsstemplate.html
mailTemplateFile=/mailtemplate.html
enableEntryTray=true
enableIssueTrackerIntegration=false

Why does it say "0 entries", and how can I get it to show more? If the above isn't information isn't enough, where would I dig next?

sventon project

unread,
Jan 24, 2013, 5:25:20 PM1/24/13
to sventon...@googlegroups.com
Hi!

Delete the cache directory (sventon_config/svn/repositories/<name>/cache) and see if it disappers.

Regards
Jesper


2013/1/23 <ian...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "sventon support" group.
To post to this group, send email to sventon...@googlegroups.com.
To unsubscribe from this group, send email to sventon-suppo...@googlegroups.com.
Visit this group at http://groups.google.com/group/sventon-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

javier....@afronta.com

unread,
Nov 4, 2013, 10:23:08 AM11/4/13
to sventon...@googlegroups.com
Hi everyone..

  I'm at the same point, "0 entries" when I try to use the sventon browser into uberSVN. The cache option is false.

Any idea??

Best regards,
Javier
Reply all
Reply to author
Forward
0 new messages