-
Notifications
You must be signed in to change notification settings - Fork 59
Description
I am creating a demo for python obfuscation and packaging for Windows 10 64bit and the process hangs with high cpu usage
To workaround I had to kill the process externally:
https://github.com/vkhazin/python-obfuscate/blob/master/package.ps1#L24
PS C:\Users\vladi\Projects\packaged> python --version
Python 3.7.8
opy-distbuilder 0.9.1.1
After running overnight, technically it not hanging, but takes over 25min for a hello world project and fails with an error at the end:
Traceback (most recent call last):
File ".\env\Lib\site-packages\opy/opy.py", line 602, in
targetFile.write (content)
File "C:\Users\vladi\AppData\Local\Programs\Python\Python37\lib\codecs.py", line 721, in write
return self.writer.write(data)
File "C:\Users\vladi\AppData\Local\Programs\Python\Python37\lib\codecs.py", line 377, in write
data, consumed = self.encode(object, self.errors)
UnicodeEncodeError: 'utf-8' codec can't encode character '\ud800' in position 149234: surrogates not allowed