On Fri, 12 Mar 2010 11:34:23 -0000, Martin Pitt <email address hidden> wrote:
> There's a multitude of ways to reproduce this still. One is to add a
> comment and then set the privacy flag, see attached reproducer script.
>
> $ python bug336866.py
> Traceback (most recent call last):
> File "bug336866.py", line 9, in <module>
> b.lp_save()
> File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 638, in lp_save
> URI(self.self_link), representation, headers)
> File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 329, in patch
> 'PATCH', extra_headers=extra_headers)
> File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 269, in _request
> raise HTTPError(response, content)
> lazr.restfulclient.errors.HTTPError: HTTP Error 412: Precondition Failed
On Fri, 12 Mar 2010 11:34:23 -0000, Martin Pitt <email address hidden> wrote: pymodules/ python2. 6/lazr/ restfulclient/ resource. py", line 638, in lp_save self_link) , representation, headers) pymodules/ python2. 6/lazr/ restfulclient/ _browser. py", line 329, in patch extra_headers) pymodules/ python2. 6/lazr/ restfulclient/ _browser. py", line 269, in _request ent.errors. HTTPError: HTTP Error 412: Precondition Failed
> There's a multitude of ways to reproduce this still. One is to add a
> comment and then set the privacy flag, see attached reproducer script.
>
> $ python bug336866.py
> Traceback (most recent call last):
> File "bug336866.py", line 9, in <module>
> b.lp_save()
> File "/usr/lib/
> URI(self.
> File "/usr/lib/
> 'PATCH', extra_headers=
> File "/usr/lib/
> raise HTTPError(response, content)
> lazr.restfulcli
Yep, that's the NamedOperation case again.
Thanks,
James