Slony-I: Table account is replicated and cannot be modified on a subscriber node

Bug #475566 reported by Данило Шеган
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

Traceback (most recent call last):
  File "/srv/launchpad.net/production/launchpad-rev-8642/lib/lp/translations/scripts/po_import.py", line 172, in main
    self._importEntry(entry)
  File "/srv/launchpad.net/production/launchpad-rev-8642/lib/lp/translations/scripts/po_import.py", line 120, in _importEntry
    (mail_subject, mail_body) = target.importFromQueue(entry, self.logger)
  File "/srv/launchpad.net/production/launchpad-rev-8642/lib/lp/translations/model/pofile.py", line 1038, in importFromQueue
    errors, warnings = (
  File "/srv/launchpad.net/production/launchpad-rev-8642/lib/lp/translations/utilities/translation_import.py", line 365, in importFile
    file_importer = POFileImporter(
  File "/srv/launchpad.net/production/launchpad-rev-8642/lib/lp/translations/utilities/translation_import.py", line 722, in __init__
    self.last_translator = self._getPersonByEmail(email, name)
  File "/srv/launchpad.net/production/launchpad-rev-8642/lib/lp/translations/utilities/translation_import.py", line 771, in _getPersonByEmail
    displayname=name, comment=comment)
  File "/srv/launchpad.net/production/launchpad-rev-8642/lib/lp/registry/model/person.py", line 2440, in createPersonAndEmail
    comment=comment, registrant=registrant, account=account)
  File "/srv/launchpad.net/production/launchpad-rev-8642/lib/lp/registry/model/person.py", line 2479, in _newPerson
    account_id = account.id
  File "/srv/launchpad.net/production/launchpad-rev-8642/eggs/storm-0.15-py2.4-linux-x86_64.egg/storm/properties.py", line 60, in __get__
    return obj_info.variables[column].get()
  File "/srv/launchpad.net/production/launchpad-rev-8642/eggs/storm-0.15-py2.4-linux-x86_64.egg/storm/store.py", line 879, in _resolve_lazy_value
    self.flush()
  File "/srv/launchpad.net/production/launchpad-rev-8642/eggs/storm-0.15-py2.4-linux-x86_64.egg/storm/store.py", line 486, in flush
    self._flush_one(obj_info)
  File "/srv/launchpad.net/production/launchpad-rev-8642/eggs/storm-0.15-py2.4-linux-x86_64.egg/storm/store.py", line 523, in _flush_one
    result = self._connection.execute(expr)
  File "/srv/launchpad.net/production/launchpad-rev-8642/eggs/storm-0.15-py2.4-linux-x86_64.egg/storm/databases/postgres.py", line 243, in execute
    result = Connection.execute(self, Returning(statement), params)
  File "/srv/launchpad.net/production/launchpad-rev-8642/eggs/storm-0.15-py2.4-linux-x86_64.egg/storm/database.py", line 217, in execute
    raw_cursor = self.raw_execute(statement, params)
  File "/srv/launchpad.net/production/launchpad-rev-8642/eggs/storm-0.15-py2.4-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-8642/eggs/storm-0.15-py2.4-linux-x86_64.egg/storm/database.py", line 299, in raw_execute
    self._check_disconnect(raw_cursor.execute, *args)
  File "/srv/launchpad.net/production/launchpad-rev-8642/eggs/storm-0.15-py2.4-linux-x86_64.egg/storm/database.py", line 342, in _check_disconnect
    return function(*args, **kwargs)
InternalError: Slony-I: Table account is replicated and cannot be modified on a subscriber node

Revision history for this message
Данило Шеган (danilo) wrote :

This is similar to bug #464161 though on a different table. Basically, createPersonAndEmail is affected, and I'd expect Soyuz to be bit by the same issue as well.

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → High
affects: launchpad-foundations → rosetta
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.