OSError in one of the threads of the Bottle environment, when the dev server starts

When I start the bottle development server, I see a warning. Can anyone understand what the problem is?

Exception in thread Thread-1:
Traceback (most recent call last):
 File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
   self.run()
 File "/usr/local/lib/python2.6/dist-packages/bottle-0.8.1-py2.6.egg/bottle.py", line 1406, in run
   if path: files[path] = mtime(path)
 File "/usr/local/lib/python2.6/dist-packages/bottle-0.8.1-py2.6.egg/bottle.py", line 1401, in <lambda>
   mtime = lambda path: os.stat(path).st_mtime
OSError: [Errno 20] Not a directory: '/usr/local/lib/python2.6/dist-packages/github2-0.1.2-py2.6.egg/github2/issues.py'
+3
source share
1 answer

This is a bug in the bottle (resolved in 0.8.2). The reboot function checks the modified module files and gets confused by the paths pointing to the egg archives. Update the value of 0.8.2 or disable the reboot function to solve this problem.

+3
source

Source: https://habr.com/ru/post/1755909/


All Articles