[Bug 320984] [NEW] requestsync fails with 401 unauthorized when adding subscribers
Iain Lane
launchpad at orangesquash.org.uk
Sat Jan 24 23:59:43 UTC 2009
Public bug reported:
Binary package hint: ubuntu-dev-tools
Hi,
When filing a sync, requestsync dies when trying to set the importance
if the submitter doesn't have permission (I don't). Traceback:
Traceback (most recent call last):
File "/home/laney/bin/ubuntu-dev-tools/requestsync", line 562, in <module>
if post_bug(srcpkg, subscribe, mapping[status], title, report):
File "/home/laney/bin/ubuntu-dev-tools/requestsync", line 388, in post_bug
task.transitionToImportance(importance='Wishlist')
File "/usr/lib/python2.5/site-packages/launchpadlib/resource.py", line 336, in __call__
url, in_representation, http_method, extra_headers=extra_headers)
File "/usr/lib/python2.5/site-packages/launchpadlib/_browser.py", line 211, in _request
raise HTTPError(response, content)
launchpadlib.errors.HTTPError: HTTP Error 401: Unauthorized
The bug is created. I guess this exception should be trapped and
ignored.
Running bzr trunk.
laney at chicken:~/dev/ubuntu/packaging/darcs$ apt-cache policy python-launchpadlib
python-launchpadlib:
Installed: 0.2~bzr25-0ubuntu1
Candidate: 0.2~bzr25-0ubuntu1
Version table:
*** 0.2~bzr25-0ubuntu1 0
500 http://archive.ubuntu.com intrepid/universe Packages
100 /var/lib/dpkg/status
** Affects: ubuntu-dev-tools (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- requestsync fails with 401 unauthorized
+ requestsync fails with 401 unauthorized when adding subscribers
** Description changed:
Binary package hint: ubuntu-dev-tools
Hi,
When filing a sync, requestsync dies when trying to set the importance
if the submitter doesn't have permission (I don't). Traceback:
Traceback (most recent call last):
File "/home/laney/bin/ubuntu-dev-tools/requestsync", line 562, in <module>
if post_bug(srcpkg, subscribe, mapping[status], title, report):
File "/home/laney/bin/ubuntu-dev-tools/requestsync", line 388, in post_bug
task.transitionToImportance(importance='Wishlist')
File "/usr/lib/python2.5/site-packages/launchpadlib/resource.py", line 336, in __call__
url, in_representation, http_method, extra_headers=extra_headers)
File "/usr/lib/python2.5/site-packages/launchpadlib/_browser.py", line 211, in _request
raise HTTPError(response, content)
launchpadlib.errors.HTTPError: HTTP Error 401: Unauthorized
+ The bug is created. I guess this exception should be trapped and
+ ignored.
+
Running bzr trunk.
laney at chicken:~/dev/ubuntu/packaging/darcs$ apt-cache policy python-launchpadlib
python-launchpadlib:
Installed: 0.2~bzr25-0ubuntu1
Candidate: 0.2~bzr25-0ubuntu1
Version table:
*** 0.2~bzr25-0ubuntu1 0
500 http://archive.ubuntu.com intrepid/universe Packages
100 /var/lib/dpkg/status
--
requestsync fails with 401 unauthorized when adding subscribers
https://bugs.launchpad.net/bugs/320984
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