Comment 27 for bug 336866

Revision history for this message
Martin Pitt (pitti) wrote :

I still get daily crashes from the Apport retracer in this simple code:

        bug = self.launchpad.bugs[id]
        if self.arch_tag in bug.tags:
            x = bug.tags[:] # LP#254901 workaround
            x.remove(self.arch_tag)
            bug.tags = x
            bug.lp_save()

  File "/home/ubuntu-archive/launchpadlib/launchpadlib/src/launchpadlib/resource.py", line 487, in lp_save
    URI(self.self_link), representation, headers)
  File "/home/ubuntu-archive/launchpadlib/launchpadlib/src/launchpadlib/_browser.py", line 265, in patch
    'PATCH', extra_headers=extra_headers)
  File "/home/ubuntu-archive/launchpadlib/launchpadlib/src/launchpadlib/_browser.py", line 210, in _request
    raise HTTPError(response, content)
launchpadlib.errors.HTTPError: HTTP Error 412: Precondition Failed

So it doesn't actually seem fixed yet?