Issue #163 resolved

server.environment = development crash with "OSError: [Errno 2] No such file or directory"

created an issue

I'm working on Fanery 0.2 and when switched to CherryPy 2.0.0 I got this error:

Traceback (most recent call last): File "", line 5, in ? eval(code) File "", line 75, in ?

File "/home/marco/workspace/fanery/src/fanery/", line 621, in run cpg.server.start() File "/usr/local/lib/python2.4/site-packages/cherrypy/", line 66, in start _cphttpserver.start() File "/usr/local/lib/python2.4/site-packages/cherrypy/", line 38, in start autoreload.main(_start) File "/usr/local/lib/python2.4/site-packages/cherrypy/lib/", line 44, in main reloader_thread() File "/usr/local/lib/python2.4/site-packages/cherrypy/lib/", line 19, in reloader_thread mtime = os.stat(filename).st_mtime OSError: [Errno 2] No such file or directory: '/tmp/'

The curious things is that the problem disappear if 'server.environment' is setted to 'production'. It seams there is some incompatibility between autoreload module and Cheetah Template engine.

Regards, Marco

Comments (3)

  1. Log in to comment