Re: Profile matching query error

2011-05-25 Thread Tucker
Using LDAP auth and anonymous access is disabled.

On Wed, May 25, 2011 at 12:37 PM, Christian Hammond chip...@chipx86.com wrote:
 This may be a regression in 1.6 beta 2 caused by some of changes we made to
 when profiles are created.

 Can you tell me whether you have anonymous access turned on, and what
 authentication method you use?

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, May 25, 2011 at 12:35 PM, Tucker j...@gmail.com wrote:

 I'm running RB1.6b2.1 and have been getting traceback emails.  I
 haven't had a chance to reproduce but I figured it wouldn't hurt to
 try and send this out early.  Has anyone seen this?

 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.omitted.com',
  'HTTP_REFERER':
 'http://reviews.omitted.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.omitted.com',
  'SERVER_PORT': 80,
  'SERVER_PROTOCOL': 'HTTP/1.1',
  'SERVER_SOFTWARE': 'mod_python'}


 --

 --tucker

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

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



-- 

--tucker

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


Re: Profile matching query error

2011-05-25 Thread Tucker
Not a problem.  I'll do some tests and see if I can reproduce the
failure case.  I'll get something opened today.

On Wed, May 25, 2011 at 12:42 PM, Christian Hammond chip...@chipx86.com wrote:
 Okay thanks. Would you mind filing a bug so we can track it for 1.6?

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, May 25, 2011 at 12:40 PM, Tucker j...@gmail.com wrote:

 Using LDAP auth and anonymous access is disabled.

 On Wed, May 25, 2011 at 12:37 PM, Christian Hammond chip...@chipx86.com
 wrote:
  This may be a regression in 1.6 beta 2 caused by some of changes we made
  to
  when profiles are created.
 
  Can you tell me whether you have anonymous access turned on, and what
  authentication method you use?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board - http://www.reviewboard.org
  VMware, Inc. - http://www.vmware.com
 
 
  On Wed, May 25, 2011 at 12:35 PM, Tucker j...@gmail.com wrote:
 
  I'm running RB1.6b2.1 and have been getting traceback emails.  I
  haven't had a chance to reproduce but I figured it wouldn't hurt to
  try and send this out early.  Has anyone seen this?
 
  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.omitted.com',
   'HTTP_REFERER':
  'http://reviews.omitted.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.omitted.com',
   'SERVER_PORT': 80,
   'SERVER_PROTOCOL': 'HTTP/1.1',
   'SERVER_SOFTWARE': 'mod_python'}
 
 
  --
 
  --tucker
 
  --
  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
 
  --
  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



 --

 --tucker

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