1117: Error 500 Please help

cmbu****@gmai***** (Google Code) (Is this you? Claim this profile.)
May 19, 2009
What version are you running?


What's the URL of the page containing the problem?


What steps will reproduce the problem?
1. When I'm trying to create a new review
2. after fill all the fields for the information
3. press save button

What is the expected output? What do you see instead?

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. 


What operating system are you using? What browser?
Ubuntu Server 8.10

Please provide any additional information below.

I get the error of above when I'm trying to make a new review I followed
the instalation manual of review board and I want to know what colud be
causing the problem, if you could mention something about the configuration
because I'm new in this tool, but in my work I have to set it up please
help me!
chipx86
#1 chipx86
In <sitedir>/conf/settings_local.py, add:

   DEBUG = True

You should then get a backtrace instead of that error page, which we can use to help
identify the problem.
  • +NeedInfo
#2 cmbu****@gmai***** (Google Code) (Is this you? Claim this profile.)
I tried that one time before but after the change of falase to true, anything else
works, I had to run the rb-site script again
chipx86
#3 chipx86
it could be that you typoed something. It must be exactly as I listed, no spaces
before it, on its own line. Capital T on True.

Without this information, there's nothing I can do to help.
#4 cmbu****@gmai***** (Google Code) (Is this you? Claim this profile.)
here is some information 
ValueError at /reviews/admin/db/reviews/review/add/
invalid literal for int() with base 10: 'asd'Request Method: POST 
Request URL: http://200.52.182.165/reviews/admin/db/reviews/review/add/ 
Exception Type: ValueError 
Exception Value: invalid literal for int() with base 10: 'asd' 
Exception Location:
/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/db/models/fields/__init__.py
in get_db_prep_value, line 353 
Python Executable: /usr/bin/python 
Python Version: 2.5.2 
Python Path: ['/var/www/reviews/conf',
'/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg',
'/usr/lib/python2.5/site-packages/flup-1.0.1-py2.5.egg',
'/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg',
'/usr/lib/python2.5/site-packages/Djblets-0.5beta1-py2.5.egg',
'/usr/lib/python2.5/site-packages/django_evolution-0.0.0-py2.5.egg',
'/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg',
'/usr/lib/python2.5/site-packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg',
'/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-linux-i686.egg',
'/usr/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg',
'/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg',
'/usr/lib/python2.5/site-packages/docutils-0.5-py2.5.egg',
'/usr/lib/python2.5/site-packages/Jinja2-2.1.1-py2.5-linux-i686.egg',
'/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-support/python2.5',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/var/lib/python-support/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode'] 
Server time: Mon, 11 May 2009 14:47:37 -0700 

does it serve to you?
#5 cmbu****@gmai***** (Google Code) (Is this you? Claim this profile.)
this  is other information

TemplateSyntaxError at /reviews/admin/db/reviews/review/add/
Caught an exception while rendering: ReviewRequest matching query does not exist.

Original Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/template/debug.py",
line 71, in render_node
    result = node.render(context)
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/template/debug.py",
line 87, in render
    output = force_unicode(self.filter_expression.resolve(context))
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/utils/encoding.py",
line 49, in force_unicode
    s = unicode(s)
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/forms/forms.py", line
333, in __unicode__
    return self.as_widget()
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/forms/forms.py", line
365, in as_widget
    return widget.render(name, data, attrs=attrs)
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/contrib/admin/widgets.py",
line 125, in render
    output.append(self.label_for_value(value))
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/contrib/admin/widgets.py",
line 149, in label_for_value
    obj = self.rel.to._default_manager.get(**{key: value})
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/db/models/manager.py",
line 93, in get
    return self.get_query_set().get(*args, **kwargs)
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/db/models/query.py",
line 309, in get
    % self.model._meta.object_name)
DoesNotExist: ReviewRequest matching query does not exist.
Request Method: POST 
Request URL: http://200.52.182.165/reviews/admin/db/reviews/review/add/ 
Exception Type: TemplateSyntaxError 
Exception Value: Caught an exception while rendering: ReviewRequest matching query
does not exist.

Original Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/template/debug.py",
line 71, in render_node
    result = node.render(context)
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/template/debug.py",
line 87, in render
    output = force_unicode(self.filter_expression.resolve(context))
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/utils/encoding.py",
line 49, in force_unicode
    s = unicode(s)
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/forms/forms.py", line
333, in __unicode__
    return self.as_widget()
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/forms/forms.py", line
365, in as_widget
    return widget.render(name, data, attrs=attrs)
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/contrib/admin/widgets.py",
line 125, in render
    output.append(self.label_for_value(value))
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/contrib/admin/widgets.py",
line 149, in label_for_value
    obj = self.rel.to._default_manager.get(**{key: value})
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/db/models/manager.py",
line 93, in get
    return self.get_query_set().get(*args, **kwargs)
  File
"/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/db/models/query.py",
line 309, in get
    % self.model._meta.object_name)
DoesNotExist: ReviewRequest matching query does not exist.
 
Exception Location:
/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/template/debug.py in
render_node, line 81 
Python Executable: /usr/bin/python 
Python Version: 2.5.2 
Python Path: ['/var/www/reviews/conf',
'/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg',
'/usr/lib/python2.5/site-packages/flup-1.0.1-py2.5.egg',
'/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg',
'/usr/lib/python2.5/site-packages/Djblets-0.5beta1-py2.5.egg',
'/usr/lib/python2.5/site-packages/django_evolution-0.0.0-py2.5.egg',
'/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg',
'/usr/lib/python2.5/site-packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg',
'/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-linux-i686.egg',
'/usr/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg',
'/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg',
'/usr/lib/python2.5/site-packages/docutils-0.5-py2.5.egg',
'/usr/lib/python2.5/site-packages/Jinja2-2.1.1-py2.5-linux-i686.egg',
'/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-support/python2.5',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/var/lib/python-support/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode'] 
Server time: Mon, 11 May 2009 15:55:14 -0700 
chipx86
#6 chipx86
You typed "asd" for something expecting an int. I don't know which field that was,
but that's your problem.

Why are you making your reviews in the admin UI? You should be using the main web
interface only. The admin UI shouldn't be used for creating or updating review
requests or reviews.

It's possible that you will need to wipe your database if it's broken to the point of
not even letting you fix it in the admin UI.
  • -NeedInfo
    +UserError