[Bug 190061] [NEW] requestsync attempts to change bug importance, which is not always possible

James Westby jw+debian at jameswestby.net
Thu Feb 7 23:13:13 UTC 2008


Public bug reported:

Binary package hint: ubuntu-dev-tools

Hi,

I (non-MOTU, non-bugsquad), attempted to use requestsync
with --lp as I did not have my private key to hand. This is
what happened:

$ requestsync --lp -s 2vcard hardy
Explanation of the Ubuntu delta and why it can be dropped:
The changes have all been integrated by Debian.

Summary:
Please sync 2vcard 0.5-2 (universe) from Debian unstable (main)

Description:
Please sync 2vcard 0.5-2 (universe) from Debian unstable (main).

Explanation of the Ubuntu delta and why it can be dropped:
The changes have all been integrated by Debian.

Changelog since current hardy version 0.5-1ubuntu3:

2vcard (0.5-2) unstable; urgency=low

  * Fixed debian/copyright (Closes: #449058)
  * Added watch file (Closes: #462041)
  * Fixed arch (Closes: #449046)
  * Fixed description typo (Closes: #438658)
  * New co-maintainer: me!!

 -- Marcela Tiznado <mlt at debian.org>  Thu, 31 Jan 2008 21:23:27 -0200
 


Press enter to file this bug, Control-C to abort.

Traceback (most recent call last):
  File "/usr/bin/requestsync", line 314, in <module>
    if post_bug(srcpkg, subscribe, mapping[status], title, report):
  File "/usr/bin/requestsync", line 226, in post_bug
    bug.importance = 'Wishlist'
  File "/usr/lib/python2.5/site-packages/launchpadbugs/lphelper.py", line 260, in <lambda>
    if fset : fset = lambda s, v, n=fset.__name__ : getattr(s, n)(v)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/html_bug.py", line 58, in f
    return func(a, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/html_bug.py", line 111, in func
    setattr(reduce(getattr, attributes[:-1]), attributes[-1], value)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/lphelper.py", line 260, in <lambda>
    if fset : fset = lambda s, v, n=fset.__name__ : getattr(s, n)(v)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/html_bug.py", line 184, in set_importance
    raise IOError, "'Importance' editable only by the maintainer or bug contact of the project/package"
IOError: 'Importance' editable only by the maintainer or bug contact of the project/package


So I do not have permission to change the importance.

However the bug was still filed, even though I assumed that it
wasn't, meaning that I filed a duplicate.

It would be great if it could either know whether editing the importance
was possible for that user, or catch the error and report it
gracefully.

Also, as a bonus it could make sure that if any errors occur after
filing the user knows that the bug has been filed.

Thanks,

James

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

-- 
requestsync attempts to change bug importance, which is not always possible
https://bugs.launchpad.net/bugs/190061
You received this bug notification because you are a member of MOTU,
which is a bug contact for ubuntu-dev-tools in ubuntu.




More information about the universe-bugs mailing list