[Bug 374563] [NEW] requestsync --lp -s aborts on setting importance when submitter lacks permission

Anders Kaseorg andersk at mit.edu
Sun May 10 17:49:36 UTC 2009


Public bug reported:

Binary package hint: ubuntu-dev-tools

requestsync in ubuntu-dev-tools 0.73 does not deal well when the
submitter does not have permission to set the importance of the bug they
just opened.  (This is possibly a reprise of bug #190061, but I’m
opening a new bug because that one is old.)

$ requestsync --lp -s git-core karmic
…
Traceback (most recent call last):
  File "/usr/bin/requestsync", line 612, in <module>
    if post_bug(srcpkg, subscribe, mapping[status], title, report):
  File "/usr/bin/requestsync", line 407, in post_bug
    task.transitionToImportance(importance='Wishlist')
  File "/usr/lib/python2.6/dist-packages/launchpadlib/resource.py", line 349, in __call__
    url, in_representation, http_method, extra_headers=extra_headers)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/_browser.py", line 212, in _request
    raise HTTPError(response, content)
launchpadlib.errors.HTTPError: HTTP Error 401: Unauthorized

Because it aborted early, it failed to subscribe ubuntu-main-sponsors to
bug #374558, and I had to do so manually.

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
requestsync --lp -s aborts on setting importance when submitter lacks permission
https://bugs.launchpad.net/bugs/374563
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in ubuntu.




More information about the universe-bugs mailing list