#34787: The 'runserver' command doesn't work when run from an installed script 
on
Windows
-------------------------------------+-------------------------------------
     Reporter:  Joël Larose          |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Core (Management     |                  Version:  4.2
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Sarah Boyce):

 Hi Joël, thank you for this report!
 Just looking at what changes might be related and found these: #31716
 #32314. As not many of us have a Windows machine, can I be cheeky and ask
 for you to check if this was working on a previous version of Django (to
 rule out if this is a regression)? I would check 3.0 and 3.1. If it's
 never been working then maybe a small sample project would also help to
 make sure I get the file structure correct 💜

 I'm still trying to wrap my head around it but it confuses me that we're
 inside the if of `getattr(__main__, "__spec__", None) is not None` and yet
 the error you seem to be seeing is `ValueError: __main__.__spec__ is None`
 🤔

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34787#comment:3>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018a1d61a8e3-468b295b-629a-4037-9416-4617ba8e7c73-000000%40eu-central-1.amazonses.com.

Reply via email to