Opened 11 years ago

Closed 11 years ago

#22388 closed Bug (invalid)

python manage.py syncdb not working

Reported by: khwaja Owned by: nobody
Component: *.djangoproject.com Version: 1.6
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

when i type this command in windows cmd following error happens:

Traceback (most recent call last):

File "manage.py", line 10, in <module>

execute_from_command_line(sys.argv)

File "C:\Python27\lib\site-packages\django\core\management\init.py", line

399, in execute_from_command_line

utility.execute()

File "C:\Python27\lib\site-packages\django\core\management\init.py", line

392, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)

File "C:\Python27\lib\site-packages\django\core\management\base.py", line 242,

in run_from_argv

self.execute(*args, options.dict)

File "C:\Python27\lib\site-packages\django\core\management\base.py", line 280,

in execute

translation.activate('en-us')

File "C:\Python27\lib\site-packages\django\utils\translation\init.py", lin

e 130, in activate

return _trans.activate(language)

File "C:\Python27\lib\site-packages\django\utils\translation\trans_real.py", l

ine 188, in activate

_active.value = translation(language)

File "C:\Python27\lib\site-packages\django\utils\translation\trans_real.py", l

ine 177, in translation

default_translation = _fetch(settings.LANGUAGE_CODE)

File "C:\Python27\lib\site-packages\django\utils\translation\trans_real.py", l

ine 158, in _fetch

for appname in reversed(settings.INSTALLED_APPS):

TypeError: argument to reversed() must be a sequence

Please give me suggestions for removing this bug

Change History (1)

comment:1 by Claude Paroz, 11 years ago

Resolution: invalid
Status: newclosed

You should probably review your settings file, but this ticket tracker is not a support channel, see TicketClosingReasons/UseSupportChannels

Note: See TracTickets for help on using tickets.
Back to Top