Guest User

Untitled

a guest
Sep 9th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.55 KB | None | 0 0
  1. [9:11:24] bcorrales:askbot-devel git:(master) $ askbot-setup
  2.  
  3. Deploying Askbot - Django Q&A forum application
  4. Problems installing? -> please email admin@askbot.org
  5.  
  6. To CANCEL - hit Ctr-C at any time
  7. Where deploy the forum (directory)? Ctrl-C to quit. /Users/bcorrales/code/django/personal/askbot-mac
  8. Please enter a value for database password:root
  9. Please enter a value for database name:askbotmac
  10. Please enter a value for domain name:localhost
  11. Please enter a value for database user:root
  12. Copying files:
  13. * __init__.py
  14. * manage.py
  15. * urls.py
  16. Creating settings file
  17. settings file created
  18.  
  19. copying directories: * doc
  20. * cron
  21. * upfiles
  22.  
  23. Done. Please find further instructions in the file below:
  24. /Users/bcorrales/code/django/personal/askbot-devel/askbot/doc/INSTALL
  25. [9:12:32] bcorrales:askbot-devel git:(master) $ cd ..
  26. [9:12:45] bcorrales:personal $ cd askbot-mac
  27. [9:12:48] bcorrales:askbot-mac $ ls
  28. __init__.py askbot log manage.py settings.py urls.py
  29.  
  30. [9:13:10] bcorrales:askbot-mac $ nano settings.py
  31.  
  32. [9:19:59] bcorrales:askbot-mac $ python manage.py syncdb
  33.  
  34.  
  35. ************************
  36. * *
  37. * Askbot self-test *
  38. * *
  39. ************************
  40.  
  41.  
  42. Your output encoding is not UTF-8, there may be issues with the software when anything is printed to the terminal or log files
  43. (1146, "Table 'askbotmac.askbot_badgedata' doesn't exist")
  44. Syncing...
  45. Creating tables ...
  46. Creating table auth_permission
  47. Creating table auth_group_permissions
  48. Creating table auth_group
  49. Creating table auth_user_user_permissions
  50. Creating table auth_user_groups
  51. Creating table auth_user
  52. Creating table auth_message
  53. Creating table django_content_type
  54. Creating table django_session
  55. Creating table django_site
  56. Creating table django_admin_log
  57. Creating table south_migrationhistory
  58. Creating table livesettings_setting
  59. Creating table livesettings_longsetting
  60. Creating table robots_url
  61. Creating table robots_rule_sites
  62. Creating table robots_rule_allowed
  63. Creating table robots_rule_disallowed
  64. Creating table robots_rule
  65. Creating table celery_taskmeta
  66. Creating table celery_tasksetmeta
  67. Creating table djcelery_intervalschedule
  68. Creating table djcelery_crontabschedule
  69. Creating table djcelery_periodictasks
  70. Creating table djcelery_periodictask
  71. Creating table djcelery_workerstate
  72. Creating table djcelery_taskstate
  73. Creating table djkombu_queue
  74. Creating table djkombu_message
  75. Creating table followit_followuser
  76.  
  77. You just installed Django's auth system, which means you don't have any superusers defined.
  78. Would you like to create one now? (yes/no): yes
  79. Username (Leave blank to use 'bcorrales'): django
  80. E-mail address: byroncorrales@gmail.com
  81. Password:
  82. Password (again):
  83. Error: Your passwords didn't match.
  84. Password:
  85. Password (again):
  86. Askbot Superuser created successfully.
  87. Installing custom SQL ...
  88. Installing indexes ...
  89. No fixtures found.
  90.  
  91. Synced:
  92. > django.contrib.auth
  93. > django.contrib.contenttypes
  94. > django.contrib.sessions
  95. > django.contrib.sites
  96. > django.contrib.staticfiles
  97. > django.contrib.admin
  98. > django.contrib.sitemaps
  99. > south
  100. > askbot.deps.livesettings
  101. > keyedcache
  102. > robots
  103. > django_countries
  104. > djcelery
  105. > djkombu
  106. > followit
  107.  
  108. Not synced (use migrations):
  109. - askbot.deps.django_authopenid
  110. - askbot
  111. (use ./manage.py migrate to migrate these)
  112. [9:20:34] bcorrales:askbot-mac $ python manage.py migrate askbot
  113.  
  114.  
  115. ************************
  116. * *
  117. * Askbot self-test *
  118. * *
  119. ************************
  120.  
  121.  
  122. Your output encoding is not UTF-8, there may be issues with the software when anything is printed to the terminal or log files
  123. (1146, "Table 'askbotmac.askbot_badgedata' doesn't exist")
  124. Running migrations for askbot:
  125. - Migrating forwards to 0107_added_db_indexes.
  126. > askbot:0001_initial
  127. > askbot:0002_auto__add_field_answer_text__chg_field_answer_html__add_field_question
  128. > askbot:0003_copy_denorm_text_record_to_posts_for_fulltext_search
  129. - Migration 'askbot:0003_copy_denorm_text_record_to_posts_for_fulltext_search' is marked for no-dry-run.
  130. > askbot:0004_install_full_text_indexes_for_mysql
  131. - Migration 'askbot:0004_install_full_text_indexes_for_mysql' is marked for no-dry-run.
  132.  
  133. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  134. !! !!
  135. !! WARNING: Your database engine does not support !!
  136. !! full text search. Please switch to PostgresQL !!
  137. !! or select MyISAM engine for MySQL !!
  138. !! !!
  139. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  140.  
  141. > askbot:0005_install_badges
  142. - Migration 'askbot:0005_install_badges' is marked for no-dry-run.
  143. adding new badge Disciplined
  144. adding new badge Peer Pressure
  145. adding new badge Nice answer
  146. adding new badge Nice Question
  147. adding new badge Pundit
  148. adding new badge Popular Question
  149. adding new badge Citizen patrol
  150. adding new badge Cleanup
  151. adding new badge Critic
  152. adding new badge Editor
  153. adding new badge Organizer
  154. adding new badge Scholar
  155. adding new badge Student
  156. adding new badge Supporter
  157. adding new badge Teacher
  158. adding new badge Autobiographer
  159. adding new badge Self-Learner
  160. adding new badge Great Answer
  161. adding new badge Great Question
  162. adding new badge Stellar Question
  163. adding new badge Famous question
  164. adding new badge Alpha
  165. adding new badge Good Answer
  166. adding new badge Good Question
  167. adding new badge Favorite Question
  168. adding new badge Civic duty
  169. adding new badge Strunk & White
  170. adding new badge Generalist
  171. adding new badge Expert
  172. adding new badge Yearling
  173. adding new badge Notable Question
  174. adding new badge Enlightened
  175. adding new badge Beta
  176. adding new badge Guru
  177. adding new badge Necromancer
  178. adding new badge Taxonomist
  179. > askbot:0006_add_subscription_setting_for_comments_and_mentions
  180. - Migration 'askbot:0006_add_subscription_setting_for_comments_and_mentions' is marked for no-dry-run.
  181.  
  182. **************
  183. Adding subscription on comment responses and name mentions for each user.
  184. frequency will be automatically set to the most frequent selection
  185. that user made for any other types of subscriptions
  186.  
  187. added 'no email' subscription for django (1)
  188. > askbot:0007_install_mentions_model
  189. > askbot:0008_add_html_field_to_comments
  190. > askbot:0009_calculate_html_field_for_comments
  191. - Migration 'askbot:0009_calculate_html_field_for_comments' is marked for no-dry-run.
  192. > askbot:0010_add_receiving_user_to_activity_model
  193. > askbot:0011_merge_mentions_into_activity
  194. - Migration 'askbot:0011_merge_mentions_into_activity' is marked for no-dry-run.
  195. > askbot:0012_delete_some_unused_models
  196. > askbot:0013_add_response_count__to_user
  197. probably already have column User.response_count
  198. > askbot:0014_rename_schema_from_forum_to_askbot
  199. > askbot:0015_rename_forum_contenttypes_to_askbot
  200. - Migration 'askbot:0015_rename_forum_contenttypes_to_askbot' is marked for no-dry-run.
  201. > askbot:0016_auto__del_validationhash
  202. > askbot:0017_add_group__moderators
  203. - Migration 'askbot:0017_add_group__moderators' is marked for no-dry-run.
  204. > askbot:0018_add___status__field_to_user_model
  205. > askbot:0019_populate_user_status_field
  206. - Migration 'askbot:0019_populate_user_status_field' is marked for no-dry-run.
  207. > askbot:0020_auto__add_field_repute_comment__chg_field_repute_question
  208. ! Error found during real run of migration! Aborting.
  209.  
  210. ! Since you have a database that does not support running
  211. ! schema-altering statements in transactions, we have had
  212. ! to leave it in an interim state between migrations.
  213.  
  214. ! You *might* be able to recover with: = ALTER TABLE `repute` DROP COLUMN `comment` CASCADE; []
  215.  
  216. ! The South developers regret this has happened, and would
  217. ! like to gently persuade you to consider a slightly
  218. ! easier-to-deal-with DBMS.
  219. ! NOTE: The error which caused the migration to fail is further up.
  220. Traceback (most recent call last):
  221. File "manage.py", line 11, in <module>
  222. execute_manager(settings)
  223. File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
  224. utility.execute()
  225. File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 379, in execute
  226. self.fetch_command(subcommand).run_from_argv(self.argv)
  227. File "/Library/Python/2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
  228. self.execute(*args, **options.__dict__)
  229. File "/Library/Python/2.7/site-packages/django/core/management/base.py", line 220, in execute
  230. output = self.handle(*args, **options)
  231. File "/Library/Python/2.7/site-packages/south/management/commands/migrate.py", line 105, in handle
  232. ignore_ghosts = ignore_ghosts,
  233. File "/Library/Python/2.7/site-packages/south/migration/__init__.py", line 191, in migrate_app
  234. success = migrator.migrate_many(target, workplan, database)
  235. File "/Library/Python/2.7/site-packages/south/migration/migrators.py", line 221, in migrate_many
  236. result = migrator.__class__.migrate_many(migrator, target, migrations, database)
  237. File "/Library/Python/2.7/site-packages/south/migration/migrators.py", line 292, in migrate_many
  238. result = self.migrate(migration, database)
  239. File "/Library/Python/2.7/site-packages/south/migration/migrators.py", line 125, in migrate
  240. result = self.run(migration)
  241. File "/Library/Python/2.7/site-packages/south/migration/migrators.py", line 99, in run
  242. return self.run_migration(migration)
  243. File "/Library/Python/2.7/site-packages/south/migration/migrators.py", line 81, in run_migration
  244. migration_function()
  245. File "/Library/Python/2.7/site-packages/south/migration/migrators.py", line 57, in <lambda>
  246. return (lambda: direction(orm))
  247. File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/migrations/0020_auto__add_field_repute_comment__chg_field_repute_question.py", line 15, in forwards
  248. db.alter_column(u'repute', 'question_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['askbot.Question'], null=True, blank=True))
  249. File "/Library/Python/2.7/site-packages/south/db/generic.py", line 397, in alter_column
  250. field.rel.to._meta.get_field(field.rel.field_name).column
  251. File "/Library/Python/2.7/site-packages/south/db/generic.py", line 150, in execute
  252. cursor.execute(sql, params)
  253. File "/Library/Python/2.7/site-packages/django/db/backends/util.py", line 34, in execute
  254. return self.cursor.execute(sql, params)
  255. File "/Library/Python/2.7/site-packages/django/db/backends/mysql/base.py", line 86, in execute
  256. return self.cursor.execute(query, args)
  257. File "/Library/Python/2.7/site-packages/MySQLdb/cursors.py", line 174, in execute
  258. self.errorhandler(self, exc, value)
  259. File "/Library/Python/2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
  260. raise errorclass, errorvalue
  261. _mysql_exceptions.OperationalError: (1005, "Can't create table 'askbotmac.#sql-154_10' (errno: 121)")
Add Comment
Please, Sign In to add comment