-
-
Save joar/c8725614b1e870ddee9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File '/srv/mg.wandborg.se/mediagoblin/mediagoblin/edit/views.py', line 277 in delete_account | |
request.user.delete() | |
File '/srv/mg.wandborg.se/mediagoblin/mediagoblin/db/models.py', line 101 in delete | |
super(User, self).delete(**kwargs) | |
File '/srv/mg.wandborg.se/mediagoblin/mediagoblin/db/base.py', line 59 in delete | |
sess.commit() | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/session.py', line 655 in commit | |
self.transaction.commit() | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/session.py', line 313 in commit | |
self._prepare_impl() | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/session.py', line 297 in _prepare_impl | |
self.session.flush() | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/session.py', line 1587 in flush | |
self._flush(objects) | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/session.py', line 1658 in _flush | |
flush_context.execute() | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/unitofwork.py', line 331 in execute | |
rec.execute(self) | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/unitofwork.py', line 498 in execute | |
uow | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/persistence.py', line 115 in delete_obj | |
cached_connections, mapper, table, delete) | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/orm/persistence.py', line 671 in _emit_delete_statements | |
connection.execute(statement, del_objects) | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py', line 1450 in execute | |
params) | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py', line 1583 in _execute_clauseelement | |
compiled_sql, distilled_params | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py', line 1697 in _execute_context | |
context) | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/engine/base.py', line 1690 in _execute_context | |
context) | |
File '/srv/mg.wandborg.se/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/engine/default.py', line 335 in do_execute | |
cursor.execute(statement, parameters) | |
IntegrityError: (IntegrityError) update or delete on table "core__users" violates foreign key constraint "core__media_comments_author_fkey" on table "core__media_comments" | |
DETAIL: Key (id)=(685) is still referenced from table "core__media_comments". | |
'DELETE FROM core__users WHERE core__users.id = %(id)s' {'id': 685} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment