﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5569	"BUG: ""python manage.py syncdb"" while running tutorial crashes"	eshapira@…	nobody	"Python Version: 2.5, OS: Windows XP
I was trying out the tutorial with the SVN version.
While running ""python manage.py syncdb"" I get a traceback in call_command() in django.core.management.__init__.py



----
'''Tracback:'''

D:\projects\django_tutorial\src\mysite>python manage.py syncdb
Traceback (most recent call last):
  File ""manage.py"", line 11, in <module>
    execute_manager(settings)
  File ""D:\Python25\Lib\site-packages\django\core\management\__init__.py"", line 264, in execute_mana
ger
    utility.execute()
  File ""D:\Python25\Lib\site-packages\django\core\management\__init__.py"", line 215, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File ""D:\Python25\lib\site-packages\django\core\management\base.py"", line 70, in run_from_argv
    self.execute(*args, **options.__dict__)
  File ""D:\Python25\lib\site-packages\django\core\management\base.py"", line 84, in execute
    output = self.handle(*args, **options)
  File ""D:\Python25\lib\site-packages\django\core\management\base.py"", line 168, in handle
    return self.handle_noargs(**options)
  File ""d:\python25\lib\site-packages\django\core\management\commands\syncdb.py"", line 137, in handl
e_noargs
    call_command('loaddata', subcommand='initial_data', verbosity=verbosity)
  File ""D:\Python25\Lib\site-packages\django\core\management\__init__.py"", line 120, in call_command

    klass = load_command_class(app_name, subcommand)
NameError: global name 'subcommand' is not defined

"		closed	Core (Management commands)	dev		duplicate	syncdb		Ready for checkin	0	0	0	0	0	0
