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

New issue 2111 by gtuc...@gmail.com: "Profile matching query does not exist" error.
http://code.google.com/p/reviewboard/issues/detail?id=2111

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*       reviewbo...@googlegroups.com                             *

What version are you running?

1.6beta2.1

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

Email.

What steps will reproduce the problem?
Unknown, as of right now. Have received similar errors 7 times on 3 reviews.

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

No reported errors on front end but admin account received error emails. See below.

What operating system are you using? What browser?

See user-agent string below.

Please provide any additional information below.

I scripted the import of users from LDAP so I could prepopulate groups. The script sets the last_login field to "0000-00-00 00:00:00" and the first login fails with a 500 error. I don't know if this is related but it might be.

Email body:
"""
Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/Django-1.3-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/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/accounts/decorators.py", line 25, in _check
    return login_required(view_func)(*args, **kwargs)

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

File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6beta2.1-py2.4.egg/reviewboard/reviews/views.py", line 296, in review_detail
    starred = review_request in \

File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/contrib/auth/models.py", line 383, in get_profile self._profile_cache = model._default_manager.using(self._state.db).get(user__id__exact=self.id)

File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/models/query.py", line 348, in get
    raise self.model.DoesNotExist("%s matching query does not exist."

DoesNotExist: Profile matching query does not exist.


<ModPythonRequest
path:/r/3/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'rbsessionid': 'd8a08f65a3ed3e0c4e733b1a1f512a33'},
META:{'AUTH_TYPE': None,
 'CONTENT_LENGTH': 0,
 'CONTENT_TYPE': None,
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 
'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
 'HTTP_CACHE_CONTROL': 'max-age=0',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'rbsessionid=d8a08f65a3ed3e0c4e733b1a1f512a33',
 'HTTP_HOST': 'reviews.REDACTED.com',
 'HTTP_REFERER': 'http://reviews.REDACTED.com/account/login/?next_page=/r/3/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24',
 'PATH_INFO': u'/r/3/',
 'PATH_TRANSLATED': None,
 'QUERY_STRING': None,
 'REMOTE_ADDR': '10.6.241.148',
 'REMOTE_HOST': None,
 'REMOTE_IDENT': None,
 'REMOTE_USER': None,
 'REQUEST_METHOD': 'GET',
 'SCRIPT_NAME': '',
 'SERVER_NAME': 'reviews.REDACTED.com',
 'SERVER_PORT': 80,
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'mod_python'}>
"""

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