у меня после правки файлов не взлетело. Пишет 404-ю ошибку.
И еще после ^C выдает кучу ошибок..
[/share/Qweb/monitorrent] # python server.py
/opt/lib/python3.10/site-packages/alembic/util/messaging.py:73: UserWarning: 'connection' argument to configure() is expected to be a sqlalchemy.engine.Connection instance, got <sqlalchemy.orm.session.ContextSession object at 0x36126e0>
warnings.warn(msg)
Server started on 0.0.0.0:6687
^CStopping engine
Stopping new_version_checker
Traceback (most recent call last):
File "/share/HDA_DATA/Qweb/monitorrent/server.py", line 192, in main
server.start()
File "/opt/lib/python3.10/site-packages/cheroot/server.py", line 1777, in start
self.serve()
File "/opt/lib/python3.10/site-packages/cheroot/server.py", line 1753, in serve
self.tick()
File "/opt/lib/python3.10/site-packages/cheroot/server.py", line 1943, in tick
s, addr = self.socket.accept()
File "/opt/lib/python3.10/socket.py", line 293, in accept
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/share/HDA_DATA/Qweb/monitorrent/server.py", line 203, in <module>
main()
File "/share/HDA_DATA/Qweb/monitorrent/server.py", line 198, in main
server.stop()
File "/opt/lib/python3.10/site-packages/cheroot/server.py", line 2087, in stop
self.requests.stop(self.shutdown_timeout)
File "/opt/lib/python3.10/site-packages/cheroot/workers/threadpool.py", line 242, in stop
if worker is not current and worker.isAlive():
AttributeError: 'WorkerThread' object has no attribute 'isAlive'. Did you mean: 'is_alive'?
P.S. У меня не на кинетике, на QNAP..