Created attachment 112964 [details] Patch to fix build issue. When I try to build webkit using the build-webkit script, it bails out with a syntax error about exceptions. The problem is that CodeGenerationInspector.py uses some artifacts from Python 2 that aren't supported in Python 3. This is easy to fix -- I will attach a patch.
Attachment 112964 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/inspector/CodeGeneratorInsp..." exit_code: 1 Source/WebCore/inspector/CodeGeneratorInspector.py:37: expected 1 blank line, found 0 [pep8/E301] [5] Total errors found: 1 in 1 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 112965 [details] Fix a style issue with the previous patch Not sure exactly why the style filter was complaining, but hopefully this will fix it.
Attachment 112965 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/inspector/CodeGeneratorInsp..." exit_code: 1 Source/WebCore/inspector/CodeGeneratorInspector.py:37: expected 1 blank line, found 0 [pep8/E301] [5] Total errors found: 1 in 1 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 112965 [details] Fix a style issue with the previous patch View in context: https://bugs.webkit.org/attachment.cgi?id=112965&action=review > Source/WebCore/inspector/CodeGeneratorInspector.py:60 > +except Exception as e: AFAIK the minimum Python version required by webkitpy is 2.5. This syntax works only in >= 2.6 though.
I'm still interested in this patch. But since this current path is r-'d, I'm going to dupe this against an earlier bug on teh same subject. *** This bug has been marked as a duplicate of bug 55037 ***