Error. Do not start the site after the upgrade from version 1.5.5 to version 1.6 beta 2

2011-05-25 Thread andykur
I updated to version 1.6 RB beta 2 for instructions
http://www.reviewboard.org/docs/manual/dev/admin/installation/development-releases/
Then updated the website
After the launch of the site an error in the logs Apache2
Help!
[Wed May 25 10:23:11 2011] [notice] caught SIGTERM, shutting down
[Wed May 25 10:23:11 2011] [error] python_init: Python version
mismatch, expected '2.6.5+', found '2.6.6'.
[Wed May 25 10:23:11 2011] [error] python_init: Python executable
found '/usr/bin/python'.
[Wed May 25 10:23:11 2011] [error] python_init: Python path being used
'/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/
lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
[Wed May 25 10:23:11 2011] [notice] mod_python: Creating 8 session
mutexes based on 6 max processes and 25 max threads.
[Wed May 25 10:23:11 2011] [notice] mod_python: using mutex_directory /
tmp
[Wed May 25 10:23:11 2011] [notice] Apache/2.2.16 (Debian) mod_python/
3.3.1 Python/2.6.6 configured -- resuming normal operations
/usr/lib/python2.6/dist-packages/mod_python/importer.py:32:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/db/
__init__.py:60: DeprecationWarning: Short names for ENGINE in database
configurations are deprecated. Prepend default.ENGINE with
'django.db.backends.'
  DeprecationWarning
/opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-py2.6.egg/
djblets/util/fields.py:72: DeprecationWarning: A Field class whose
get_db_prep_value method hasn't been updated to take `connection` and
`prepared` arguments.
  class Base64Field(models.TextField):
/opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-py2.6.egg/
djblets/util/fields.py:136: DeprecationWarning: A Field class whose
db_type method hasn't been updated to take a `connection` argument.
  class JSONField(models.TextField):
/opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-py2.6.egg/
djblets/util/fields.py:136: DeprecationWarning: A Field class whose
get_db_prep_save method hasn't been updated to take a `connection`
argument.
  class JSONField(models.TextField):
/opt/reviewboard/lib/python2.6/site-packages/pycrypto-2.3-py2.6-linux-
x86_64.egg/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning:
This application uses RandomPool, which is BROKEN in older releases.
See http://www.pycrypto.org/randpool-broken
  RandomPool_DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
template/loaders/filesystem.py:58: DeprecationWarning:
'django.template.loaders.filesystem.load_template_source' is
deprecated; use 'django.template.loaders.filesystem.Loader' instead.
  DeprecationWarning
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
template/loaders/app_directories.py:71: DeprecationWarning:
'django.template.loaders.app_directories.load_template_source' is
deprecated; use 'django.template.loaders.app_directories.Loader'
instead.
  DeprecationWarning
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
core/context_processors.py:27: DeprecationWarning: The context
processor at `django.core.context_processors.auth` is deprecated; use
the path `django.contrib.auth.context_processors.auth` instead.
  DeprecationWarning
ERROR:root:Exception thrown for user admin at 
http://reviewboard.mcdlabs.ru/dashboard/

'AdminSite' object has no attribute 'root'
Traceback (most recent call last):
  File /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/
django/core/handlers/base.py, line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
  File /opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-
py2.6.egg/djblets/auth/util.py, line 46, in _checklogin
return view_func(request, *args, **kwargs)
  File /opt/reviewboard/lib/python2.6/site-packages/ReviewBoard-1.5-
py2.6.egg/reviewboard/accounts/decorators.py, line 46, in
_check_valid_prefs
return view_func(request, *args, **kwargs)
  File /opt/reviewboard/lib/python2.6/site-packages/ReviewBoard-1.5-
py2.6.egg/reviewboard/reviews/views.py, line 330, in dashboard
return grid.render_to_response(template_name)
  File /opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-
py2.6.egg/djblets/datagrid/grids.py, line 714, in render_to_response
context))
  File /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/
