Thanks a lot! Removing this tool solved the issues. I've added it a
year ago trying to setup demo and forgot about that.

-- Sergey

On Oct 13, 8:41 am, Christian Hammond <chip...@chipx86.com> wrote:
> It sounds like you have the localfile scmtool installed in your database,
> which is really only for testing and hasn't been maintained in forever. You
> need to remove the database entry for that in scmtools_tool.
>
> Were you using this SCMTool for anything?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Tue, Oct 12, 2010 at 3:48 AM, sergius <sergey.serg...@googlemail.com>wrote:
>
> > I've got next issue after upgrade. Any operation with repositories
> > (edit/add) leads to next error:
>
> > TemplateSyntaxError at /admin/db/scmtools/repository/59/
> > Caught ImproperlyConfigured while rendering: Error importing SCM Tool
> > reviewboard.scmtools.localfile: "No module named scmtools.core"
>
> > Any help would be greatly appreciated :)
>
> > Traceback:
>
> > Environment:
>
> > Request Method: GET
> > Request URL:http://reviewboard-server/admin/db/scmtools/repository/59/
> > Django Version: 1.2.1
> > Python Version: 2.6.2
> > 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')
>
> > Template error:
> > In template /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5-
> > py2.6.egg/reviewboard/templates/admin/scmtools/repository/
> > change_form.html, error at line 46
> >   Caught ImproperlyConfigured while rendering: Error importing SCM
> > Tool reviewboard.scmtools.localfile: "No module named scmtools.core"
> >   36 :           "{{field}}"{% if not forloop.last %},{% endif %}
>
> >   37 : {%  endfor %}
>
> >   38 :       {% endspaceless %} ]{% if not forloop.last %},{% endif
> > %}
>
> >   39 : {% endfor %}
>
> >   40 :   }{% endspaceless %}
>
> >   41 :
>
> >   42 :   var TOOLS_FIELDS = { {% spaceless %}
>
> >   43 :       "none": [ "raw_file_url", "username", "password" ],
>
> >   44 : {% for tool in adminform.form.tool.field.queryset %}
>
> >   45 :       "{{tool.id}}": [ {% spaceless %}
>
> >   46 :  {%  if tool.supports_raw_file_urls %}
>
> >   47 :            "raw_file_url",
>
> >   48 : {%  endif %}
>
> >   49 :            "username", "password"
>
> >   50 :       {% endspaceless %} ]{% if not forloop.last %},{% endif
> > %}
>
> >   51 : {% endfor %}
>
> >   52 :   }{% endspaceless %}
>
> >   53 :
>
> >   54 :   var HOSTING_SERVICE_TOOLS = { {% spaceless %}
>
> >   55 : {% for id, info in adminform.form.HOSTING_SERVICE_INFO.items
> > %}
>
> >   56 :       "{{id}}": [ {% spaceless %}
>
> > Traceback:
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/core/handlers/base.py" in get_response
> >  100.                     response = callback(request,
> > *callback_args, **callback_kwargs)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/contrib/admin/sites.py" in root
> >  512.                 return self.model_page(request, *url.split('/',
> > 2))
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/views/decorators/cache.py" in _wrapped_view_func
> >  69.         response = view_func(request, *args, **kwargs)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/contrib/admin/sites.py" in model_page
> >  531.         return admin_obj(request, rest_of_url)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/contrib/admin/options.py" in __call__
> >  1196.             return self.change_view(request, unquote(url))
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/utils/decorators.py" in _wrapper
> >  21.             return decorator(bound_func)(*args, **kwargs)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/utils/decorators.py" in _wrapped_view
> >  76.                     response = view_func(request, *args,
> > **kwargs)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/utils/decorators.py" in bound_func
> >  17.                 return func(self, *args2, **kwargs2)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/db/transaction.py" in _commit_on_success
> >  299.                     res = func(*args, **kw)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/contrib/admin/options.py" in change_view
> >  943.         return self.render_change_form(request, context,
> > change=True, obj=obj)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/contrib/admin/options.py" in render_change_form
> >  634.         ], context, context_instance=context_instance)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/shortcuts/__init__.py" in render_to_response
> >  20.     return HttpResponse(loader.render_to_string(*args,
> > **kwargs), **httpresponse_kwargs)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/loader.py" in render_to_string
> >  186.     return t.render(context_instance)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in render
> >  173.             return self._render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in _render
> >  167.         return self.nodelist.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in render
> >  796.                 bits.append(self.render_node(node, context))
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/debug.py" in render_node
> >  72.             result = node.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/loader_tags.py" in render
> >  125.         return compiled_parent._render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in _render
> >  167.         return self.nodelist.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in render
> >  796.                 bits.append(self.render_node(node, context))
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/debug.py" in render_node
> >  72.             result = node.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/loader_tags.py" in render
> >  125.         return compiled_parent._render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in _render
> >  167.         return self.nodelist.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in render
> >  796.                 bits.append(self.render_node(node, context))
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/debug.py" in render_node
> >  72.             result = node.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/loader_tags.py" in render
> >  125.         return compiled_parent._render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in _render
> >  167.         return self.nodelist.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in render
> >  796.                 bits.append(self.render_node(node, context))
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/debug.py" in render_node
> >  72.             result = node.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/loader_tags.py" in render
> >  62.             result = block.nodelist.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in render
> >  796.                 bits.append(self.render_node(node, context))
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/debug.py" in render_node
> >  72.             result = node.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/defaulttags.py" in render
> >  328.         return
> > strip_spaces_between_tags(self.nodelist.render(context).strip())
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/__init__.py" in render
> >  796.                 bits.append(self.render_node(node, context))
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/debug.py" in render_node
> >  72.             result = node.render(context)
> > File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
> > django/template/defaulttags.py" in render
> >  167.            
>
> ...
>
> read more »

-- 
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