Issue #335: WebApp Error: AttributeError: 'bool' object has no attribute 'configitems' (conservancy/kallithea)
Brandon Jones
issues-reply at bitbucket.org
Mon Mar 18 13:59:58 UTC 2019
New issue 335: WebApp Error: AttributeError: 'bool' object has no attribute 'configitems'
https://bitbucket.org/conservancy/kallithea/issues/335/webapp-error-attributeerror-bool-object
Brandon Jones:
I recently upgraded from Kallithea 0.3.2 to Kallithea 0.4.0rc1 and, every so often, I am getting an error email with the following traceback and error info (I've removed some environment info for security purposes).
TRACEBACK:
Traceback (most recent call last):
File "c:\kallithea\env\lib\site-packages\kallithea\lib\base.py", line 363, in __call__
return self._handle_request(environ, start_response)
File "c:\kallithea\env\lib\site-packages\kallithea\lib\middleware\simplegit.py", line 68, in _handle_request
return self.application(environ, start_response)
File "c:\kallithea\env\lib\site-packages\kallithea\lib\base.py", line 363, in __call__
return self._handle_request(environ, start_response)
File "c:\kallithea\env\lib\site-packages\kallithea\lib\middleware\simplehg.py", line 162, in _handle_request
self._augment_hgrc(repo_path, baseui)
File "c:\kallithea\env\lib\site-packages\kallithea\lib\middleware\simplehg.py", line 285, in _augment_hgrc
for k, v in repoui.configitems(section):
AttributeError: 'bool' object has no attribute 'configitems'
ENVIRON:
AUTH_TYPE: 'basic'
HTTP_ACCEPT: 'application/mercurial-0.1'
HTTP_ACCEPT_ENCODING: 'identity'
HTTP_CONNECTION: 'close'
HTTP_PROXY_HOST: '127.0.0.1:5005'
HTTP_USER_AGENT: 'mercurial/proto-1.0 (Mercurial 4.0)'
HTTP_X_URL_SCHEME: 'https'
PATH_INFO: '/Halla-Mechatronics-MANDO/Automated-TRC-Dyno-Software/Automated-TRC-Source'
QUERY_STRING: 'cmd=capabilities'
REMOTE_ADDR: '127.0.0.1'
REQUEST_METHOD: 'GET'
SCRIPT_NAME: ''
SERVER_PORT: '5005'
SERVER_PROTOCOL: 'HTTP/1.0'
SERVER_SOFTWARE: 'waitress'
WSGI:
paste.registry: <tg.support.registry.Registry object at 0x0000000006210668>
pylons.status_code_redirect: True
wsgi.errors: <gearbox.commands.serve.LazyWriter object at 0x0000000001BB0DA0>
wsgi.file_wrapper: <class 'waitress.buffers.ReadOnlyFileBasedBuffer'>
wsgi.input: <_io.BytesIO object at 0x000000000670F620>
wsgi.multiprocess: False
wsgi.multithread: True
wsgi.run_once: False
wsgi.url_scheme: 'http'
wsgi.version: (1, 0)
REQUEST:
None
More information about the kallithea-general
mailing list