django/shortcuts/__init__.py, line 20, in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs),
**httpresponse_kwargs)
  File /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/
django/template/loader.py, line 183, in render_to_string
return t.render(Context(dictionary))
  File /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/
django/template/base.py, line 123, in render
return self._render(context)
  File /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/
django/template/base.py, line 117, 

Re: Error. Do not start the site after the upgrade from version 1.5.5 to version 1.6 beta 2

2011-05-25 Thread Christian Hammond
This is looking suspiciously like either a broken Django setup, or possibly
more likely, a mix of Python modules loaded in memory. Did you restart your
web server after the upgrade?

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:38 AM, andykur andrey.kuroch...@mind.com wrote:

 I updated to version 1.6 RB beta 2 for instructions

 http://www.reviewboard.org/docs/manual/dev/admin/installation/development-releases/
 Then updated the website
 After the launch of the site an error in the logs Apache2
 Help!
 [Wed May 25 10:23:11 2011] [notice] caught SIGTERM, shutting down
 [Wed May 25 10:23:11 2011] [error] python_init: Python version
 mismatch, expected '2.6.5+', found '2.6.6'.
 [Wed May 25 10:23:11 2011] [error] python_init: Python executable
 found '/usr/bin/python'.
 [Wed May 25 10:23:11 2011] [error] python_init: Python path being used
 '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/
 lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
 [Wed May 25 10:23:11 2011] [notice] mod_python: Creating 8 session
 mutexes based on 6 max processes and 25 max threads.
 [Wed May 25 10:23:11 2011] [notice] mod_python: using mutex_directory /
 tmp
 [Wed May 25 10:23:11 2011] [notice] Apache/2.2.16 (Debian) mod_python/
 3.3.1 Python/2.6.6 configured -- resuming normal operations
 /usr/lib/python2.6/dist-packages/mod_python/importer.py:32:
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
 /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/db/
 __init__.py:60: DeprecationWarning: Short names for ENGINE in database
 configurations are deprecated. Prepend default.ENGINE with
 'django.db.backends.'
  DeprecationWarning
 /opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-py2.6.egg/
 djblets/util/fields.py:72: DeprecationWarning: A Field class whose
 get_db_prep_value method hasn't been updated to take `connection` and
 `prepared` arguments.
  class Base64Field(models.TextField):
 /opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-py2.6.egg/
 djblets/util/fields.py:136: DeprecationWarning: A Field class whose
 db_type method hasn't been updated to take a `connection` argument.
  class JSONField(models.TextField):
 /opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-py2.6.egg/
 djblets/util/fields.py:136: DeprecationWarning: A Field class whose
 get_db_prep_save method hasn't been updated to take a `connection`
 argument.
  class JSONField(models.TextField):
 /opt/reviewboard/lib/python2.6/site-packages/pycrypto-2.3-py2.6-linux-
 x86_64.egg/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning:
 This application uses RandomPool, which is BROKEN in older releases.
 See http://www.pycrypto.org/randpool-broken
  RandomPool_DeprecationWarning)
 /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
 template/loaders/filesystem.py:58: DeprecationWarning:
 'django.template.loaders.filesystem.load_template_source' is
 deprecated; use 'django.template.loaders.filesystem.Loader' instead.
  DeprecationWarning
 /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
 template/loaders/app_directories.py:71: DeprecationWarning:
 'django.template.loaders.app_directories.load_template_source' is
 deprecated; use 'django.template.loaders.app_directories.Loader'
 instead.
  DeprecationWarning
 /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
 core/context_processors.py:27: DeprecationWarning: The context
 processor at `django.core.context_processors.auth` is deprecated; use
 the path `django.contrib.auth.context_processors.auth` instead.
  DeprecationWarning
 ERROR:root:Exception thrown for user admin at
 http://reviewboard.mcdlabs.ru/dashboard/

 'AdminSite' object has no attribute 'root'
 Traceback (most recent call last):
  File /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/
 django/core/handlers/base.py, line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
  File /opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-
 py2.6.egg/djblets/auth/util.py, line 46, in _checklogin
