code-google-com / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

SyntaxError: unicode error #159

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While installing PyV8 r487 I got this error

SyntaxError: ("(unicode error) 'rawunicodeescape' codec can't decode bytes in 
position 0-1: truncated \\uXXXX", ('build/bdist.linux-x86_64/egg/PyV8.py', 131, 
None, "return r'\\u%04x' % (n,)\n"))

This error can be reproduced even this way

$ python PyV8.py -v
  File "PyV8.py", line 131
    return r'\u%04x' % (n,)
SyntaxError: (unicode error) 'rawunicodeescape' codec can't decode bytes in 
position 0-1: truncated \uXXXX

Original issue reported on code.google.com by angelo.d...@gmail.com on 4 Feb 2013 at 11:59

GoogleCodeExporter commented 9 years ago

Original comment by flier...@gmail.com on 4 Feb 2013 at 12:01

GoogleCodeExporter commented 9 years ago
Sorry, rollback to make Python 2.x happy

Original comment by flier...@gmail.com on 4 Feb 2013 at 1:16

GoogleCodeExporter commented 9 years ago
I confirm that r489 solved the issue. Thanks

Original comment by angelo.d...@gmail.com on 4 Feb 2013 at 1:23

GoogleCodeExporter commented 9 years ago

Original comment by flier...@gmail.com on 4 Feb 2013 at 1:40