[Django] #32915: ./manage runserver --nostatic still doesn't return a traceback

9 views
Skip to first unread message

Django

unread,
Jul 10, 2021, 10:09:25 AM7/10/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: nobody
Type: Bug | Status: new
Component: Core | Version: 3.2
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Maybe its regression, related to:
https://code.djangoproject.com/ticket/27522:

```
> python manage.py runserver --nostatic
usage: manage.py runserver [-h] [--ipv6] [--nothreading] [--noreload]
[--version] [-v {0,1,2,3}] [--settings SETTINGS]
[--pythonpath PYTHONPATH] [--traceback] [--no-
color] [--force-color]
[addrport]
manage.py runserver: error: unrecognized arguments: --nostatic
```

```
> python manage.py runserver
python manage.py runserver
Traceback (most recent call last):
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/core/management/commands/runserver.py", line 61, in
execute
super().execute(*args, **options)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/core/management/commands/runserver.py", line 68, in handle
if not settings.DEBUG and not settings.ALLOWED_HOSTS:
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/conf/__init__.py", line 82, in __getattr__
self._setup(name)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/conf/__init__.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in
_find_and_load_unlocked
ModuleNotFoundError: No module named 'dist.plug.settings'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "manage.py", line 16, in <module>
execute_from_command_line(sys.argv)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/core/management/__init__.py", line 419, in
execute_from_command_line
utility.execute()
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/core/management/base.py", line 367, in run_from_argv
connections.close_all()
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/db/utils.py", line 208, in close_all
for alias in self:
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/utils/connection.py", line 73, in __iter__
return iter(self.settings)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/utils/connection.py", line 45, in settings
self._settings = self.configure_settings(self._settings)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/db/utils.py", line 144, in configure_settings
databases = super().configure_settings(databases)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/utils/connection.py", line 50, in configure_settings
settings = getattr(django_settings, self.settings_name)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/conf/__init__.py", line 82, in __getattr__
self._setup(name)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/conf/__init__.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/home/michael/venv/project/lib/python3.8/site-
packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in
_find_and_load_unlocked
ModuleNotFoundError: No module named 'dist.plug.settings'
```

Its a ligit error, just hidden by `--nostatic`

--
Ticket URL: <https://code.djangoproject.com/ticket/32915>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 10, 2021, 2:17:57 PM7/10/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: nobody
Type: Bug | Status: new
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Unreviewed => Accepted


Old description:

New description:

--

Comment:

Thanks for the report!

Bisected to c6864a01b25591d3a709da8071413b69c9e35341.

--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:1>

Django

unread,
Jul 11, 2021, 12:01:26 PM7/11/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned

Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Rohith P R):

* owner: nobody => Rohith P R
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:2>

Django

unread,
Jul 11, 2021, 2:42:15 PM7/11/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Rohith P R):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:3>

Django

unread,
Jul 11, 2021, 11:59:37 PM7/11/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:4>

Django

unread,
Jul 12, 2021, 3:30:16 AM7/12/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Rohith P R):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:5>

Django

unread,
Jul 12, 2021, 4:39:46 AM7/12/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:6>

Django

unread,
Jul 12, 2021, 10:05:43 AM7/12/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Rohith P R):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:7>

Django

unread,
Jul 23, 2021, 1:14:06 AM7/23/21
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1

* needs_tests: 0 => 1


Comment:

It's WIP

--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:8>

Django

unread,
Jan 5, 2022, 2:52:11 PM1/5/22
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Rohith P R):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:9>

Django

unread,
Feb 2, 2022, 1:43:28 AM2/2/22
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Rohith P
| R
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:10>

Django

unread,
Mar 13, 2022, 2:47:28 PM3/13/22
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: (none)
Type: Bug | Status: new

Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Rohith P R):

* owner: Rohith P R => (none)
* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:11>

Django

unread,
Nov 28, 2022, 11:57:46 AM11/28/22
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: bcail
Type: Bug | Status: assigned

Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by bcail):

* cc: bcail (added)


* needs_better_patch: 1 => 0

* status: new => assigned

* owner: (none) => bcail
* needs_tests: 1 => 0


Comment:

Opened a new PR from the previous one:
https://github.com/django/django/pull/16337

--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:12>

Django

unread,
Feb 3, 2023, 6:30:55 AM2/3/23
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: bcail
Type: Bug | Status: assigned
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:13>

Django

unread,
Mar 1, 2024, 8:56:39 AMMar 1
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: (none)
Type: Bug | Status: new
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by bcail):

* owner: bcail => (none)
* status: assigned => new

--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:14>

Django

unread,
Mar 18, 2024, 2:44:30 AMMar 18
to django-...@googlegroups.com
#32915: ./manage runserver --nostatic still doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: (none)
Type: Bug | Status: new
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ülgen Sarıkavak):

* cc: Ülgen Sarıkavak (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/32915#comment:15>
Reply all
Reply to author
Forward
0 new messages