Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UUID is not just [A-F0-9]{24} #8

Closed
truebit opened this issue Sep 1, 2014 · 0 comments
Closed

UUID is not just [A-F0-9]{24} #8

truebit opened this issue Sep 1, 2014 · 0 comments

Comments

@truebit
Copy link
Owner

truebit commented Sep 1, 2014

xUnique Webkit2 project file:

https://github.com/truebit/webkit/raw/master/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj

Error below:

Uniquify and Sort
Uniquify done
Traceback (most recent call last):
  File "./xUnique.py", line 485, in <module>
    main(sys_argv)
  File "./xUnique.py", line 467, in main
    xunique.sort_pbxproj(options.sort_pbx_fn_bool)
  File "./xUnique.py", line 301, in sort_pbxproj
    lines.sort(key=lambda file_str: pbx_key_ptn.search(file_str).group(1))
  File "./xUnique.py", line 301, in <lambda>
    lines.sort(key=lambda file_str: pbx_key_ptn.search(file_str).group(1))
AttributeError: 'NoneType' object has no attribute 'group'

Cause:
Keys contains characters other than A-F:

               1QQ417CB12C00CCA002BE67B /* TextCheckerCompletion.h in Headers */ = {isa = PBXBuildFile; fileRef = C1684239EEDFF3D67034DD5F02609AB2 /* TextCheckerCompletion.h */; };

Fix:
Use [A-Z0-9]{24} for UUID

@truebit truebit closed this as completed in b17607e Sep 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant