Setup wizard erros

18:56:46 *** Listening on default…
18:56:46 worker_default.1 | 18:56:46 default: frappe.utils.background_jobs.execute_job(async=True, event=None, job_name=u’frappe.utils.global_search.update_global_search’, kwargs={‘doc’: <frappe.core.doctype.version.version.Version object at 0xadddf5cc>}, method=u’frappe.utils.global_search.update_global_search’, site=‘tony.local’, user=u’Administrator’) (1898798b-8d9d-4d55-b91d-0ce9c04c76ab)
18:56:47 worker_default.1 | 18:56:47 default: Job OK (1898798b-8d9d-4d55-b91d-0ce9c04c76ab)
18:56:47 worker_default.1 | 18:56:47 Result is kept for 500 seconds
18:56:47 worker_default.1 | 18:56:47
18:56:47 worker_default.1 | 18:56:47 *** Listening on default…
18:56:47 web.1 | * Detected change in ‘/home/frappe/frappe-bench/apps/frappe/frappe/utils/formatters.py’, reloading
18:56:47 web.1 | INFO:werkzeug: * Detected change in ‘/home/frappe/frappe-bench/apps/frappe/frappe/utils/formatters.py’, reloading
18:56:47 web.1 | * Detected change in ‘/home/frappe/frappe-bench/apps/frappe/frappe/utils/formatters.py’, reloading
18:56:47 web.1 | INFO:werkzeug: * Detected change in ‘/home/frappe/frappe-bench/apps/frappe/frappe/utils/formatters.py’, reloading
18:56:47 web.1 | Exception in thread Thread-25 (most likely raised during interpreter shutdown):Exception in thread Thread-26 (most likely raised during interpreter shutdown):
18:56:47 web.1 | Traceback (most recent call last):
18:56:47 web.1 | File “/usr/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
18:56:47 web.1 | File “/usr/lib/python2.7/threading.py”, line 763, in run
18:56:47 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 596, in process_request_thread
18:56:47 web.1 | Traceback (most recent call last):
18:56:47 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 548, in handle_error
18:56:47 web.1 | <type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute ‘handle_error’
18:56:47 web.1 |
18:56:47 web.1 | File “/usr/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
18:56:47 web.1 | File “/usr/lib/python2.7/threading.py”, line 763, in run
18:56:47 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 596, in process_request_thread
18:56:47 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 548, in handle_error
18:56:47 web.1 | <type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute ‘handle_error’
18:56:47 web.1 | * Restarting with inotify reloader
18:56:49 web.1 | * Debugger is active!
18:56:49 web.1 | * Debugger PIN: 527-697-582

I am not sure how and what resolved this recent similar case -