[Bug 271155] Re: [interpid] [bitesize] bugnumbers crashed with ValueError in main()
This bug was fixed in the package bughelper - 0.2.16 --- bughelper (0.2.16) intrepid; urgency=low * resolved bughelper issue were it would not write results to a file anymore (LP: #272655) * resolved issues where bugnumbers / bughelper crashes when unknown statuses are used - thanks Markus Korn (LP: #271155) -- Brian Murray <[EMAIL PROTECTED]> Wed, 24 Sep 2008 13:30:51 -0700 ** Changed in: bughelper (Ubuntu) Status: In Progress => Fix Released -- [interpid] [bitesize] bugnumbers crashed with ValueError in main() https://bugs.launchpad.net/bugs/271155 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 271155] Re: [interpid] [bitesize] bugnumbers crashed with ValueError in main()
Resolved in revision 223 of the bzr branch of bughelper. ** Also affects: bughelper Importance: Undecided Status: New ** Changed in: bughelper Importance: Undecided => Medium Assignee: (unassigned) => Brian Murray (brian-murray) Status: New => Fix Released -- [interpid] [bitesize] bugnumbers crashed with ValueError in main() https://bugs.launchpad.net/bugs/271155 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 271155] Re: [interpid] [bitesize] bugnumbers crashed with ValueError in main()
Brian, your last patch is looking good to me. -- [interpid] [bitesize] bugnumbers crashed with ValueError in main() https://bugs.launchpad.net/bugs/271155 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 271155] Re: [interpid] [bitesize] bugnumbers crashed with ValueError in main()
The patch ends up modifying searches for "Incomplete w/" and "Incomplete w/o" to "Incomplete W/" and "Incomplete W/o" which then fails. I've attached a patch that deals with those particular statuses, or we could modify python-launchpad-bugs itself to include an alias for these statuses. ** Attachment added: "patch-for-271155.diff" http://launchpadlibrarian.net/17895495/patch-for-271155.diff -- [interpid] [bitesize] bugnumbers crashed with ValueError in main() https://bugs.launchpad.net/bugs/271155 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 271155] Re: [interpid] [bitesize] bugnumbers crashed with ValueError in main()
I think I fixed it with the attached patch (against revno 220 of the main branch), $ ./bugnumbers -p bughelper --status "new, incOMplete,wOn'T fIx, confirmed" --importance "unDecided, WISHLIST" 226483 (New, Undecided) - bughelper crashed with NotBranchError in find_format() 129341 (New, Wishlist) - bughelper would benefit from the ability to inherit clues from a clue file not named after a package 88102 (Confirmed, Undecided) - sort report by issue type rather than bug number 239007 (Confirmed, Undecided) - clue file for bugs without a package But for unknown status there is still a ValueError raised: $ ./bugnumbers -p bughelper --status "booo" Traceback (most recent call last): File "./bugnumbers", line 383, in main() File "./bugnumbers", line 259, in main raise ValueError, "unknown status: %s" %x ValueError: unknown status: set(['Booo']) Please test and review the attached patch, Markus ** Attachment added: "271155.diff" http://launchpadlibrarian.net/17698104/271155.diff -- [interpid] [bitesize] bugnumbers crashed with ValueError in main() https://bugs.launchpad.net/bugs/271155 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 271155] Re: [interpid] [bitesize] bugnumbers crashed with ValueError in main()
This is also kind of addressed in bug 197037 Some time ago bughelper/numbers etc. did not have any validation of the value given as status and importance option, so no error was raised if there was an unknown value. But making this option case-insensitive should not be that hard, working on it Markus ** Changed in: bughelper (Ubuntu) Assignee: (unassigned) => Markus Korn (thekorn) Status: Incomplete => In Progress -- [interpid] [bitesize] bugnumbers crashed with ValueError in main() https://bugs.launchpad.net/bugs/271155 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 271155] Re: [interpid] [bitesize] bugnumbers crashed with ValueError in main()
Do you know which specific version on Hardy failed more gracefully? I saw the following: Setting up bughelper (0.2.14) ... [EMAIL PROTECTED]:~$ bugnumbers -p bughelper --status new Traceback (most recent call last): File "/usr/bin/bugnumbers", line 324, in main() File "/usr/bin/bugnumbers", line 210, in main raise ValueError, "unknown status: %s" %x ValueError: unknown status: set(['new']) ** Changed in: bughelper (Ubuntu) Status: New => Incomplete -- [interpid] [bitesize] bugnumbers crashed with ValueError in main() https://bugs.launchpad.net/bugs/271155 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 271155] Re: [interpid] [bitesize] bugnumbers crashed with ValueError in main()
** Visibility changed to: Public -- [interpid] [bitesize] bugnumbers crashed with ValueError in main() https://bugs.launchpad.net/bugs/271155 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs