Skip to content

Instantly share code, notes, and snippets.

@AeroNotix
Created March 25, 2012 10:30
Show Gist options
  • Select an option

  • Save AeroNotix/2192737 to your computer and use it in GitHub Desktop.

Select an option

Save AeroNotix/2192737 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "djangotest/manage.py", line 14, in <module>
execute_manager(settings)
File "/app/lib/python2.7/site-packages/django/core/management/__init__.py", line 459, in execute_manager
utility.execute()
File "/app/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/app/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/app/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/app/lib/python2.7/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 70, in handle
default_username = get_default_username()
File "/app/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py", line 105, in get_default_username
default_username = get_system_username()
File "/app/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py", line 85, in get_system_username
return getpass.getuser().decode(locale.getdefaultlocale()[1])
TypeError: decode() argument 1 must be string, not None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment