I'm running 2.0.11 on centos5 with python 2.6 and I get an error when I try 
to create a new subversion review. My repo is a sourceforge subversion repo 
configured as a custom repo with path 
http://svn.code.sf.net/p/projectname/code/branches/future   We use a 
non-standard folder structure with an extra level between trunk;branches 
and the actual code. I'm getting an http 500 on the "new review request for 
pending change" screen.
I enable django debug and go to the error url 
(http://reviews.mysite.com/api/repositories/1/commits/?branch=branchname&api_format=json)
 
and get a traceback (see below)

The lowest level is a call to subverty's client.log method. I expanded the 
path via B(self.normalize_path(path)) so I could get the full repo path and 
it looks good:

http://svn.code.sf.net/p/projectname/code/branches/future/branchname/


svn ls of that path on the server works without a problem.





Environment: Request Method: GET Request URL: 
http://reviews.mysite.com/api/repositories/1/commits/?branch=branchname/&api_format=json
 
Django Version: 1.6.8 Python Version: 2.6.8 Installed Applications: 
[u'django.contrib.admin', u'django.contrib.auth', 
u'django.contrib.contenttypes', u'django.contrib.sites', 
u'django.contrib.sessions', u'django.contrib.staticfiles', u'djblets', 
u'djblets.configforms', u'djblets.datagrid', u'djblets.extensions', 
u'djblets.feedview', u'djblets.gravatars', u'djblets.log', 
u'djblets.pipeline', u'djblets.siteconfig', u'djblets.util', 
u'djblets.webapi', u'haystack', u'pipeline', u'reviewboard', 
u'reviewboard.accounts', u'reviewboard.admin', u'reviewboard.attachments', 
u'reviewboard.changedescs', u'reviewboard.datagrids', 
u'reviewboard.diffviewer', u'reviewboard.extensions', 
u'reviewboard.hostingsvcs', u'reviewboard.notifications', 
u'reviewboard.reviews', u'reviewboard.reviews.ui', u'reviewboard.scmtools', 
u'reviewboard.site', u'reviewboard.ssh', u'reviewboard.webapi', 
u'django_evolution'] Installed Middleware: 
[u'django.middleware.gzip.GZipMiddleware', 
u'reviewboard.admin.middleware.InitReviewBoardMiddleware', 
u'django.middleware.clickjacking.XFrameOptionsMiddleware', 
u'django.middleware.common.CommonMiddleware', 
u'django.middleware.doc.XViewMiddleware', 
u'django.middleware.http.ConditionalGetMiddleware', 
u'django.middleware.locale.LocaleMiddleware', 
u'django.contrib.sessions.middleware.SessionMiddleware', 
u'django.contrib.auth.middleware.AuthenticationMiddleware', 
u'django.contrib.messages.middleware.MessageMiddleware', 
u'djblets.siteconfig.middleware.SettingsMiddleware', 
u'reviewboard.admin.middleware.LoadSettingsMiddleware', 
u'djblets.extensions.middleware.ExtensionsMiddleware', 
u'djblets.log.middleware.LoggingMiddleware', 
u'reviewboard.accounts.middleware.TimezoneMiddleware', 
u'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware', 
u'reviewboard.admin.middleware.X509AuthMiddleware', 
u'reviewboard.site.middleware.LocalSiteMiddleware', 
u'djblets.extensions.middleware.ExtensionsMiddlewareRunner', 
u'reviewboard.admin.middleware.ExtraExceptionInfoMiddleware'] Traceback: 
File 
"/usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/core/handlers/base.py"
 
in get_response 112. response = wrapped_callback(request, *callback_args, 
**callback_kwargs) File 
"/usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/views/decorators/cache.py"
 
in _wrapped_view_func 52. response = view_func(request, *args, **kwargs) 
File 
"/usr/lib/python2.6/site-packages/Django-1.6.8-py2.6.egg/django/views/decorators/vary.py"
 
in inner_func 19. response = func(*args, **kwargs) File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.12-py2.6.egg/djblets/webapi/resources.py"
 
in __call__ 496. request, method, view, api_format=api_format, *args, 
**kwargs) File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.12-py2.6.egg/djblets/webapi/resources.py"
 
in call_method_view 567. return view(request, *args, **kwargs) File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.12-py2.6.egg/djblets/webapi/decorators.py"
 
in _call 117. return view_func(*args, **kwargs) File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/webapi/decorators.py"
 
in _check 110. return view_func(*args, **kwargs) File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.12-py2.6.egg/djblets/webapi/decorators.py"
 
in _call 117. return view_func(*args, **kwargs) File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/webapi/decorators.py"
 
in _check 33. return view_func(*args, **kwargs) File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.12-py2.6.egg/djblets/webapi/decorators.py"
 
in _call 117. return view_func(*args, **kwargs) File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.12-py2.6.egg/djblets/webapi/decorators.py"
 
in _call 117. return view_func(*args, **kwargs) File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.12-py2.6.egg/djblets/webapi/decorators.py"
 
in _validate 287. return view_func(*args, **new_kwargs) File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/webapi/resources/repository_commits.py"
 
in get 86. items = repository.get_commits(branch=branch, start=start) File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/models.py"
 
in get_commits 417. cache_period) File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.12-py2.6.egg/djblets/cache/backend.py"
 
in cache_memoize 120. data = lookup_callable() File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/models.py"
 
in <lambda> 402. lambda: self.get_scmtool().get_commits(**commits_kwargs) 
File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/__init__.py"
 
in get_commits 169. limit_to_path=False) File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/subvertpy.py"
 
in get_log 261. strict_node_history=limit_to_path) Exception Type: 
SystemError at /api/repositories/1/commits/ Exception Value: error return 
without exception set 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to