Changes between Initial Version and Version 1 of Ticket #18160


Ignore:
Timestamp:
May 20, 2012, 12:39:06 PM (13 years ago)
Author:
Jannis Leidel
Comment:

Fixed traceback.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18160 – Description

    initial v1  
    55the beggining of the file?)
    66
    7     bash $ ./manage.py syncdb
    8     Creating tables ...
    9     Creating table auth_permission
    10     Creating table auth_group_permissions
    11     Creating table auth_group
    12     Creating table auth_user_user_permissions
    13     Creating table auth_user_groups
    14     Creating table auth_user
    15     Creating table django_content_type
    16     Creating table django_session
    17     Creating table django_site
    18     Creating table django_admin_log
     7{{{
     8bash $ ./manage.py syncdb
     9Creating tables ...
     10Creating table auth_permission
     11Creating table auth_group_permissions
     12Creating table auth_group
     13Creating table auth_user_user_permissions
     14Creating table auth_user_groups
     15Creating table auth_user
     16Creating table django_content_type
     17Creating table django_session
     18Creating table django_site
     19Creating table django_admin_log
    1920
    20     You just installed Django's auth system, which means you don't have any superusers defined.
    21     Would you like to create one now? (yes/no): yes
    22     Traceback (most recent call last):
    23       File "./manage.py", line 13, in <module>
    24         execute_from_command_line(sys.argv)
    25       File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 443, in execute_from_command_line
    26         utility.execute()
    27       File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 382, in execute
    28         self.fetch_command(subcommand).run_from_argv(self.argv)
    29       File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 196, in run_from_argv
    30         self.execute(*args, **options.__dict__)
    31       File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 232, in execute
    32         output = self.handle(*args, **options)
    33       File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 371, in handle
    34         return self.handle_noargs(**options)
    35       File "/Users/yippee/projects/YEditor/server/django/core/management/commands/syncdb.py", line 110, in handle_noargs
    36         emit_post_sync_signal(created_models, verbosity, interactive, db)
    37       File "/Users/yippee/projects/YEditor/server/django/core/management/sql.py", line 189, in emit_post_sync_signal
    38         interactive=interactive, db=db)
    39       File "/Users/yippee/projects/YEditor/server/django/dispatch/dispatcher.py", line 172, in send
    40         response = receiver(signal=self, sender=sender, **named)
    41       File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/__init__.py", line 73, in create_superuser
    42         call_command("createsuperuser", interactive=True, database=db)
    43       File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 150, in call_command
    44         return klass.execute(*args, **defaults)
    45       File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 232, in execute
    46         output = self.handle(*args, **options)
    47       File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/commands/createsuperuser.py", line 70, in handle
    48         default_username = get_default_username()
    49       File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/__init__.py", line 105, in get_default_username
    50         default_username = get_system_username()
    51       File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/__init__.py", line 85, in get_system_username
    52         return getpass.getuser().decode(locale.getdefaultlocale()[1])
    53     LookupError: unknown encoding: x-mac-simp-chinese
    54 
     21You just installed Django's auth system, which means you don't have any superusers defined.
     22Would you like to create one now? (yes/no): yes
     23Traceback (most recent call last):
     24File "./manage.py", line 13, in <module>
     25  execute_from_command_line(sys.argv)
     26File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 443, in execute_from_command_line
     27  utility.execute()
     28File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 382, in execute
     29  self.fetch_command(subcommand).run_from_argv(self.argv)
     30File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 196, in run_from_argv
     31  self.execute(*args, **options.__dict__)
     32File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 232, in execute
     33  output = self.handle(*args, **options)
     34File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 371, in handle
     35  return self.handle_noargs(**options)
     36File "/Users/yippee/projects/YEditor/server/django/core/management/commands/syncdb.py", line 110, in handle_noargs
     37  emit_post_sync_signal(created_models, verbosity, interactive, db)
     38File "/Users/yippee/projects/YEditor/server/django/core/management/sql.py", line 189, in emit_post_sync_signal
     39  interactive=interactive, db=db)
     40File "/Users/yippee/projects/YEditor/server/django/dispatch/dispatcher.py", line 172, in send
     41  response = receiver(signal=self, sender=sender, **named)
     42File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/__init__.py", line 73, in create_superuser
     43  call_command("createsuperuser", interactive=True, database=db)
     44File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 150, in call_command
     45  return klass.execute(*args, **defaults)
     46File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 232, in execute
     47  output = self.handle(*args, **options)
     48File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/commands/createsuperuser.py", line 70, in handle
     49  default_username = get_default_username()
     50File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/__init__.py", line 105, in get_default_username
     51  default_username = get_system_username()
     52File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/__init__.py", line 85, in get_system_username
     53  return getpass.getuser().decode(locale.getdefaultlocale()[1])
     54LookupError: unknown encoding: x-mac-simp-chinese
     55}}}
    5556
    5657Thanks,
Back to Top