return view_func(request, *args, **kwargs)
  File /opt/reviewboard/lib/python2.6/site-packages/ReviewBoard-1.5-
 py2.6.egg/reviewboard/accounts/decorators.py, line 46, in
 _check_valid_prefs
return view_func(request, *args, **kwargs)
  File /opt/reviewboard/lib/python2.6/site-packages/ReviewBoard-1.5-
 py2.6.egg/reviewboard/reviews/views.py, line 330, in dashboard
return grid.render_to_response(template_name)
  File /opt/reviewboard/lib/python2.6/site-packages/Djblets-0.6.4-
 py2.6.egg/djblets/datagrid/grids.py, line 714, in render_to_response
context))
  File /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/
 django/shortcuts/__init__.py, line 20, in render_to_response
return 

Profile matching query error

2011-05-25 Thread Tucker
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


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
 

Re: In need of serious setup help.

2011-05-25 Thread Christian Hammond
Hi Eric,

Sorry you're hitting problems. Let's see if we can get through them.

First off, I'm curious what problems you hit with Apache. We generally
recommend Apache and mod_wsgi, though mod_python tends to work well too
(provided it's available -- Apache deprecated it).

However, we don't recommend sqlite. That's only really intended for initial
testing, but won't handle the load of many users.

I don't know anything about the BitNami stack. We don't officially support
it, but can still try to guide you through. The thing with that is, you'll
end up wanting to upgrade, and that may require upgrading Django, and so
you'd have to figure out how that all works with the stack, and how that
also works with the way Review Board is upgraded.

The fact that you're doing all this on Windows is probably the core problem.
A lot of the dependencies we use are absolutely a pain on Windows, due to a
variety of reasons. If you can at all try this on Linux (Ubuntu
specifically, perhaps in a VM) life will be better for you.

Now the problem you're hitting is due to the Python path not factoring in
your Review Board install. This is probably a side effect of using the
BitNami stack. I imagine it has its own Python interpreter and modules,
which means it may have a different Python path from what you're using to
install Review Board. The result would be Review Board installed in one
place, and your stack looking for modules in another place.

Without knowing how their stack works, it's hard to give specific
instructions. You'd need to scrap your local Python and use everything from
their Python. That means their easy_install, installing Python modules into
their setup, etc. Everything needs to be in the same place, with the same
Python version, in order to work. It also may mean you'll hit issues with
some Python modules using binary components, as everything must be compiled
with the same compiler on Windows for it to work. These aren't Review Board
problems, but rather the sad reality of Python on Windows.

Again, with Linux, these problems basically go away. You'll have one Python
you can rely on, a package manager to give you most of what you need, and
then you'll be good to go. There are a variety of VM solutions, if you want
to still run on top of Windows. Look at VMware Server, for instance. You can
find some pre-made Ubuntu server VMs that you can stick Review Board in. The
install procedure will be much, much easier.

So that's my recommendation. If you have to stick with Windows, you may need
to scrap the stack and go back to a system-level Python and Apache and
mod_wsgi, and then we can work on hopefully fixing whatever errors you hit.

Christian

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


On Wed, May 25, 2011 at 11:33 AM, Eric Mann e...@eam.me wrote:

 OK, I'll try to outline everything I've done so far ... but I'm about
 ready to give up.

 First I tried to install ReviewBoard using just a straight Apache
 installation and SQLLite.  Unfortunately, Apache in this setup would
 not work with any of the CGI variants that I needed to use.  FastCGI
 failed, FCGI failed, mod_python failed ... so I scrapped that.

 Second, I tried using LightTPD, but I wasn't able to import any of the
 configuration files needed by ReviewBoard.  Making any changes to
 LightTPD's conf files broke the system and left me with a lot of
 system errors ... so I scrapped that.

 Finally, I found a tutorial suggesting using DjangoStack from
 BitNami.  I downloaded and installed that, and since it came with
 MySQL I set that up as well.  But I still couldn't get any of the
 FastCGI/mod_python stuff to work, so I resorted to wsgi instead.

 My first attempt was to install in a subfolder.  Basically
 http://localhost/reviewboard.  But that hosed anything in the root
 directory (http://localhost/phpinfo.php would no longer work), though
 it still allowed me to use other sub-folder apps (i.e. phpMyAdmin).
 But I couldn't get past the taking a nap page, so I assumed I'd done
 something wrong, uninstalled everything, and tried to install in the
 root instead.

 Now, I'm back to the Review Board is taking a nap message, but
 everything's hosed.  Even phpMyAdmin dumps back to Review Board, which
 makes it utterly useless as well.  Not helpful.

 Here's what I'm getting from Apache's error logs:

 [Wed May 25 11:09:27 2011] [error] [client 10.0.0.212] mod_wsgi
 (pid=2160): Exception occurred processing WSGI script 'E:/Program
 Files/BitNami DjangoStack/apps/reviewboard/htdocs/reviewboard.wsgi'.
 [Wed May 25 11:09:27 2011] [error] [client 10.0.0.212] Traceback (most
 recent call last):
 [Wed May 25 11:09:27 2011] [error] [client 10.0.0.212]   File E:\
 \Program Files\\BitNami DjangoStack\\apps\\django\\django\\core\
 \handlers\\wsgi.py, line 250, in __call__
 [Wed May 25 11:09:27 2011] [error] [client 10.0.0.212]
 self.load_middleware()
 [Wed May 25 11:09:27 2011] 

Re: In need of serious setup help.

2011-05-25 Thread Christian Hammond
Okay, it was worth asking about Linux. Given the Windows requirements,
though, we'll have to figure out another plan.

So this comes down to the Python path. Can you determine where the BitNami
stack's Python site-packages directory is, and also figure out where the
ReviewBoard*.egg directory is? If they're not in the same place, then that's
the cause of the error you're seeing, so that'll be the first thing to
check. If that's indeed the problem, we should get a lot further pretty
quickly once that's fixed.

Python 2.7 is certainly supported. Were there instructions somewhere saying
you needed 2.5?

You're right in that not all Python-based apps have this level of
difficulty. The difference with us is that we depend on some modules that
use native code by way of DLLs (repository bindings, SSH wrappers, etc.),
and there are some really frustrating compatibility issues based on which
compiler different things are using. Most Python apps out there use pure
Python modules, and that's far easier.

Now you haven't hit those issues yet, but they may be a problem down the
road, depending. We'll cross that bridge when we come to it.

Christian

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


On Wed, May 25, 2011 at 2:17 PM, Eric Mann e...@eam.me wrote:

 On Wed, May 25, 2011 at 1:47 PM, Christian Hammond chip...@chipx86.comwrote:

 Hi Eric,

 Sorry you're hitting problems. Let's see if we can get through them.

 First off, I'm curious what problems you hit with Apache. We generally
 recommend Apache and mod_wsgi, though mod_python tends to work well too
 (provided it's available -- Apache deprecated it).


 My first attempt was to install vanilla Apache and MySql.  MySql installed
 just fine, as did Apache.  But trying to reconfigure Apache to do anything
 else was where the problems came up.  I have Python 2.7 on my system (for
 other tools I'm already use and scripting with, so downgrading to 2.5 is not
 an option).  I couldn't get the build tools to work to manually recompile
 mod_python for 2.7 (due to the various make/cmake/gnumake systems I have
 installed for working with .Net and Delphi), so I tried looking for
 precompiled binaries instead.

 Every precompiled system I found failed.  mod_python, FastCGI, FCGI, and
 even mod_wsgi broke Apache when I tried to enable them in http.conf.  And by
 broke, I mean triggered a generic error with code 1 when I tried to start
 the httpd service.  I went with the BitNami stack for one reason: the only
 reference I could find to successfully installing Review Board under Windows
 referenced it.  Everyone else listed pages of complaints and problems and
 said they either went to a paid system like Kiln or just put everything on a
 Linux box instead.


 However, we don't recommend sqlite. That's only really intended for
 initial testing, but won't handle the load of many users.


 That's fine, I wasn't jazzed about sqlite at all.  I prefer MySQL, but keep
 in mind that the python-mysql bindings available through easy_install are
 broken and you have to either build them yourself or find a precompiled
 binary for Windows somewhere else.  I was trying to get things up and
 running quickly, and it was faster to just use the built-in tool than search
 for a pre-built system.


 I don't know anything about the BitNami stack. We don't officially support
 it, but can still try to guide you through. The thing with that is, you'll
 end up wanting to upgrade, and that may require upgrading Django, and so
 you'd have to figure out how that all works with the stack, and how that
 also works with the way Review Board is upgraded.

 The fact that you're doing all this on Windows is probably the core
 problem. A lot of the dependencies we use are absolutely a pain on Windows,
 due to a variety of reasons. If you can at all try this on Linux (Ubuntu
 specifically, perhaps in a VM) life will be better for you.


 Unfortunately, that's not an option.  We do Windows development on Windows
 machines here.  But our source control is in Mercurial and no one comes
 recommended more highly than Review Board, so I thought I'd give it a shot.
  But really, I can't afford to run a VM on my workstation just to run a code
 review tool.  If that's what I'll have to end up doing, we'll likely have to
 use some other tool.


 Now the problem you're hitting is due to the Python path not factoring in
 your Review Board install. This is probably a side effect of using the
 BitNami stack. I imagine it has its own Python interpreter and modules,
 which means it may have a different Python path from what you're using to
 install Review Board. The result would be Review Board installed in one
 place, and your stack looking for modules in another place.

 Without knowing how their stack works, it's hard to give specific
 instructions. You'd need to scrap your local Python and use everything from
 their Python. That means their 

Re: Review Submitter Field Out of Whack

2011-05-25 Thread Ho-Hum-Chum
I wish I could offer a more detail explanation of how we got this
resolved, but it turns out it had something to do with the persistent
data left in each repo when the Reviewboard hook information was
established.  Something about a file being inside of each repo that
held some sort of authentication information, which was being used to
identify the submitter for each change for review.  Wish I could offer
more but I hope this helps someone.

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


Issue 2110 in reviewboard: Period/comma keys do not move the scrollbar in Chrome 12

2011-05-25 Thread reviewboard

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

New issue 2110 by gros...@gmail.com: Period/comma keys do not move the  
scrollbar in Chrome 12

http://code.google.com/p/reviewboard/issues/detail?id=2110

* 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.5.5

What's the URL of the page containing the problem?
Any review URL does this

What steps will reproduce the problem?
1. Make sure that the review encompasses more than the size of your screen  
so the scroll bar is showing.

2. Hit the period or arrow keys several times.

What is the expected output? What do you see instead?
I would expect the page to automatically scroll to the location of the next  
part of the review.  Instead, the page stays at the same location.


What operating system are you using? What browser?
Windows 7 SP1 x64.  Chrome 12.0.742.60

Please provide any additional information below.


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



Re: Issue 2009 in reviewboard: Web API does not return diffs for review request

2011-05-25 Thread reviewboard


Comment #1 on issue 2009 by robert.munteanu: Web API does not return diffs  
for review request

http://code.google.com/p/reviewboard/issues/detail?id=2009

It seems that the error appears mostly ( exclusively? ) for closed issues.

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



Re: Issue 2009 in reviewboard: Web API does not return diffs for review request

2011-05-25 Thread reviewboard

Updates:
Labels: Milestone-Release1.6 Component-API

Comment #2 on issue 2009 by chip...@gmail.com: Web API does not return  
diffs for review request

http://code.google.com/p/reviewboard/issues/detail?id=2009

(No comment was entered for this change.)

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



Issue 2111 in reviewboard: Profile matching query does not exist error.

2011-05-25 Thread reviewboard

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