2633: Error while creating ticket selecting "None - Graphics Only"

visha*****@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
June 12, 2012
What version are you running?
1.6.8

What's the URL of the page containing the problem?
https://rb.mycompany.com/reviews/r/new/

What steps will reproduce the problem?
1. Click on "New Review Request"
2. Select repository "None - Graphics Only" and press the "Create Review Request" button.
3. It is throwing error saying following message.
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 is the expected output? What do you see instead?

Should be able to create the ticket and attache the screen shot.

What operating system are you using? What browser?


Ubuntu- Lucid  x86_64 10.2

Please provide any additional information below.
Here is the log entry

Traceback (most recent call last):

  File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.18-py2.6.egg/djblets/auth/util.py", line 46, in _checklogin
    return view_func(request, *args, **kwargs)

  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.8-py2.6.egg/reviewboard/reviews/views.py", line 253, in new_review_request
    local_site=local_site)

  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.8-py2.6.egg/reviewboard/reviews/forms.py", line 174, in create
    pk=self.cleaned_data['repository'].pk)

AttributeError: 'NoneType' object has no attribute 'pk'


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'parent_diff_path': [u''], u'changenum': [u''], u'basedir': [u''], u'diff_path': [u''], u'repository': [u'']}>,
COOKIES:{'__utma': '176039418.744954117.1327488956.1334126981.1334745563.9',
 '__utmz': '176039418.1334126981.8.4.utmcsr=linkedin.com|utmccn=(referral)|utmcmd=referral|utmcct=/in/shankerbalan',
 'csrftoken': '9612867e5410ed142d2b9cc7ff3fd6ac',
 'l10n-locale': 'hi_IN',
 'rbsessionid': '87dc39e8a7aa9fe9231e2ef767140f7f'},
META:{'CONTENT_LENGTH': '648',
 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------1588130014413',
 'DOCUMENT_ROOT': '/var/www/rb/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTPS': '1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'rbsessionid=87dc39e8a7aa9fe9231e2ef767140f7f; __utma=176039418.744954117.1327488956.1334126981.1334745563.9; __utmz=176039418.1334126981.8.4.utmcsr=linkedin.com|utmccn=(referral)|utmcmd=referral|utmcct=/in/shankerbalan; l10n-locale=hi_IN; csrftoken=9612867e5410ed142d2b9cc7ff3fd6ac',
 'HTTP_HOST': 'build1000.scm.corp.ev1.inmobi.com',
 'HTTP_REFERER': 'https://build1000.scm.corp.ev1.inmobi.com/reviews/r/new/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/reviews/r/new/',
 'PATH_TRANSLATED': '/var/www/rb/htdocs/reviewboard.wsgi/reviews/r/new/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.14.110.110',
 'REMOTE_PORT': '2786',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/reviews/r/new/',
 'SCRIPT_FILENAME': '/var/www/rb/htdocs/reviewboard.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '192.168.131.213',
 'SERVER_ADMIN': '[no address given]',
 'SERVER_NAME': 'build1000.scm.corp.ev1.inmobi.com',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at build1000.scm.corp.ev1.inmobi.com Port 443</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
 'SSL_TLS_SNI': 'build1000.scm.corp.ev1.inmobi.com',
 'mod_wsgi.application_group': 'build1000.scm.corp.ev1.inmobi.com|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '443',
 'mod_wsgi.process_group': '',
 'mod_wsgi.reload_mechanism': '0',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (2, 8),
 'wsgi.errors': <mod_wsgi.Log object at 0x7fa5f6a44210>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa5f7195288>,
 'wsgi.input': <mod_wsgi.Input object at 0x7fa5f5a79bf0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>
chipx86
#1 chipx86
Fixed in release-1.6.x (5894052). Good timing on this. It just made it for a release happening tonight.
  • +Fixed
  • +Milestone-Release1.6.x
    +Component-Reviews
  • +chipx86
#2 visha*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Thanks a lot for such a quick response. I will try to upgrade it tomorrow.