Re: Issue 1509 in reviewboard: Throws an exception upon a click on review request

2010-03-26 Thread reviewboard

Updates:
Status: ThirdParty

Comment #4 on issue 1509 by trowbrds: Throws an exception upon a click on  
review request

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

Agreed. SQLite works okay for very small sites but starts falling down when  
things get

busier.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@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 1509 in reviewboard: Throws an exception upon a click on review request

2010-03-24 Thread reviewboard


Comment #2 on issue 1509 by dchenbecker: Throws an exception upon a click  
on review request

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

I have a traceback. We've been getting a lot of these on  
reviewboard.liftweb.net.

Whenever this happens people report that RB times out on them:

Traceback (most recent call last):

 File
/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/handlers/base.py,
line 92, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File
/usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/accounts/decorators.py,
line 27, in _check
   return view_func(*args, **kwargs)

 File
/usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/reviews/views.py,
line 118, in review_detail
   visited.save()

 File
/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/base.py,
line 410, in save
   self.save_base(force_insert=force_insert, force_update=force_update)

 File
/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/base.py,
line 474, in save_base
   rows = manager.filter(pk=pk_val)._update(values)

 File
/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/query.py,
line 444, in _update
   return query.execute_sql(None)

 File
/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/sql/subqueries.py,
line 120, in execute_sql
   cursor = super(UpdateQuery, self).execute_sql(result_type)

 File
/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/sql/query.py,
line 2369, in execute_sql
   cursor.execute(sql, params)

 File
/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/backends/sqlite3/base.py,
line 193, in execute
   return Database.Cursor.execute(self, query, params)

OperationalError: database is locked


WSGIRequest
GET:QueryDict: {},
POST:QueryDict: {},
COOKIES:{'collapsediffs': 'True', 'rbsessionid': 
'a09c96867f083371a0185bd517611e64'},
META:{'DOCUMENT_ROOT': '/home/scalatools/reviewboard/htdocs',
 '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': 'ro-RO,ro;q=0.8,en-US;q=0.6,en;q=0.4',
 'HTTP_CONNECTION': 'close',
 'HTTP_COOKIE': 'rbsessionid=a09c96867f083371a0185bd517611e64;  
collapsediffs=True',

 'HTTP_HOST': 'reviewboard.liftweb.net',
 'HTTP_IF_NONE_MATCH': 'marius:2010-03-23 16:33:20.089036:0:1258039150',
 'HTTP_REFERER': 'http://reviewboard.liftweb.net/dashboard/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1036 Safari/532.5',
 'HTTP_X_FORWARDED_FOR': '188.24.32.7',
 'HTTP_X_REAL_IP': '188.24.32.7',
 'PATH_INFO': u'/r/300/',
 'PATH_TRANSLATED': '/home/scalatools/reviewboard/htdocs/r/300/',
 'QUERY_STRING': '',
 'REDIRECT_STATUS': '200',
 'REDIRECT_URI': '/reviewboard.fcgi/r/300/',
 'REMOTE_ADDR': '127.0.0.1',
 'REMOTE_PORT': '32973',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/r/300/',
 'SCRIPT_FILENAME': '/home/scalatools/reviewboard/htdocs/reviewboard.fcgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '127.0.0.1',
 'SERVER_NAME': 'reviewboard.liftweb.net',
 'SERVER_PORT': '8085',
 'SERVER_PROTOCOL': 'HTTP/1.0',
 'SERVER_SOFTWARE': 'lighttpd/1.4.19',
 'wsgi.errors': flup.server.fcgi_base.OutputStream object at 0x19b7150,
 'wsgi.input': flup.server.fcgi_base.InputStream object at 0x1973a10,
 'wsgi.multiprocess': False,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@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 1509 in reviewboard: Throws an exception upon a click on review request

2010-02-22 Thread reviewboard

Updates:
Status: NeedInfo

Comment #1 on issue 1509 by trowbrds: Throws an exception upon a click on  
review request

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

Do you have the full traceback?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@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.