You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
vkhazin
changed the title
opy.py hanging
opy.py hanging and then fails
Jul 29, 2020
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
The text was updated successfully, but these errors were encountered: