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
newPOFile probably does not need to call canEditTranslat ions.