﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23691	devserver autoreload: OSError: [Errno 2] No such file or directory	Sergei Maertens	nobody	"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."	Uncategorized	closed	Core (Management commands)	1.7	Normal	invalid	development server, autoreload		Unreviewed	0	0	0	0	0	0
