clusterify/clusterify — Issue #63: syncdb causes "_mysql_exceptions.OperationalError: (1050, "Table 'projects_project_proposed_votes' already exists")"
Author: mciocchi
Created: 2011-10-15 23:13:39+00:00
State: open

v3rm0nt@Bento:~/Code/clusterify$ python2.6 manage.py syncdb
/home/v3rm0nt/Code/clusterify/registration/models.py:4: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Skipping creation of NoticeTypes as notification app not found
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_comments
Creating table django_comment_flags
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table registration_registrationprofile
Creating table registration_openidassociation
Creating table registration_profile
Creating table projects_project
Creating table projects_project_proposed_votes
Creating table projects_comment
Creating table projects_membership
Creating table tagging_tag
Creating table tagging_taggeditem
Creating table django_openidconsumer_nonce
Creating table django_openidconsumer_association
Creating table django_project_version
Creating table django_evolution
Creating table flag_flaggedcontent
Creating table flag_flaginstance
Creating table messages_message
Creating table eventapp_event
Creating table eventapp_comment
Creating table tracking_visitor
Creating table tracking_untrackeduseragent
Creating table tracking_bannedip
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 361, in execute_manager
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 306, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 192, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 219, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 348, in handle
return self.handle_noargs(**options)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/commands/syncdb.py", line 95, in handle_noargs
cursor.execute(statement)
File "/usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py", line 83, in execute
return self.cursor.execute(query, args)
File "/usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3-py2.6-linux-i686.egg/MySQLdb/cursors.py", line 174, in execute
self.errorhandler(self, exc, value)
File "/usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3-py2.6-linux-i686.egg/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1050, "Table 'projects_project_proposed_votes' already exists")
v3rm0nt@Bento:~/Code/clusterify$