#23691: devserver autoreload: OSError: [Errno 2] No such file or directory -------------------------------------+------------------------------------- Reporter: sergei-maertens | Owner: nobody Type: Uncategorized | Status: new Component: Core (Management | Version: 1.7 commands) | Keywords: development server, Severity: Normal | autoreload Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- I'm running into an issue with the autoreload from the dev server (might be related to #23083).
Python version: 2.7.8 Virtualenv (with virtualenvwrapper), version 1.11.6 Django 1.7.0 OS: Arch Linux Usually I run the development server from the directory containing manage.py by invoking ./manage.py runserver. This leads to the attached stacktrace. When I run it by using the absolute path to the file, it's fine. Upon further investigation I noticed that at the end of manage.py os.getcwd() prints the expected cwd, but at the point where the exception occurs Python/Django seems to think I'm in my virtualenv directory. Expected cwd: /home/bbt/coding/maykin/leesrijk/src/ Virtualenv location: /home/bbt/coding/.virtualenvs/leesrijk/ Reported cwd in reload.py: /home/bbt/coding/.virtualenvs/leesrijk I'm not sure if this is a Django bug or if something else is going on, but it started happening with Django 1.7, no issues on 1.6. -- Ticket URL: <https://code.djangoproject.com/ticket/23691> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/058.0cda0c0075f524dea5adf540a18e6f27%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.