Ticket #229 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

Error in --reload

Reported by: sluggo Owned by: ianb
Priority: normal Milestone: 1.4.1
Component: deploy Version: released-version
Severity: normal Keywords:
Cc:

Description

Running "paster serve --reload development.ini" in the wrong directory causes this error:

  File "/home/mso/venv/pylons/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py", line 328, in __init__
    "File %r not found" % filename)
OSError: File '/home/mso/venv/pylons/lib/python2.5/site-packages/development.ini' not found
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:

Without "--reload" only the OSError occurs, which is the correct behavior.

Change History

Changed 4 years ago by ianb

  • status changed from new to closed
  • resolution set to worksforme

I can't reproduce this on Ubuntu (tried just running paster serve --reload doesnotexist.ini).

Note: See TracTickets for help on using tickets.