translations to branch script failing with InternalError: transaction is read-only
Bug #812500 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Jeroen T. Vermeulen |
Bug Description
As seen on OOPS-2024TEB15, an InternalError: transaction is read-only was raised running translations-
Related branches
lp:~jtv/launchpad/bug-812500
- Abel Deuring (community): Approve (code)
-
Diff: 122 lines (+26/-11)2 files modifiedlib/lp/translations/scripts/tests/test_translations_to_branch.py (+9/-3)
lib/lp/translations/scripts/translations_to_branch.py (+17/-8)
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The problem seems to happen in _exportToBranch, which calls branchChanged on a translations branch.
The error indicates that branchChanged makes changes to the Branch model object, as loaded from the slave store.