#5569: BUG: "python manage.py syncdb" while running tutorial crashes
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Component: Core framework
Version: SVN | Keywords: syncdb
Stage: Unreviewed | Has_patch: 0
-------------------------------+--------------------------------------------
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
--
Ticket URL: <http://code.djangoproject.com/ticket/5569>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---