Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 8.67 KB | None | 0 0
  1.  
  2. % python manage.py syncdb
  3. Syncing...
  4. Creating tables ...
  5. Creating table auth_permission
  6. Creating table auth_group_permissions
  7. Creating table auth_group
  8. Creating table auth_user_user_permissions
  9. Creating table auth_user_groups
  10. Creating table auth_user
  11. Creating table auth_message
  12. Creating table django_content_type
  13. Creating table django_redirect
  14. Creating table django_session
  15. Creating table django_site
  16. Creating table south_migrationhistory
  17. Creating table grappelli_safe_navigation
  18. Creating table grappelli_safe_navigationitem_users
  19. Creating table grappelli_safe_navigationitem_groups
  20. Creating table grappelli_safe_navigationitem
  21. Creating table grappelli_safe_bookmark
  22. Creating table grappelli_safe_bookmarkitem
  23. Creating table grappelli_safe_help
  24. Creating table grappelli_safe_helpitem
  25. Creating table django_admin_log
  26. Creating table django_comments
  27. Creating table django_comment_flags
  28.  
  29. You just installed Django's auth system, which means you don't have any superusers defined.
  30. Would you like to create one now? (yes/no): yes
  31. Username (Leave blank to use 'siteadmin'): admin
  32. E-mail address: someone@site.com
  33. Password:
  34. Password (again):
  35. Superuser created successfully.
  36. Installing custom SQL ...
  37. Installing indexes ...
  38. No fixtures found.
  39.  
  40. Synced:
  41.  > django.contrib.auth
  42.  > django.contrib.contenttypes
  43.  > django.contrib.redirects
  44.  > django.contrib.sessions
  45.  > django.contrib.sites
  46.  > django.contrib.sitemaps
  47.  > debug_toolbar
  48.  > filebrowser_safe
  49.  > south
  50.  > grappelli_safe
  51.  > django.contrib.admin
  52.  > django.contrib.comments
  53.  
  54. Not synced (use migrations):
  55.  - mezzanine.conf
  56.  - mezzanine.core
  57.  - mezzanine.generic
  58.  - mezzanine.blog
  59.  - mezzanine.forms
  60.  - mezzanine.pages
  61.  - mezzanine.twitter
  62. (use ./manage.py migrate to migrate these)
  63.  
  64. % python manage.py migrate
  65. Running migrations for conf:
  66.  - Migrating forwards to 0002_auto__add_field_setting_site.
  67.  > conf:0001_initial
  68.  > conf:0002_auto__add_field_setting_site
  69.  - Loading initial data for conf.
  70. No fixtures found.
  71. Running migrations for core:
  72.  - Migrating forwards to 0002_auto__del_keyword.
  73.  > core:0001_initial
  74.  > core:0002_auto__del_keyword
  75.  - Loading initial data for core.
  76. No fixtures found.
  77. Running migrations for generic:
  78.  - Migrating forwards to 0004_auto__chg_field_rating_object_pk__chg_field_assignedkeyword_object_pk.
  79.  > generic:0001_initial
  80.  > generic:0002_auto__add_keyword__add_assignedkeyword
  81.  > generic:0003_auto__add_rating
  82.  > generic:0004_auto__chg_field_rating_object_pk__chg_field_assignedkeyword_object_pk
  83.  - Loading initial data for generic.
  84. No fixtures found.
  85. Running migrations for blog:
  86.  - Migrating forwards to 0009_auto__chg_field_blogpost_content.
  87.  > blog:0001_initial
  88.  > blog:0002_auto
  89.  > blog:0003_categories
  90.  > blog:0004_auto__del_field_blogpost_category
  91.  > blog:0005_auto__del_comment__add_field_blogpost_comments_count__chg_field_blogpo
  92.  > blog:0006_auto__del_field_blogpost__keywords__add_field_blogpost_keywords_string
  93.  > blog:0007_auto__add_field_blogpost_site
  94.  > blog:0008_auto__add_field_blogpost_rating_average__add_field_blogpost_rating_cou
  95. Traceback (most recent call last):
  96.   File "manage.py", line 34, in <module>
  97.     execute_manager(settings)
  98.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/core/management/__init__.py", line 438, in execute_manager
  99.     utility.execute()
  100.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/core/management/__init__.py", line 379, in execute
  101.     self.fetch_command(subcommand).run_from_argv(self.argv)
  102.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/core/management/base.py", line 191, in run_from_argv
  103.     self.execute(*args, **options.__dict__)
  104.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/core/management/base.py", line 220, in execute
  105.     output = self.handle(*args, **options)
  106.   File "/home/siteadmin/local/lib/python2.5/site-packages/South-0.7.3-py2.5.egg/south/management/commands/migrate.py", line 105, in handle
  107.     ignore_ghosts = ignore_ghosts,
  108.   File "/home/siteadmin/local/lib/python2.5/site-packages/South-0.7.3-py2.5.egg/south/migration/__init__.py", line 191, in migrate_app
  109.     success = migrator.migrate_many(target, workplan, database)
  110.   File "/home/siteadmin/local/lib/python2.5/site-packages/South-0.7.3-py2.5.egg/south/migration/migrators.py", line 221, in migrate_many
  111.     result = migrator.__class__.migrate_many(migrator, target, migrations, database)
  112.   File "/home/siteadmin/local/lib/python2.5/site-packages/South-0.7.3-py2.5.egg/south/migration/migrators.py", line 298, in migrate_many
  113.     interactive=self.interactive)
  114.   File "/home/siteadmin/local/lib/python2.5/site-packages/South-0.7.3-py2.5.egg/south/db/generic.py", line 808, in send_pending_create_signals
  115.     interactive=interactive)
  116.   File "/home/siteadmin/local/lib/python2.5/site-packages/South-0.7.3-py2.5.egg/south/db/generic.py", line 855, in really_send_create_signal
  117.     db=self.db_alias,
  118.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/dispatch/dispatcher.py", line 172, in send
  119.     response = receiver(signal=self, sender=sender, **named)
  120.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/contrib/auth/management/__init__.py", line 30, in create_permissions
  121.     ctype = ContentType.objects.get_for_model(klass)
  122.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/contrib/contenttypes/models.py", line 38, in get_for_model
  123.     defaults = {'name': smart_unicode(opts.verbose_name_raw)},
  124.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/models/manager.py", line 135, in get_or_create
  125.     return self.get_query_set().get_or_create(**kwargs)
  126.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/models/query.py", line 385, in get_or_create
  127.     obj.save(force_insert=True, using=self.db)
  128.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/models/base.py", line 460, in save
  129.     self.save_base(using=using, force_insert=force_insert, force_update=force_update)
  130.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/models/base.py", line 560, in save_base
  131.     transaction.commit_unless_managed(using=using)
  132.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/transaction.py", line 124, in commit_unless_managed
  133.     connection.commit_unless_managed()
  134.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/backends/__init__.py", line 183, in commit_unless_managed
  135.     self._commit()
  136.   File "/home/siteadmin/local/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/backends/__init__.py", line 46, in _commit
  137.     return self.connection.commit()
  138. pysqlite2.dbapi2.OperationalError: cannot commit transaction - SQL statements in progress
  139.  
  140.  
  141. % python manage.py migrate
  142. Running migrations for conf:
  143. - Nothing to migrate.
  144.  - Loading initial data for conf.
  145. No fixtures found.
  146. Running migrations for core:
  147. - Nothing to migrate.
  148.  - Loading initial data for core.
  149. No fixtures found.
  150. Running migrations for generic:
  151. - Nothing to migrate.
  152.  - Loading initial data for generic.
  153. No fixtures found.
  154. Running migrations for blog:
  155.  - Migrating forwards to 0009_auto__chg_field_blogpost_content.
  156.  > blog:0008_auto__add_field_blogpost_rating_average__add_field_blogpost_rating_cou
  157.  > blog:0009_auto__chg_field_blogpost_content
  158.  - Loading initial data for blog.
  159. No fixtures found.
  160. Running migrations for forms:
  161.  - Migrating forwards to 0004_auto__chg_field_form_response__chg_field_form_content.
  162.  > forms:0001_initial
  163.  > forms:0002_auto__add_field_field_placeholder_text
  164.  > forms:0003_auto__chg_field_field_field_type
  165.  > forms:0004_auto__chg_field_form_response__chg_field_form_content
  166.  - Loading initial data for forms.
  167. No fixtures found.
  168. Running migrations for pages:
  169.  - Migrating forwards to 0005_rename_contentpage.
  170.  > pages:0001_initial
  171.  > pages:0002_auto__del_field_page__keywords__add_field_page_keywords_string__chg_fi
  172.  > pages:0003_auto__add_field_page_site
  173.  > pages:0004_auto__del_contentpage__add_richtextpage
  174.  > pages:0005_rename_contentpage
  175.  
  176. Would you like to install some initial content?
  177. Eg: About page, Blog, Contact form. (yes/no): no
  178.  
  179. Would you like to install some initial content?
  180. Eg: About page, Blog, Contact form. (yes/no): no
  181.  - Loading initial data for pages.
  182. No fixtures found.
  183. Running migrations for twitter:
  184.  - Migrating forwards to 0002_auto__chg_field_query_value.
  185.  > twitter:0001_initial
  186.  > twitter:0002_auto__chg_field_query_value
  187.  - Loading initial data for twitter.
  188. No fixtures found.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement