#21049: RuntimeError when running ./manage.py runserver
----------------------------+------------------------
     Reporter:  lvella@…    |      Owner:  nobody
         Type:  Bug         |     Status:  new
    Component:  Python 3    |    Version:  1.6-beta-1
     Severity:  Normal      |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0           |      UI/UX:  0
----------------------------+------------------------
 This happened to me when I tried to "./manage.py runserver":


 {{{
 $ ./manage.py runserver
 Validating models...

 Traceback (most recent call last):
   File "./manage.py", line 10, in <module>
     execute_from_command_line(sys.argv)
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/core/management/__init__.py", line 397, in
 execute_from_command_line
     utility.execute()
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/core/management/__init__.py", line 390, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/core/management/base.py", line 240, in run_from_argv
     self.execute(*args, **options.__dict__)
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/core/management/base.py", line 283, in execute
     output = self.handle(*args, **options)
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/core/management/commands/runserver.py", line 75, in handle
     self.run(*args, **options)
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/core/management/commands/runserver.py", line 84, in run
     autoreload.main(self.inner_run, args, options)
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/utils/autoreload.py", line 181, in main
     reloader(wrapped_main_func, args, kwargs)
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/utils/autoreload.py", line 148, in python_reloader
     reloader_thread()
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/utils/autoreload.py", line 129, in reloader_thread
     if code_changed():
   File "/home/vella/projetos/chroni9/venv/site-
 packages/django/utils/autoreload.py", line 60, in code_changed
     for m in sys.modules.values():
 RuntimeError: dictionary changed size during iteration
 }}}

 I am using Django 1.6b2, with the totally experimental Python 3
 implementation from PyPy 2.1, so I can not be sure if this really is a
 Django Python 3 issue, just PyPy issue, or PyPy Python 3 issue.

 It happened only once, just now, and I was unable to reproduce. I am using
 SQLite, if that matters...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21049>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/059.9b39f175d03d8581fc8903716776d17a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to