Public bug reported:

andreas@anubis:~/temp$ sponsor-patch 896849 -w . -u ubuntu
gpgv: Signature made Sun 06 Nov 2011 09:03:03 AM CET using RSA key ID B6E57DE1
gpgv: Can't check signature: public key not found
Use of qw(...) as parentheses is deprecated at 
/usr/share/lintian/collection/index line 192.

Please check transgui 3.2-1 carefully:
file:///home/andreas/temp/transgui_3.2-1.lintian
transgui has 1 opportunities: oneiric (1)
Find out more: http://harvest.ubuntu.com/opportunities/package/transgui
Do you want to acknowledge the sync request [y|e|N|?]? y
Traceback (most recent call last):
  File "/usr/bin/sponsor-patch", line 129, in <module>
    main()
  File "/usr/bin/sponsor-patch", line 120, in main
    options.upload, workdir)
  File 
"/usr/lib/python2.7/dist-packages/ubuntutools/sponsor_patch/sponsor_patch.py", 
line 276, in sponsor_patch
    if source_package.ack_sync(upload, task.get_lp_task(), launchpad):
  File 
"/usr/lib/python2.7/dist-packages/ubuntutools/sponsor_patch/source_package.py", 
line 102, in ack_sync
    bug.unsubscribe(person=launchpad.people['ubuntu-sponsors'])
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/resource.py", line 
573, in __call__
    url, in_representation, http_method, extra_headers=extra_headers)
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/_browser.py", line 
281, in _request
    raise error
lazr.restfulclient.errors.Unauthorized: HTTP Error 401: Unauthorized
Response headers:
---
-content-encoding: gzip
content-length: 74
content-type: text/plain
date: Sun, 27 Nov 2011 14:24:09 GMT
server: zope.server.http (HTTP)
status: 401
vary: Accept,Accept-Encoding
via: 1.1 api.launchpad.net
x-lazr-notifications: []
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
Andreas Moog does not have permission to unsubscribe Ubuntu Sponsors Team.
---

Attached branch adds a check if the user can unsubscribe the sponsors
team before attempting to do so.

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

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/896884

Title:
  [sponsor-patch] Traceback when user can't unsubscribe ubuntu-sponsors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/896884/+subscriptions

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to