Opened 8 years ago
Last modified 8 years ago
#27766 closed Bug
runserver crashes because of auto-reloader (Py3 + PowerShell) — at Initial Version
Reported by: | oTree-org | Owned by: | nobody |
---|---|---|---|
Component: | Utilities | Version: | 1.10 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Repro steps:
- Install Python 3.x (doesn't happen on 2.x)
- Open Windows PowerShell (only happens with PowerShell, not CMD or bash)
pip install django
django-admin startproject foobar
cd foobar
python manage.py runserver
This causes a Windows crash with a window that says: "Python has stopped working": http://imgur.com/dOt6eKE
However, python manage.py runserver --noreload
works fine, so it seems related to the auto-reloader.
I have seen it happen with at least 5 people using Py3 & PowerShell, with Windows 8 or 10, and various PC models. (Though most people seem unaffected.)
Occurs with Django 1.8/1.10 and Python 3.5/3.6, maybe others also.
Note:
See TracTickets
for help on using tickets.