[Webkit-unassigned] [Bug 224226] New: webkit-patch apply-from-bug fails with a python backtrace if the bug does not exist

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 5 23:42:06 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224226

            Bug ID: 224226
           Summary: webkit-patch apply-from-bug fails with a python
                    backtrace if the bug does not exist
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com

webkit-patch apply-from-bug fails with a python backtrace if the bug does not exist

kkinnunen at Kimmos-iMac-Pro OpenSource % Tools/Scripts/webkit-patch apply-from-bug 424742                                          
Updating working directory
Updating OpenSource
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint: 
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint: 
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.
Reading Keychain for bugs.webkit.org account and password.  Click "Allow" to continue...
Could not find a keychain entry for bugs.webkit.org using find-internet-password.
Reading Keychain for bugs.webkit.org account and password.  Click "Allow" to continue...
Logging in as kkinnunen at apple.com...
Fetching: https://bugs.webkit.org/show_bug.cgi?id=424742&ctype=xml&excludefield=attachmentdata
Traceback (most recent call last):
  File "Tools/Scripts/webkit-patch", line 80, in <module>
    main()
  File "Tools/Scripts/webkit-patch", line 75, in main
    WebKitPatch(os.path.abspath(__file__)).main()
  File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/tool/multicommandtool.py", line 305, in main
    result = command.check_arguments_and_execute(options, args, self)
  File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/tool/multicommandtool.py", line 123, in check_arguments_and_execute
    return self.execute(options, args, tool) or 0
  File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/tool/commands/download.py", line 173, in execute
    patches = self._fetch_list_of_patches_to_process(options, args, tool)
  File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/tool/commands/download.py", line 220, in _fetch_list_of_patches_to_process
    patches = tool.bugs.fetch_bug(bug_id).reviewed_patches()
  File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py", line 493, in fetch_bug
    return Bug(self.fetch_bug_dictionary(bug_id), self)
  File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py", line 486, in fetch_bug_dictionary
    return self._parse_bug_dictionary_from_xml(self._fetch_bug_page(bug_id))
  File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py", line 462, in _parse_bug_dictionary_from_xml
    bug["title"] = self._string_contents(soup.find("short_desc"))
  File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py", line 402, in _string_contents

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210406/3dbfc745/attachment.htm>


More information about the webkit-unassigned mailing list