Greetings,

I just upgraded from RB 1.0RC3 to 1.5 and ran rb-site upgrade and
followed the instructions. I use it with apache/mod_python and while
the old repositories we had are still working fine I cannot add a
github repository. I get the following error when I try to do so, any
input is greatly appreciated:

Environment:

Request Method: POST
Request URL: http://inspect.ingres.com/admin/db/scmtools/repository/add/
Django Version: 1.2.3
Python Version: 2.4.3
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.markup',
 'django.contrib.sites',
 'django.contrib.sessions',
 'djblets.datagrid',
 'djblets.feedview',
 'djblets.log',
 'djblets.siteconfig',
 'djblets.util',
 'djblets.webapi',
 'reviewboard.accounts',
 'reviewboard.admin',
 'reviewboard.changedescs',
 'reviewboard.diffviewer',
 'reviewboard.iphone',
 'reviewboard.notifications',
 'reviewboard.reports',
 'reviewboard.reviews',
 'reviewboard.scmtools',
 'reviewboard.webapi',
 'django_evolution']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.http.ConditionalGetMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'djblets.siteconfig.middleware.SettingsMiddleware',
 'reviewboard.admin.middleware.LoadSettingsMiddleware',
 'djblets.log.middleware.LoggingMiddleware',
 'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware',
 'reviewboard.admin.middleware.X509AuthMiddleware')


Traceback:
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
core/handlers/base.py" in get_response
  100.                     response = callback(request,
*callback_args, **callback_kwargs)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
contrib/admin/sites.py" in root
  512.                 return self.model_page(request, *url.split('/',
2))
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
views/decorators/cache.py" in _wrapped_view_func
  69.         response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
contrib/admin/sites.py" in model_page
  531.         return admin_obj(request, rest_of_url)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
contrib/admin/options.py" in __call__
  1190.             return self.add_view(request)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
utils/decorators.py" in _wrapper
  21.             return decorator(bound_func)(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
utils/decorators.py" in _wrapped_view
  76.                     response = view_func(request, *args,
**kwargs)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
utils/decorators.py" in bound_func
  17.                 return func(self, *args2, **kwargs2)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
db/transaction.py" in _commit_on_success
  299.                     res = func(*args, **kw)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
contrib/admin/options.py" in add_view
  777.             if form.is_valid():
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
reviewboard/scmtools/forms.py" in is_valid
  578.         return (super(RepositoryForm, self).is_valid() and
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
forms/forms.py" in is_valid
  121.         return self.is_bound and not bool(self.errors)
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
forms/forms.py" in _get_errors
  112.             self.full_clean()
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
reviewboard/scmtools/forms.py" in full_clean
  500.         return super(RepositoryForm, self).full_clean()
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
forms/forms.py" in full_clean
  268.         self._clean_form()
File "/usr/lib/python2.4/site-packages/Django-1.2.3-py2.4.egg/django/
forms/forms.py" in _clean_form
  296.             self.cleaned_data = self.clean()
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
reviewboard/scmtools/forms.py" in clean
  516.         self._clean_hosting_info()
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
reviewboard/scmtools/forms.py" in _clean_hosting_info
  448.         tool_name = self.cleaned_data['tool'].name

Exception Type: KeyError at /admin/db/scmtools/repository/add/
Exception Value: 'tool'

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to