Hi,

I'd successfully installed Review Board version 1.6.13 in Oracle Enterprise 
Linux 6 and configured an mercurial repository in that.
After few days, i observed that i am not able to add any new repositories 
to in the reviewboard.

When i click on the existing repository, say in "
examples.reviewboard.com:8080/admin/db/scmtools/repository/"<examples.reviewboard.com:8080/admin/db/scmtools/repository/>
  
I get the following error.

*" Something broke! (Error 500)* 

* It appears something broke when you tried to go to here. This is either a 
bug in Review Board or a server configuration error. Please report this to 
your administrator."*


and my server log has,


*Internal Server Error: /reviewboard/admin/db/scmtools/repository/1/
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 
111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.6/site-packages/django/contrib/admin/options.py", line 
307, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/utils/decorators.py", line 93, 
in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/decorators/cache.py", 
line 79, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/contrib/admin/sites.py", line 
197, in inner
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/utils/decorators.py", line 28, 
in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/utils/decorators.py", line 93, 
in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/utils/decorators.py", line 24, 
in bound_func
    return func(self, *args2, **kwargs2)
  File "/usr/lib/python2.6/site-packages/django/db/transaction.py", line 217, 
in inner
    res = func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/contrib/admin/options.py", line 
1030, in change_view
    return self.render_change_form(request, context, change=True, obj=obj)
  File "/usr/lib/python2.6/site-packages/django/contrib/admin/options.py", line 
708, in render_change_form
    ], context, context_instance=context_instance)
  File "/usr/lib/python2.6/site-packages/django/shortcuts/__init__.py", line 
20, in render_to_response
    return HttpResponse(loader.render_to_string(*args, **kwargs), 
**httpresponse_kwargs)
  File "/usr/lib/python2.6/site-packages/django/template/loader.py", line 188, 
in render_to_string
    return t.render(context_instance)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 123, in 
render
    return self._render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 117, in 
_render
    return self.nodelist.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 
127, in render
    return compiled_parent._render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 117, in 
_render
    return self.nodelist.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 
127, in render
    return compiled_parent._render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 117, in 
_render
    return self.nodelist.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 
127, in render
    return compiled_parent._render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 117, in 
_render
    return self.nodelist.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 
64, in render
    result = block.nodelist.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 
500, in render
    output = self.nodelist.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 
159, in render
    return self.render_template(self.template, context)
  File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 
141, in render_template
    output = template.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 123, in 
render
    return self._render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 117, in 
_render
    return self.nodelist.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 
394, in render
    return strip_spaces_between_tags(self.nodelist.render(context).strip())
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 
227, in render
    nodelist.append(node.render(context))
  File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 
394, in render
    return strip_spaces_between_tags(self.nodelist.render(context).strip())
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 744, in 
render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 757, in 
render_node
    return node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 
306, in render
    var = self.var.eval(context)
  File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 
851, in eval
    return self.value.resolve(context, ignore_failures=True)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 510, in 
resolve
    obj = self.var.resolve(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 653, in 
resolve
    value = self._resolve_lookup(context)
  File "/usr/lib/python2.6/site-packages/django/template/base.py", line 683, in 
_resolve_lookup
    current = getattr(current, bit)
  File "/usr/lib/python2.6/site-packages/reviewboard/scmtools/models.py", line 
21, in <lambda>
    lambda x: x.get_scmtool_class().supports_raw_file_urls)
  File "/usr/lib/python2.6/site-packages/reviewboard/scmtools/models.py", line 
35, in get_scmtool_class
    'Error importing SCM Tool %s: "%s"' % (module, e)
ImproperlyConfigured: Error importing SCM Tool o: "No module named o"


*

What might be the issue?

Also when i tried to setup a new rb-site and host it in another port in the 
same system, I faced no error. I could add any number of repositories.
I need to retain the existing setup and current data. When I tried to 
migrate the old data to current working setup referring 
https://groups.google.com/forum/?fromgroups=#!topic/reviewboard/Db81JwSSAf8, 
Migration was successful but the issue of adding new repo was still present.

What could have gone wrong with existing setup?



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