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 | | |
| 21 | You just installed Django's auth system, which means you don't have any superusers defined. |
| 22 | Would you like to create one now? (yes/no): yes |
| 23 | Traceback (most recent call last): |
| 24 | File "./manage.py", line 13, in <module> |
| 25 | execute_from_command_line(sys.argv) |
| 26 | File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 443, in execute_from_command_line |
| 27 | utility.execute() |
| 28 | File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 382, in execute |
| 29 | self.fetch_command(subcommand).run_from_argv(self.argv) |
| 30 | File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 196, in run_from_argv |
| 31 | self.execute(*args, **options.__dict__) |
| 32 | File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 232, in execute |
| 33 | output = self.handle(*args, **options) |
| 34 | File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 371, in handle |
| 35 | return self.handle_noargs(**options) |
| 36 | File "/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) |
| 38 | File "/Users/yippee/projects/YEditor/server/django/core/management/sql.py", line 189, in emit_post_sync_signal |
| 39 | interactive=interactive, db=db) |
| 40 | File "/Users/yippee/projects/YEditor/server/django/dispatch/dispatcher.py", line 172, in send |
| 41 | response = receiver(signal=self, sender=sender, **named) |
| 42 | File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/__init__.py", line 73, in create_superuser |
| 43 | call_command("createsuperuser", interactive=True, database=db) |
| 44 | File "/Users/yippee/projects/YEditor/server/django/core/management/__init__.py", line 150, in call_command |
| 45 | return klass.execute(*args, **defaults) |
| 46 | File "/Users/yippee/projects/YEditor/server/django/core/management/base.py", line 232, in execute |
| 47 | output = self.handle(*args, **options) |
| 48 | File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/commands/createsuperuser.py", line 70, in handle |
| 49 | default_username = get_default_username() |
| 50 | File "/Users/yippee/projects/YEditor/server/django/contrib/auth/management/__init__.py", line 105, in get_default_username |
| 51 | default_username = get_system_username() |
| 52 | File "/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]) |
| 54 | LookupError: unknown encoding: x-mac-simp-chinese |
| 55 | }}} |