[pypy-issue] [issue881] Django - Fails to load dev server with autoreload
Ante
tracker at bugs.pypy.org
Sun Sep 25 08:57:20 CEST 2011
New submission from Ante <nikuda at gmail.com>:
PyPy 1.6 under virtualenv
'python manage.py runserver --noload' works.
'python manage.py runserver' fails with the following:
Traceback (most recent call last):
File "app_main.py", line 53, in run_toplevel
Validating models...
File "manage.py", line 14, in <module>
execute_manager(settings)
File "/Users/Ante/.virtualenvs/prj/site-
packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/Users/Ante/.virtualenvs/prj/site-
packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/Ante/.virtualenvs/prj/site-packages/django/core/management/base.py",
line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/Ante/.virtualenvs/prj/site-packages/django/core/management/base.py",
line 220, in execute
output = self.handle(*args, **options)
File "/Users/Ante/.virtualenvs/prj/site-
packages/django/core/management/commands/runserver.py", line 67, in handle
self.run(*args, **options)
File "/Users/Ante/.virtualenvs/prj/site-
packages/django/core/management/commands/runserver.py", line 76, in run
autoreload.main(self.inner_run, args, options)
File "/Users/Ante/.virtualenvs/prj/site-packages/django/utils/autoreload.py", line
138, in main
reloader(main_func, args, kwargs)
File "/Users/Ante/.virtualenvs/prj/site-packages/django/utils/autoreload.py", line
111, in python_reloader
reloader_thread()
File "/Users/Ante/.virtualenvs/prj/site-packages/django/utils/autoreload.py", line
90, in reloader_thread
ensure_echo_on()
File "/Users/Ante/.virtualenvs/prj/site-packages/django/utils/autoreload.py", line
78, in ensure_echo_on
attr_list = termios.tcgetattr(fd)
TypeError: unsupported operand type for int(): 'file'
----------
messages: 3185
nosy: nikuda, pypy-issue
priority: bug
status: unread
title: Django - Fails to load dev server with autoreload
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue881>
________________________________________
More information about the pypy-issue
mailing list