Guest User

Untitled

a guest
Jun 18th, 2017
518
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. karen@laesa:~/Code/milestone-a$ bin/mysite syncdbSyncing...
  2. Creating table ghettoq_queue
  3. Creating table ghettoq_message
  4. Creating table auth_permission
  5. Creating table auth_group
  6. Creating table auth_user
  7. Creating table auth_message
  8. Creating table django_content_type
  9. Creating table django_session
  10. Creating table django_site
  11. Creating table django_admin_log
  12. Creating table registration_registrationprofile
  13. Creating table django_authopenid_nonce
  14. Creating table django_authopenid_association
  15. Creating table django_authopenid_userassociation
  16. Creating table south_migrationhistory
  17. Creating table celery_taskmeta
  18. Creating table celery_tasksetmeta
  19. Creating table invitation_invitationkey
  20. Creating table votes
  21.  
  22. You just installed Django's auth system, which means you don't have any superusers defined.
  23. Would you like to create one now? (yes/no): yes
  24. Username (Leave blank to use 'karen'):
  25. E-mail address: karen@ischool.berkeley.edu
  26. Password:
  27. Password (again):
  28. Traceback (most recent call last):
  29. File "bin/mysite", line 110, in <module>
  30. djangorecipe.manage.main('mysite.settings')
  31. File "/home/karen/Code/milestone-a/eggs/djangorecipe-0.20-py2.6.egg/djangorecipe/manage.py", line 16, in main
  32. management.execute_manager(mod)
  33. File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line 362, in execute_manager
  34. utility.execute()
  35. File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line 303, in execute
  36. self.fetch_command(subcommand).run_from_argv(self.argv)
  37. File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 195, in run_from_argv
  38. self.execute(*args, **options.__dict__)
  39. File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 222, in execute
  40. output = self.handle(*args, **options)
  41. File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 351, in handle
  42. return self.handle_noargs(**options)
  43. File "/home/karen/Code/milestone-a/eggs/South-0.6.2-py2.6.egg/south/management/commands/syncdb.py", line 62, in handle_noargs
  44. syncdb.Command().execute(**options)
  45. File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 222, in execute
  46. output = self.handle(*args, **options)
  47. File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 351, in handle
  48. return self.handle_noargs(**options)
  49. File "/usr/lib/pymodules/python2.6/django/core/management/commands/syncdb.py", line 99, in handle_noargs
  50. emit_post_sync_signal(created_models, verbosity, interactive)
  51. File "/usr/lib/pymodules/python2.6/django/core/management/sql.py", line 205, in emit_post_sync_signal
  52. interactive=interactive)
  53. File "/usr/lib/pymodules/python2.6/django/dispatch/dispatcher.py", line 166, in send
  54. response = receiver(signal=self, sender=sender, **named)
  55. File "/usr/lib/pymodules/python2.6/django/contrib/auth/management/__init__.py", line 44, in create_superuser
  56. call_command("createsuperuser", interactive=True)
  57. File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line 166, in call_command
  58. return klass.execute(*args, **defaults)
  59. File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 222, in execute
  60. output = self.handle(*args, **options)
  61. File "/usr/lib/pymodules/python2.6/django/contrib/auth/management/commands/createsuperuser.py", line 133, in handle
  62. User.objects.create_superuser(username, email, password)
  63. File "/usr/lib/pymodules/python2.6/django/contrib/auth/models.py", line 109, in create_superuser
  64. u = self.create_user(username, email, password)
  65. File "/usr/lib/pymodules/python2.6/django/contrib/auth/models.py", line 105, in create_user
  66. user.save()
  67. File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line 410, in save
  68. self.save_base(force_insert=force_insert, force_update=force_update)
  69. File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line 506, in save_base
  70. created=(not record_exists), raw=raw)
  71. File "/usr/lib/pymodules/python2.6/django/dispatch/dispatcher.py", line 166, in send
  72. response = receiver(signal=self, sender=sender, **named)
  73. File "/home/karen/Code/milestone-a/mysite/profile/models.py", line 427, in create_profile_when_user_created
  74. person, p_created = Person.objects.get_or_create(user=instance)
  75. File "/usr/lib/pymodules/python2.6/django/db/models/manager.py", line 123, in get_or_create
  76. return self.get_query_set().get_or_create(**kwargs)
  77. File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 328, in get_or_create
  78. return self.get(**kwargs), False
  79. File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 300, in get
  80. num = len(clone)
  81. File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 81, in __len__
  82. self._result_cache = list(self.iterator())
  83. File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 238, in iterator
  84. for row in self.query.results_iter():
  85. File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py", line 287, in results_iter
  86. for rows in self.execute_sql(MULTI):
  87. File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py", line 2369, in execute_sql
  88. cursor.execute(sql, params)
  89. File "/usr/lib/pymodules/python2.6/django/db/backends/util.py", line 19, in execute
  90. return self.cursor.execute(sql, params)
  91. File "/usr/lib/pymodules/python2.6/django/db/backends/mysql/base.py", line 84, in execute
  92. return self.cursor.execute(query, args)
  93. File "/home/karen/Code/milestone-a/eggs/MySQL_python-1.2.3-py2.6-linux-i686.egg/MySQLdb/cursors.py", line 174, in execute
  94. self.errorhandler(self, exc, value)
  95. File "/home/karen/Code/milestone-a/eggs/MySQL_python-1.2.3-py2.6-linux-i686.egg/MySQLdb/connections.py", line 36, in defaulterrorhandler
  96. raise errorclass, errorvalue
  97. _mysql_exceptions.ProgrammingError: (1146, "Table 'oh_milestone_a.profile_person' doesn't exist")
RAW Paste Data