[Webkit-unassigned] [Bug 179522] New: check-webkit-style: AttributeError: 'NoneType' object has no attribute 'major'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 9 22:28:02 PST 2017


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

            Bug ID: 179522
           Summary: check-webkit-style: AttributeError: 'NoneType' object
                    has no attribute 'major'
           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: Hironori.Fujii at sony.com
                CC: lforschler at apple.com

check-webkit-style is broken since Bug 179426.

> $ ./Tools/Scripts/check-webkit-style
> Traceback (most recent call last):
>   File "./Tools/Scripts/check-webkit-style", line 48, in <module>
>     sys.exit(CheckWebKitStyle().main())
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/style/main.py", line 155, in main
>     patch_checker.check(patch)
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/style/patchreader.py", line 84, in check
>     self._text_file_reader.do_association_check(fs.getcwd())
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/style/filereader.py", line 152, in do_association_check
>     self._processor.do_association_check(self._files, cwd, host=host)
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/style/checker.py", line 963, in do_association_check
>     TestExpectationsChecker.lint_test_expectations(files, self._configuration, cwd, self._increment_error_count, host=host)
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/style/checkers/test_expectations.py", line 129, in lint_test_expectations
>     for expectations_file in port.expectations_dict().keys():
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/port/base.py", line 1124, in expectations_dict
>     for path in self.expectations_files():
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/port/base.py", line 1156, in expectations_files
>     return [self.path_to_generic_test_expectations_file()] + self._port_specific_expectations_files()
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/port/darwin.py", line 56, in _port_specific_expectations_files
>     return list(reversed([self._filesystem.join(self._webkit_baseline_path(p), 'TestExpectations') for p in self.baseline_search_path()]))
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/port/base.py", line 204, in baseline_search_path
>     return self.get_option('additional_platform_directory', []) + self._compare_baseline() + self.default_baseline_search_path()
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/common/memoized.py", line 45, in __call__
>     result = self._function(*args)
>   File "/home/fujii/work/webkit/ga/Tools/Scripts/webkitpy/port/ios.py", line 113, in default_baseline_search_path
>     '{}-{}-{}'.format(self.port_name, self.ios_version().major, wk_string),
> AttributeError: 'NoneType' object has no attribute 'major'
> $

-- 
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/20171110/146a5abf/attachment-0001.html>


More information about the webkit-unassigned mailing list