I tried to upgrade from 2.0.0.13 to the latest 2.5.6.1, and after figuring 
out a bunch of SQL errors (from rb-site upgrade) I finally got it running. 
 But now when I try to open existing reviews I get the following error:

ImportError at /r/1974/SVN integration requires either subvertpy or pysvn

Request Method: GET
Request URL: http://svn.mysite.com/r/1974/
Django Version: 1.6.11
Exception Type: ImportError
Exception Value: SVN integration requires either subvertpy or pysvn

Exception Location: /usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.
6.1-py2.7.egg/reviewboard/scmtools/svn/__init__.py in build_client, line 452
Python Executable: /usr/bin/python
Python Version: 2.7.11
Python Path: ['/var/www/html/reviewboard/conf',
 '/usr/local/lib/python2.7/site-packages/recaptcha_client-1.0.6-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/mimeparse-0.1.3-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/Markdown-2.4.1-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/docutils-0.12-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/ecdsa-0.13-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/pillowfight-0.2-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/django_pipeline-1.3.27-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/django_storages-1.1.8-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/nose-1.3.4-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/Sphinx-1.3b2-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/Babel-1.3-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/snowballstemmer-1.2.0-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/Jinja2-2.7.3-py2.7.egg',
 
'/usr/local/lib/python2.7/site-packages/MarkupSafe-0.23-py2.7-linux-x86_64.egg'
,
 
'/usr/local/lib/python2.7/site-packages/mercurial-3.3-py2.7-linux-x86_64.egg'
,
 '/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/Pygments-2.1.3-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages/Djblets-0.9.3-py2.7.egg',
 
'/usr/local/lib/python2.7/site-packages/django_multiselectfield-0.1.3-py2.7.egg'
,
 '/usr/local/lib/python2.7/site-packages/django_evolution-0.7.6-py2.7.egg',
 
'/usr/local/lib/python2.7/site-packages/Pillow-3.2.0-py2.7-linux-x86_64.egg'
,
 '/usr/local/lib/python27.zip',
 '/usr/local/lib/python2.7',
 '/usr/local/lib/python2.7/plat-linux2',
 '/usr/local/lib/python2.7/lib-tk',
 '/usr/local/lib/python2.7/lib-old',
 '/usr/local/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/site-packages']

Server time: Wed, 8 Jun 2016 16:40:39 +0000

Both PySVN and SubvertPy are installed, and if I do a clean install on a 
new Review Board site I don't get the error.  

/usr/local/lib/python2.7/site-packages/subvertpy/
/usr/local/lib/python2.7/site-packages/pysvn/


I'm running Python 2.7.11 on CentOS 6 with MySQL 5.5.50.

Any thoughts on how to fix this issue?

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.
Environment:


Request Method: GET
Request URL: http://svn.mysite.com/r/1974/

Django Version: 1.6.11
Python Version: 2.7.11
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'haystack',
 u'pipeline',
 u'reviewboard',
 u'reviewboard.accounts',
 u'reviewboard.admin',
 u'reviewboard.attachments',
 u'reviewboard.changedescs',
 u'reviewboard.diffviewer',
 u'reviewboard.extensions',
 u'reviewboard.hostingsvcs',
 u'reviewboard.notifications',
 u'reviewboard.reviews',
 u'reviewboard.scmtools',
 u'reviewboard.site',
 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/local/lib/python2.7/site-packages/django/core/handlers/base.py" in 
get_response
  112.                     response = wrapped_callback(request, *callback_args, 
**callback_kwargs)
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/accounts/decorators.py"
 in _check
  23.             return login_required(view_func)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" 
in _wrapped_view
  22.                 return view_func(request, *args, **kwargs)
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/site/decorators.py"
 in _check
  35.         return view_func(request, local_site=local_site, *args, **kwargs)
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/views.py"
 in review_detail
  781.         'screenshots': screenshots,
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/context.py"
 in make_review_request_context
  99.         upload_diff_form = UploadDiffForm(review_request, request=request)
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/forms.py"
 in __init__
  95.                                              data, *args, **kwargs)
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/diffviewer/forms.py"
 in __init__
  41.         if self.repository.get_scmtool().get_diffs_use_absolute_paths():
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/scmtools/models.py"
 in get_scmtool
  231.         return cls(self)
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/scmtools/svn/__init__.py"
 in __init__
  74.                               local_site_name)
File 
"/usr/local/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/scmtools/svn/__init__.py"
 in build_client
  452.                 'SVN integration requires either subvertpy or pysvn'))

Exception Type: ImportError at /r/1974/
Exception Value: SVN integration requires either subvertpy or pysvn

Reply via email to