[Webkit-unassigned] [Bug 217368] New: run-minibrowser not compatible with python3

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 01:37:43 PDT 2020


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

            Bug ID: 217368
           Summary: run-minibrowser not compatible with python3
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pnormand at igalia.com

$ Tools/Scripts/run-minibrowser --gtk "http://192.168.8.52/mstest/wpe-tests/eme-v3-clean.html"
Downloading setuptools-44.1.1...
Installing setuptools-44.1.1...
Installed setuptools-44.1.1!
Downloading toml-0.10.1...
Installing toml-0.10.1...
Installed toml-0.10.1!
Traceback (most recent call last):
  File "Tools/Scripts/run-minibrowser", line 30, in <module>
    run_webkit_app.main(sys.argv[1:])
  File "/home/calvaris/gnome/WebKit/Tools/Scripts/webkitpy/minibrowser/run_webkit_app.py", line 49, in main
    options, args = option_parser.parse_known_args(argv)
  File "/usr/lib/python3.8/argparse.py", line 1812, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python3.8/argparse.py", line 2021, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File "/usr/lib/python3.8/argparse.py", line 1977, in consume_positionals
    take_action(action, args)
  File "/usr/lib/python3.8/argparse.py", line 1870, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "/usr/lib/python3.8/argparse.py", line 2401, in _get_values
    value = self._get_value(action, arg_string)
  File "/usr/lib/python3.8/argparse.py", line 2434, in _get_value
    result = type_func(arg_string)
  File "/home/calvaris/gnome/WebKit/Tools/Scripts/webkitpy/minibrowser/run_webkit_app.py", line 47, in <lambda>
    option_parser.add_argument('url', metavar='url', type=lambda s: unicode(s, 'utf8'), nargs='?',
NameError: name 'unicode' is not defined

-- 
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/20201006/c8cdfb67/attachment-0001.htm>


More information about the webkit-unassigned mailing list