Opened 13 years ago
Closed 13 years ago
#19485 closed Bug (fixed)
can't run default project in python3
| Reported by: | aliva | Owned by: | nobody |
|---|---|---|---|
| Component: | Python 3 | Version: | dev |
| Severity: | Release blocker | Keywords: | |
| Cc: | aliva | Triage Stage: | Accepted |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I have updated to master. now I can't run the default project :)
This is What I do
python3 django-admin.py startproject djtest cd djtest python3 manage.py runserver TypeError: unsupported operand type(s) for +: 'filter' and 'list' Validating models... Unhandled exception in thread started by <function wrapper at 0x92224ac>
python2 works fine.
Change History (5)
comment:1 by , 13 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 13 years ago
| Severity: | Normal → Release blocker |
|---|
comment:5 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The full traceback:
Traceback (most recent call last): File "/home/simon/.virtualenvs/34057b31-241e-4e1d-b023-400bd276f426/lib/python3.2/site-packages/django/core/management/base.py", line 222, in run_from_argv self.execute(*args, **options.__dict__) File "/home/simon/.virtualenvs/34057b31-241e-4e1d-b023-400bd276f426/lib/python3.2/site-packages/django/core/management/base.py", line 252, in execute output = self.handle(*args, **options) File "/home/simon/.virtualenvs/34057b31-241e-4e1d-b023-400bd276f426/lib/python3.2/site-packages/django/core/management/commands/runserver.py", line 70, in handle self.run(*args, **options) File "/home/simon/.virtualenvs/34057b31-241e-4e1d-b023-400bd276f426/lib/python3.2/site-packages/django/core/management/commands/runserver.py", line 79, in run autoreload.main(self.inner_run, args, options) File "/home/simon/.virtualenvs/34057b31-241e-4e1d-b023-400bd276f426/lib/python3.2/site-packages/django/utils/autoreload.py", line 174, in main reloader(wrapped_main_func, args, kwargs) File "/home/simon/.virtualenvs/34057b31-241e-4e1d-b023-400bd276f426/lib/python3.2/site-packages/django/utils/autoreload.py", line 141, in python_reloader reloader_thread() File "/home/simon/.virtualenvs/34057b31-241e-4e1d-b023-400bd276f426/lib/python3.2/site-packages/django/utils/autoreload.py", line 122, in reloader_thread if code_changed(): File "/home/simon/.virtualenvs/34057b31-241e-4e1d-b023-400bd276f426/lib/python3.2/site-packages/django/utils/autoreload.py", line 60, in code_changed for filename in filter(None, filenames) + _error_files: TypeError: unsupported operand type(s) for +: 'filter' and 'list'Regresssion introduced by c2a6b2a43fb8f32cff078c823054e2e65f325464.