Traceback (most recent call last):


 "/usr/lib/ckan/default/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/usr/lib/ckan/default/lib/python3.8/site-packages/flask/app.py", line 1953, in full_dispatch_request

return self.finalize_request(rv)


 "/usr/lib/ckan/default/lib/python3.8/site-packages/flask/app.py", line 1970, in finalize_request

response = self.process_response(response)


 "/usr/lib/ckan/default/lib/python3.8/site-packages/flask/app.py", line 2267, in process_response

response = handler(response)


 "/home/mark/ckan/lib/default/src/ckan/ckan/config/middleware/flask_app.py", line 400, in ckan_after_request

r_time = time.time() - g.__timer


 "/usr/lib/ckan/default/lib/python3.8/site-packages/werkzeug/local.py", line 347, in __getattr__

return getattr(self._get_current_object(), name)


 "/usr/lib/ckan/default/lib/python3.8/site-packages/werkzeug/local.py", line 347, in __getattr__

return getattr(self._get_current_object(), name)


 "/home/mark/ckan/lib/default/src/ckan/ckan/config/middleware/flask_app.py", line 444, in __getattr__

return getattr(app_globals.app_globals, name)
AttributeError: '_Globals' object has no attribute '__timer'

Traceback (most recent call last):


 "setup.py", line 46, in <module>

setup(


 "/home/dan/.virtualenvs/lean-game/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup

return distutils.core.setup(**attrs)


 "/home/dan/.pyenv/versions/3.8.3/lib/python3.8/distutils/core.py", line 148, in setup

dist.run_commands()


 "/home/dan/.pyenv/versions/3.8.3/lib/python3.8/distutils/dist.py", line 966, in run_commands

self.run_command(cmd)


 "/home/dan/.pyenv/versions/3.8.3/lib/python3.8/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/dan/.virtualenvs/lean-game/lib/python3.8/site-packages/setuptools/command/install.py", line 67, in run

self.do_egg_install()


 "/home/dan/.virtualenvs/lean-game/lib/python3.8/site-packages/setuptools/command/install.py", line 103, in do_egg_install

cmd.ensure_finalized()
# finalize before bdist_egg munges install cmd


 "/home/dan/.pyenv/versions/3.8.3/lib/python3.8/distutils/cmd.py", line 107, in ensure_finalized

self.finalize_options()


 "/home/dan/.virtualenvs/lean-game/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 311, in finalize_options

self.set_undefined_options(


 "/home/dan/.pyenv/versions/3.8.3/lib/python3.8/distutils/cmd.py", line 287, in set_undefined_options

src_cmd_obj.ensure_finalized()


 "/home/dan/.pyenv/versions/3.8.3/lib/python3.8/distutils/cmd.py", line 107, in ensure_finalized

self.finalize_options()


 "/home/dan/.virtualenvs/lean-game/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 17, in finalize_options

self.set_undefined_options('install',('install_layout','install_layout'))


 "/home/dan/.pyenv/versions/3.8.3/lib/python3.8/distutils/cmd.py", line 290, in set_undefined_options

setattr(self, dst_option, getattr(src_cmd_obj, src_option))


 "/home/dan/.pyenv/versions/3.8.3/lib/python3.8/distutils/cmd.py", line 103, in __getattr__

raise AttributeError(attr)
AttributeError: install_layout