On Dec 23, 2:50 am, Marcin Kuzminski <
marcin...@gmail.com> wrote:
> I'd enabled stats on demo, and on my beta branch, both work fine. any more
> details how can i reproduce this ?
I'm not sure.
We have it running on Windows Server 2008 R2 with x64 python
This is what comes up in the log:
[0;36m2011-12-23 09:12:27.111 WARNI [rhodecode.lib.auth] user None
NOT authenticated [0m
[0;32m2011-12-23 09:12:27.454 INFO [rhodecode.lib.auth] user satpal
authenticated correctly [0m
[0;32m2011-12-23 09:12:27.470 INFO [rhodecode.controllers.login]
user satpal is now authenticated and stored in session [0m
[0;32m2011-12-23 09:12:49.217 INFO [rhodecode.lib.utils] Adding user
<AuthUser('id:2:satpal|True')>, action admin_updated_repo on Utils/
ProjectOrphans [0m
[0;32m2011-12-23 09:12:49.217 INFO [paste.httpserver.ThreadPool]
kill_hung_threads status: 5 threads (0 working, 5 idle, 0 starting)
ave time N/A, max time 0.00sec, killed 0 workers [0m
[0;32m2011-12-23 09:12:57.188 INFO [rhodecode.lib.celerylib.tasks]
running task with lockkey
task_420c028f68feec08a64c60a69b8bc56f.lock [0m
Error - <type 'exceptions.TypeError'>: nil is not JSON serializable
URL:
http://192.168.1.36:5000/Utils/ProjectOrphans/summary
File 'C:\\Python27\\lib\\site-packages\\weberror-0.10.3-py2.7.egg\
\weberror\\errormiddleware.py', line 162 in __call__
app_iter = self.application(environ, sr_checker)
File 'C:\\Python27\\lib\\site-packages\\rhodecode-1.2.3-py2.7.egg\
\rhodecode\\lib\\middleware\\simplegit.py', line 106 in __call__
return self.application(environ, start_response)
File 'C:\\Python27\\lib\\site-packages\\rhodecode-1.2.3-py2.7.egg\
\rhodecode\\lib\\middleware\\simplehg.py', line 71 in __call__
return self.application(environ, start_response)
File 'C:\\Python27\\lib\\site-packages\\beaker-1.5.4-py2.7.egg\\beaker\
\middleware.py', line 152 in __call__
return self.wrap_app(environ, session_start_response)
File 'C:\\Python27\\lib\\site-packages\\routes-1.12.3-py2.7.egg\\routes
\\middleware.py', line 131 in __call__
response =
self.app(environ, start_response)
File 'C:\\Python27\\lib\\site-packages\\pylons-1.0-py2.7.egg\\pylons\
\wsgiapp.py', line 107 in __call__
response = self.dispatch(controller, environ, start_response)
File 'C:\\Python27\\lib\\site-packages\\pylons-1.0-py2.7.egg\\pylons\
\wsgiapp.py', line 312 in dispatch
return controller(environ, start_response)
File 'C:\\Python27\\lib\\site-packages\\rhodecode-1.2.3-py2.7.egg\
\rhodecode\\lib\\base.py', line 52 in __call__
return WSGIController.__call__(self, environ, start_response)
File 'C:\\Python27\\lib\\site-packages\\pylons-1.0-py2.7.egg\\pylons\
\controllers\\core.py', line 211 in __call__
response = self._dispatch_call()
File 'C:\\Python27\\lib\\site-packages\\pylons-1.0-py2.7.egg\\pylons\
\controllers\\core.py', line 162 in _dispatch_call
response = self._inspect_call(func)
File 'C:\\Python27\\lib\\site-packages\\pylons-1.0-py2.7.egg\\pylons\
\controllers\\core.py', line 105 in _inspect_call
result = self._perform_call(func, args)
File 'C:\\Python27\\lib\\site-packages\\pylons-1.0-py2.7.egg\\pylons\
\controllers\\core.py', line 57 in _perform_call
return func(**args)
File 'C:\\Python27\\lib\\site-packages\\rhodecode-1.2.3-py2.7.egg\
\rhodecode\\controllers\\summary.py', line 143 in index
key=lambda k: k[1])[:10]
File 'C:\\Python27\\lib\\json\\__init__.py', line 231 in dumps
return _default_encoder.encode(obj)
File 'C:\\Python27\\lib\\json\\encoder.py', line 201 in encode
chunks = self.iterencode(o, _one_shot=True)
File 'C:\\Python27\\lib\\json\\encoder.py', line 264 in iterencode
return _iterencode(o, 0)
File 'C:\\Python27\\lib\\json\\encoder.py', line 178 in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: nil is not JSON serializable
You can see that I enable the statics and then it falls over.
Satpal