newPOFile tries to access translationrelicensingagreement

Bug #409953 reported by Henning Eggers
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jeroen T. Vermeulen

Bug Description

Oops-Id: OOPS-1312RSBR6
Exception-Type: ProgrammingError
Exception-Value: permission denied for relation translationrelicensingagreement
Date: 2009-08-04T15:10:18.107363+00:00
Page-Id:
Branch: None
Revision: None
User: None
URL: None
Duration: -1

Traceback (most recent call last):
  Module lp.services.job.runner, line 58, in runAll
    self.runJob(job)
  Module lp.services.job.runner, line 39, in runJob
    job.run()
  Module lp.code.model.branchjob, line 796, in run
    approver.approve(entry)
  Module lp.translations.model.translationbranchapprover, line 153, in approve
    potemplate = self._potemplateset.new(
  Module lp.translations.model.potemplate, line 1049, in new
    self._copyPOFilesFromSharingTemplates(template)
  Module lp.translations.model.potemplate, line 1029, in _copyPOFilesFromSharingTemplates
    pofile.variant, pofile.owner, False)
  Module lp.translations.model.potemplate, line 739, in newPOFile
    if dummy_pofile.canEditTranslations(requester):
  Module lp.translations.model.pofile, line 1250, in canEditTranslations
    return _can_edit_translations(self, person)
  Module lp.translations.model.pofile, line 172, in _can_edit_translations
    if _person_has_not_licensed_translations(person):
  Module lp.translations.model.pofile, line 127, in _person_has_not_licensed_translations
    if (t_p.translations_relicensing_agreement is not None and
  Module lp.translations.model.translationsperson, line 67, in get_translations_relicensing_agreement
    relicensing_agreement = TranslationRelicensingAgreement.selectOneBy(
  Module storm.sqlobject, line 356, in selectOneBy
    return SQLObjectResultSet(cls, by=kwargs)._one()
  Module storm.sqlobject, line 516, in _one
    return detuplelize(self._result_set.one())
  Module storm.store, line 1114, in one
    result = self._store._connection.execute(select)
  Module storm.databases.postgres, line 257, in execute
    return Connection.execute(self, statement, params, noresult)
  Module storm.database, line 204, in execute
    raw_cursor = self.raw_execute(statement, params)
  Module storm.databases.postgres, line 267, in raw_execute
    return Connection.raw_execute(self, statement, params)
  Module storm.database, line 285, in raw_execute
    self._check_disconnect(raw_cursor.execute, *args)
  Module storm.database, line 326, in _check_disconnect
    return function(*args, **kwargs)
ProgrammingError: permission denied for relation translationrelicensingagreement

Related branches

Revision history for this message
Henning Eggers (henninge) wrote :

newPOFile probably does not need to call canEditTranslations.

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

Note that this is causing problems in imports from bzr.

Changed in rosetta:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.2.8
Changed in rosetta:
milestone: 2.2.8 → 3.0
Changed in rosetta:
assignee: nobody → Jeroen T. Vermeulen (jtv)
Changed in rosetta:
status: Triaged → In Progress
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Fixed in devel 9521

Changed in rosetta:
status: In Progress → Fix Committed
Changed in rosetta:
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.