POFile stats verifier lacks db privilege

Bug #723168 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Jeroen T. Vermeulen

Bug Description

The rosetta-pofile-stats.py script is failing: permission denied for relation productseries.

In a qastaging run we gave it select privileges for this table, and that seemed to fix it.

Tags: qa-ok

Related branches

Changed in launchpad:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Jeroen T. Vermeulen (jtv)
milestone: none → 11.03
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

The problem was a line "if self.productseries is not None:" in POTemplate.translation_side. It made the ORM fetch self.productseries. We can fix it by evaluating the foreign-key attribute instead.

Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
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.