Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2689 by duane1...@gmail.com: Error logging in to ReviewBoard if not already logged in
http://code.google.com/p/reviewboard/issues/detail?id=2689

Just recently upgraded to Review Board 1.6.11.

When logging in on a browser without an existing cookie, I get a 500 Internal Server Error in response. However, on my machine that was previously logged in, I can use Review Board just fine.

What version are you running?

1.6.11

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

Main URL (/reviews/ on my server)

What steps will reproduce the problem?
1. Clear cookies on browser
2. Go to http://xxx.xxx.com/reviews/ (where I have the review board app mapped in my Apache server)
3. Observe "Something broke! (Error 500)

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

I expect to see the Review Board login page, which was previously visible using version 1.6.3 before doing the upgrade to 1.6.11.

What operating system are you using? What browser?

Tested in both Firefox (PC) and Chrome (Mac). Server is using CentOS Linux Release 5.7.

Please provide any additional information below.

This is the information from reviewboard.log:

2012-07-31 15:43:17,400 - ERROR - Exception thrown for user AnonymousUser at http://xxx.xxx.com/reviews/

'tuple' object has no attribute 'scheme'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/views/generic/simple.py", line 57, in redirect_to
    return klass(url % kwargs)
File "/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/http/__init__.py", line 645, in __init__
    if parsed.scheme and parsed.scheme not in self.allowed_schemes:
AttributeError: 'tuple' object has no attribute 'scheme'
2012-07-31 15:43:17,401 - ERROR - Internal Server Error: /reviews/
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/views/generic/simple.py", line 57, in redirect_to
    return klass(url % kwargs)
File "/usr/lib/python2.4/site-packages/Django-1.3.2-py2.4.egg/django/http/__init__.py", line 645, in __init__
    if parsed.scheme and parsed.scheme not in self.allowed_schemes:
AttributeError: 'tuple' object has no attribute 'scheme'

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to