Version 9 Setup error

Version upgrade to 9 has been completed successfully. But when i do bench start and do basic setup gives error at the end.
image

Got below error in terminal:
Traceback (most recent call last):
23:10:56 web.1 | File “/usr/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
23:10:56 web.1 | File “/usr/lib/python2.7/threading.py”, line 763, in run
23:10:56 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 702, in inner
23:10:56 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 539, in serve_forever
23:10:56 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 235, in serve_forever
23:10:56 web.1 | <type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute ‘select’
23:10:56 web.1 |
23:10:56 web.1 | Traceback (most recent call last):
23:10:56 web.1 | File “/usr/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
23:10:56 web.1 | File “/usr/lib/python2.7/threading.py”, line 763, in run
23:10:56 web.1 | Traceback (most recent call last):
23:10:56 web.1 | File “/usr/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
23:10:56 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/watchdog/observers/api.py”, line 237, in run
23:10:56 web.1 | <type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute ‘Empty’
23:10:56 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 596, in process_request_thread
23:10:56 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 548, in handle_error
23:10:56 web.1 | <type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute ‘handle_error’
23:10:56 web.1 | * Restarting with inotify reloader
23:10:58 web.1 | * Debugger is active!
23:10:58 web.1 | * Debugger PIN: 252-811-521

Any help will be really appreciated.

Can you share your complete trace from the terminal

Hello, @jparikh,

I got the same issue after upgrading v9 and setup the wizard.
This problem might happen for HTTP request timeout.
Set the HTTP request time using below command and reinstall:

bench config http_timeout 600
bench --site [site name] --force reinstall

it works for me.
Thanks

2 Likes

Thanks @yogendrasinh and @netchampfaris Issue has been resolved.

@jparikh @yogendrasinh

Please help me to configure the basic setup for the new site in v9.

I have applied the below commands to solve my issue, but still, I am getting ‘There were errors’ error on my site.

Thank you.