liuyang1520 / django-command-extensions

Automatically exported from code.google.com/p/django-command-extensions
MIT License
0 stars 0 forks source link

"runserver_plus" isn't working #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using Werkzeug 0.2 cann't run latest SVN django-command-extensions
runserver_plus on WinXP (Python 2.5.2)

N:\src\...>manage.py runserver_plus
Validating models...
0 errors found

Django version 0.97-newforms-admin-SVN-unknown, using settings 'fobs.settings'
Development server is running at http://127.0.0.1:8000/
Using the Werkzeug debugger (http://werkzeug.pocoo.org/)
Quit the server with CTRL-BREAK.
Traceback (most recent call last):
  File "N:\src\...\manage.py", line 11, in <module>
    execute_manager(settings)
  File "E:\Python25\Lib\site-packages\django\core\management\__init__.py",
line 272, in execute_manager
    utility.execute()
  File "E:\Python25\Lib\site-packages\django\core\management\__init__.py",
line 219, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "E:\Python25\Lib\site-packages\django\core\management\base.py", line
72, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "E:\Python25\Lib\site-packages\django\core\management\base.py", line
86, in execute
    output = self.handle(*args, **options)
  File
"e:\python25\lib\site-packages\extensions\management\commands\runserver_plus.py"
,
line 68, in handle
    inner_run()
  File
"e:\python25\lib\site-packages\extensions\management\commands\runserver_plus.py"
,
line 67, in inner_run
    use_reloader=use_reloader, use_debugger=True)
TypeError: run_simple() got an unexpected keyword argument 'use_debugger'

Please provide any additional information below.

It seems that this is because of version inconsistence between Werkzeug on
my machine and used by command-extensions.

Removing "use_debugger=True" from run_simple() call arguments list solved
the problem.

Original issue reported on code.google.com by irium....@gmail.com on 28 Jun 2008 at 8:09

GoogleCodeExporter commented 8 years ago
Works fine with Werkzeug 0.3, the most recent version.  Perhaps a note somewhere
about required minimum version would help.

Original comment by carl.j.meyer on 28 Jun 2008 at 8:32

GoogleCodeExporter commented 8 years ago
Yes, it's workning fine with latest Werkzeug indeed. It's my stupidity: I've
completely forgot about --update option of easy-install and trying "easy_install
werkzeug" telling me that I'm using the latest version...

Original comment by irium....@gmail.com on 28 Jun 2008 at 10:04

GoogleCodeExporter commented 8 years ago
Added a note to the RunServerPlus wiki page that Werkzeug v 0.3 is required, 
marking
this as invalid.

Original comment by carl.j.meyer on 30 Jun 2008 at 3:31