(venv)ninux@ale:~/nodeshot$ python manage.py syncdb
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table django_admin_log
Creating table nodeshot_node
Creating table nodeshot_device
Creating table nodeshot_hnav4
Creating table nodeshot_interface
Creating table nodeshot_link
Creating table nodeshot_userprofile
You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/init.py", line 442, in execute_manager
utility.execute()
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(_args, *_options.dict)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(_args, _options)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/base.py", line 351, in handle
return self.handle_noargs(_options)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/commands/syncdb.py", line 109, in handle_noargs
emit_post_sync_signal(created_models, verbosity, interactive, db)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/sql.py", line 190, in emit_post_sync_signal
interactive=interactive, db=db)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/dispatch/dispatcher.py", line 172, in send
response = receiver(signal=self, sender=sender, *_named)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/contrib/auth/management/init.py", line 75, in create_superuser
call_command("createsuperuser", interactive=True)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/init.py", line 166, in call_command
return klass.execute(_args, *_defaults)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(_args, *_options)
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 63, in handle
default_username = get_default_username()
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/contrib/auth/management/init.py", line 107, in get_default_username
default_username = get_system_username()
File "/home/ninux/nodeshot/venv/lib/python2.5/site-packages/django/contrib/auth/management/init.py", line 87, in get_system_username
return getpass.getuser().decode(locale.getdefaultlocale()[1])
TypeError: decode() argument 1 must be string, not None