Bug 28251
Summary: | bugzilla-tool, unable to create a bug. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Maxime Simon <simon.maxime> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | aroben, ddkilzer, eric |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.5 |
Maxime Simon
With this command:
bugzilla-tool create-bug --cc=leavengood@gmail.com,pkasting@google.com --component="WebCore Misc."
and after filling the "Bug title" and "Bug comment" fields,
bugzilla-tool raised an exception, line 568, in prompt_for_bug_title_and_comment.
Here is the Tracback:
File "/Volumes/Haiku/WebKit/WebKitTools/Scripts/bugzilla-tool", line 725, in <module>
main()
File "/Volumes/Haiku/WebKit/WebKitTools/Scripts/bugzilla-tool", line 722, in main
return tool.main()
File "/Volumes/Haiku/WebKit/WebKitTools/Scripts/bugzilla-tool", line 717, in main
return command_object.execute(command_options, command_args, self)
File "/Volumes/Haiku/WebKit/WebKitTools/Scripts/bugzilla-tool", line 578, in execute
self.create_bug_from_patch(options, args, tool)
File "/Volumes/Haiku/WebKit/WebKitTools/Scripts/bugzilla-tool", line 545, in create_bug_from_patch
(bug_title, comment_text) = self.prompt_for_bug_title_and_comment()
File "/Volumes/Haiku/WebKit/WebKitTools/Scripts/bugzilla-tool", line 568, in prompt_for_bug_title_and_comment
raise
TypeError: exceptions must be classes, instances, or strings (deprecated), not NoneType
For information, I use Python 2.5.1 under Mac OSX 10.5.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
I just hit this too.
eseidel-mac [16063:WebKitTools]% bugzilla-tool create-bub [~/Projects/WebKit/WebKitTools]
Usage: bugzilla-tool [options] command [command-options] [command-arguments]
bugzilla-tool: error: create-bub is not a recognized command
Type 'bugzilla-tool --help' to see usage.
eseidel-mac [16064:WebKitTools]% bugzilla-tool create-bug [~/Projects/WebKit/WebKitTools]
Bug title: bugzilla-tool's "patch failed to download an apply" error should give more information
Bug comment (hit ^D on blank line to end):
bugzilla-tool's "patch failed to download an apply" error should give more information
https://bugs.webkit.org/show_bug.cgi?id=30435#c9 is one of numerous examples.
Traceback (most recent call last):
File "/Users/eseidel/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 921, in <module>
main()
File "/Users/eseidel/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 918, in main
return tool.main()
File "/Users/eseidel/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 913, in main
return command_object.execute(command_options, command_args, self)
File "/Users/eseidel/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 635, in execute
self.create_bug_from_patch(options, args, tool)
File "/Users/eseidel/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 602, in create_bug_from_patch
(bug_title, comment_text) = self.prompt_for_bug_title_and_comment()
File "/Users/eseidel/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 625, in prompt_for_bug_title_and_comment
raise
TypeError: exceptions must be classes, instances, or strings (deprecated), not NoneType
Eric Seidel (no email)
Sorry, I pasted more than I meant to. :(
Maxime Simon
(In reply to comment #2)
> Sorry, I pasted more than I meant to. :(
Hmm I generated the patch using git diff, does this may be the problem?
And also it seems that I forgot the ChangeLog.
Maxime Simon
(In reply to comment #3)
> (In reply to comment #2)
> > Sorry, I pasted more than I meant to. :(
>
> Hmm I generated the patch using git diff, does this may be the problem?
> And also it seems that I forgot the ChangeLog.
Oops, I commented the wrong bug. :/
Anyway, I didn't try again to use bugzilla-tool create-bug, but it seems that you get the same issue.
Adam Roben (:aroben)
*** This bug has been marked as a duplicate of bug 31125 ***