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

运行报错 #7

Open
laycept opened this issue Mar 25, 2019 · 0 comments
Open

运行报错 #7

laycept opened this issue Mar 25, 2019 · 0 comments

Comments

@laycept
Copy link

laycept commented Mar 25, 2019

AutoGenStrings.py
-------> sourceFilePath: /Users/laycept/Desktop/IOS-doctor/ZQProject/Base.lproj/*.storyboard filePath: /Users/laycept/Desktop/IOS-doctor/ZQProject
init with Main.storyboard

    • genstrings Main.storyboard successfully
    • dealing with /Users/laycept/Desktop/IOS-doctor/ZQProject/zh-Hans.lproj/Main.strings
      /Users/laycept/Desktop/IOS-doctor/ZQProject/TempfileOfStoryboardNew.strings
      /Users/laycept/Desktop/IOS-doctor/ZQProject/zh-Hans.lproj/Main.strings
      utf-16/UCS-2,big endian
      Traceback (most recent call last):
      File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 242, in
      main()
      File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 224, in main
      generateLocalizableFiles(upperFilePath, sourceFilePathName)
      File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 178, in generateLocalizableFiles
      compareWithFilePath(tempFile_Path,targetPath)
      File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 92, in compareWithFilePath
      anotationString = getAnotationOfString(newString_txt,linestr)
      File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 72, in getAnotationOfString
      anotationMatch = re.search(anotationRegex,string_txt)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 146, in search
      return _compile(pattern, flags).search(string)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 251, in _compile
      raise error, v # invalid expression
      sre_constants.error: multiple repeat
      Command /bin/sh failed with exit code 1
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