繁体   English   中英

在运行dev服务器的同时,在Bottle框架的一个线程中出现OSError

[英]OSError in one of the threads of Bottle framework, while running the dev server

当我运行瓶子开发服务器时,我注意到出现了一些警告。 任何人都可以弄明白究竟是什么问题?

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'

这是瓶中的一个错误(在0.8.2中解决)。 重新加载功能会检查已修改的模块文件,并且会被指向egg存档的路径混淆。 更新到0.8.2或禁用重新加载功能来解决此问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM