2011-07-18T08:13:50 ERROR root Exception during task Traceback (most recent call last): File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.server-3.6.1-py2.6.egg/zope/server/taskthreads.py", line 48, in handlerThread task.service() File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.server-3.6.1-py2.6.egg/zope/server/serverchannelbase.py", line 207, in service task.service() File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.server-3.6.1-py2.6.egg/zope/server/http/httptask.py", line 71, in service self.channel.server.executeRequest(self) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zc.zservertracelog-1.1.5-py2.6.egg/zc/zservertracelog/tracelog.py", line 114, in executeRequest response = self.application(env, start_response) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.app.wsgi-3.6.0-py2.6.egg/zope/app/wsgi/__init__.py", line 58, in __call__ request = publish(request, handle_errors=handle_errors) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.publisher-3.12.0-py2.6.egg/zope/publisher/publish.py", line 144, in publish obj, request, exc_info, True) File "/srv/launchpad.net/production/launchpad-rev-13453/lib/canonical/launchpad/webapp/publication.py", line 600, in handleException db_policy = store_selector.pop() File "/srv/launchpad.net/production/launchpad-rev-13453/lib/canonical/launchpad/webapp/adapter.py", line 684, in pop db_policy.uninstall() File "/srv/launchpad.net/production/launchpad-rev-13453/lib/canonical/launchpad/webapp/dbpolicy.py", line 305, in uninstall session_data = ISession(self.request)['lp.dbpolicy'] File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.session-3.9.1-py2.6.egg/zope/session/session.py", line 433, in __getitem__ sd = sdc[self.client_id] File "/srv/launchpad.net/production/launchpad-rev-13453/lib/canonical/launchpad/webapp/pgsession.py", line 74, in __getitem__ return PGSessionData(self, client_id) File "/srv/launchpad.net/production/launchpad-rev-13453/lib/canonical/launchpad/webapp/pgsession.py", line 104, in __init__ self.store.execute(query, (self.client_id,), noresult=True) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/store.py", line 108, in execute return self._connection.execute(statement, params, noresult) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 249, in execute return Connection.execute(self, statement, params, noresult) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/database.py", line 229, in execute self._event.emit("register-transaction") File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/zope/zstorm.py", line 219, in register_store_with_transaction zstorm.transaction_manager.get().join(data_manager) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join self._prior_operation_failed() # doesn't return File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed self._failure_traceback.getvalue()) TransactionFailedError: An operation previously failed, with traceback: File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.server-3.6.1-py2.6.egg/zope/server/taskthreads.py", line 48, in handlerThread task.service() File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.server-3.6.1-py2.6.egg/zope/server/serverchannelbase.py", line 207, in service task.service() File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.server-3.6.1-py2.6.egg/zope/server/http/httptask.py", line 71, in service self.channel.server.executeRequest(self) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zc.zservertracelog-1.1.5-py2.6.egg/zc/zservertracelog/tracelog.py", line 114, in executeRequest response = self.application(env, start_response) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.app.wsgi-3.6.0-py2.6.egg/zope/app/wsgi/__init__.py", line 58, in __call__ request = publish(request, handle_errors=handle_errors) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/zope.publisher-3.12.0-py2.6.egg/zope/publisher/publish.py", line 139, in publish publication.afterCall(request, obj) File "/srv/launchpad.net/production/launchpad-rev-13453/lib/canonical/launchpad/webapp/publication.py", line 539, in afterCall txn.commit() File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit t, v, tb = self._saveAndGetCommitishError() File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit self._commitResources() File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 414, in _commitResources rm.tpc_begin(self) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/zope/zstorm.py", line 251, in tpc_begin self._store.flush() File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/store.py", line 503, in flush self._flush_one(obj_info) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/store.py", line 560, in _flush_one self._connection.execute(expr, noresult=True) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 249, in execute return Connection.execute(self, statement, params, noresult) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/database.py", line 237, in execute raw_cursor = self.raw_execute(statement, params) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 259, in raw_execute return Connection.raw_execute(self, statement, params) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/database.py", line 321, in raw_execute self._check_disconnect(raw_cursor.execute, *args) File "/srv/launchpad.net/production/launchpad-rev-13453/eggs/storm-0.18.0.99_lpwithnodatetime_r393-py2.6-linux-x86_64.egg/storm/database.py", line 366, in _check_disconnect return function(*args, **kwargs) IntegrityError: new row for relation "potemplate" violates check constraint "valid_link"