genstrings_swift icon indicating copy to clipboard operation
genstrings_swift copied to clipboard

Traceback

Open xuyazhong opened this issue 8 years ago • 0 comments

Traceback (most recent call last): File "/Users/gitlab/genstrings_swift/genstrings_merge.py", line 60, in main() File "/Users/gitlab/genstrings_swift/genstrings_merge.py", line 55, in main strings = generate_strings(args.filepaths) File "/Users/gitlab/genstrings_swift/genstrings_merge.py", line 26, in generate_strings strings = parse_file(filepath) File "/Users/gitlab/genstrings_swift/genstrings_merge.py", line 36, in parse_file content = fp.read() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 302, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_16.py", line 61, in _buffer_decode codecs.utf_16_ex_decode(input, errors, 0, final) UnicodeDecodeError: 'utf16' codec can't decode byte 0x7d in position 204: truncated data

xuyazhong avatar Nov 23 '16 02:11 xuyazhong