Issue #171: WebApp Error: <type 'exceptions.AttributeError'>: 'PylonsConfig' object has no attribute '_push_object' (conservancy/kallithea)

xel666 issues-reply at bitbucket.org
Thu Oct 29 20:29:24 UTC 2015


New issue 171: WebApp Error: <type 'exceptions.AttributeError'>: 'PylonsConfig' object has no attribute '_push_object'
https://bitbucket.org/conservancy/kallithea/issues/171/webapp-error-pylonsconfig-object-has-no

xel666:

At random times the following error occurs when accessing the web interface, we use uwsgi in an Ubuntu server 14.04 and kallithea 0.3.

```

Module weberror.errormiddleware:171 in __call__
>>  app_iter = self.application(environ, sr_checker)
Module kallithea.lib.middleware.sessionmiddleware:62 in __call__
>>  return self.wrap_app(environ, session_start_response)
Module routes.middleware:131 in __call__
>>  response = self.app(environ, start_response)
Module pylons.wsgiapp:94 in __call__
>>  self.setup_app_env(environ, start_response)
Module pylons.wsgiapp:211 in setup_app_env
>>  self.register_globals(environ)
Module pylons.wsgiapp:140 in register_globals
>>  registry.register(pylons.config, self.config)
Module paste.registry:319 in register
>>  stacked._push_object(obj)
AttributeError: 'PylonsConfig' object has no attribute '_push_object'
CGI Variables
CONTENT_TYPE 	'; charset="utf-8"'
DOCUMENT_ROOT 	'/home/scm/kallithea/kallithea/public'
HTTPS 	'on'
HTTP_ACCEPT 	'text/html,application/xhtml+xml;q=0.9,application/xml;q=0.8,*/*;q=0.8'
HTTP_ACCEPT_ENCODING 	'gzip, deflate'
HTTP_ACCEPT_LANGUAGE 	'en-US,en;q=0.5'
HTTP_CACHE_CONTROL 	'max-age=0'
HTTP_CONNECTION 	'keep-alive'
HTTP_USER_AGENT 	'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0'
PATH_INFO 	'/'
REMOTE_PORT 	'42022'
REQUEST_METHOD 	'GET'
REQUEST_URI 	'/'
SERVER_PORT 	'443'
SERVER_PROTOCOL 	'HTTP/1.1'
UWSGI_SCHEME 	'https'
WSGI Variables
application 	<kallithea.lib.middleware.sessionmiddleware.SecureSessionMiddleware object at 0x7faa0dbffed0>
beaker.get_session 	<bound method SecureSessionMiddleware._get_session of <kallithea.lib.middleware.sessionmiddleware.SecureSessionMiddleware object at 0x7faa0dbffed0>>
beaker.session 	{'authuser': {'is_authenticated': True, 'is_external_auth': False, 'user_id': 2}, '_accessed_time': 1446148933.098275, '_creation_time': 1444248643.457105}
paste.registry 	<paste.registry.Registry object at 0x7faa078dc3d0>
paste.throw_errors 	True
pylons.environ_config 	{'session': 'beaker.session', 'cache': 'beaker.cache'}
pylons.log_debug 	True
pylons.pylons 	<pylons.util.PylonsContext object at 0x7faa078dc190>
routes.route 	<routes.route.Route object at 0x7faa0e3aadd0>
routes.url 	<routes.util.URLGenerator object at 0x7faa078dccd0>
uwsgi.node 	'DGSA-SCM'
uwsgi.version 	'1.9.17.1-debian'
wsgi process 	'Multiprocess'
wsgi.file_wrapper 	<built-in function uwsgi_sendfile>
wsgiorg.routing_args 	(<routes.util.URLGenerator object at 0x7faa078dccd0>, {'action': u'index', 'controller': u'home'})
```





More information about the kallithea-general mailing list