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
When Calling pyarmor 8.5.9 gen command on Windows Server 2022 a runtimeerror occurs. Content of the bug file is below. Noticed this is similar to a bug filed for windows 11. Test that version (py3.10.10 and pyarmor 8.5.9) and this same error (I/O device error) happens with those versions on server 2022. Tested the patch created for the windows 11 bug and it seems to resolve the issue on server 2022, however it is only good for python 3.10.10 - given patch doesn't work with python 3.12.3.
[Bug] RuntimeError: The request could not be performed because of an I/O device error.
Full command options and console output
./pyarmor -d gen C:\Users\abbottbr\Downloads\197\s\TorqUI\bin\Release\net6.0-windows\scripts\unobfuscated\torqui_compensate.py
2024-06-05 14:55:27,709 Python 3.12.3
2024-06-05 14:55:27,709 Pyarmor 8.5.9 (basic), 004506, TorqUI
2024-06-05 14:55:27,756 Platform windows.x86_64
2024-06-05 14:55:27,756 native platform windows.amd64
2024-06-05 14:55:27,756 home path: C:\Users\abbottbr.pyarmor
2024-06-05 14:55:27,756 command options: {'no_runtime': False, 'inputs': ['C:\Users\abbottbr\Downloads\197\s\TorqUI\bin\Release\net6.0-windows\scripts\unobfuscated\torqui_compensate.py']}
2024-06-05 14:55:27,756 install plugin: CodesignPlugin
2024-06-05 14:55:27,756 install plugin: DarwinUniversalPlugin
2024-06-05 14:55:27,756 search inputs ...
2024-06-05 14:55:27,756 find script C:\Users\abbottbr\Downloads\197\s\TorqUI\bin\Release\net6.0-windows\scripts\unobfuscated\torqui_compensate.py
2024-06-05 14:55:27,756 find 1 top resources
2024-06-05 14:55:27,865 unknown error, please check pyarmor.error.log
2024-06-05 14:55:27,881 The request could not be performed because of an I/O device error.
Traceback
Traceback (most recent call last):
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli_main_.py", line 764, in main
main_entry(sys.argv[1:])
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli_main_.py", line 752, in main_entry
return args.func(ctx, args)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli_main_.py", line 244, in cmd_gen
builder.process(options)
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli\generate.py", line 184, in process
self.ctx.runtime_key = self.generate_runtime_key()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli\generate.py", line 95, in generate_runtime_key
return Pytransform3.generate_runtime_key(self.ctx, outer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli\core_init_.py", line 99, in generate_runtime_key
return m.generate_runtime_key(ctx, outer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 723, in generate_runtime_key
File "", line 258, in build
File "", line 175, in _pack_runtime_key
RuntimeError: The request could not be performed because of an I/O device error.
The text was updated successfully, but these errors were encountered:
When Calling pyarmor 8.5.9 gen command on Windows Server 2022 a runtimeerror occurs. Content of the bug file is below. Noticed this is similar to a bug filed for windows 11. Test that version (py3.10.10 and pyarmor 8.5.9) and this same error (I/O device error) happens with those versions on server 2022. Tested the patch created for the windows 11 bug and it seems to resolve the issue on server 2022, however it is only good for python 3.10.10 - given patch doesn't work with python 3.12.3.
Cross link to the closed bug: #1807
[Bug] RuntimeError: The request could not be performed because of an I/O device error.
Full command options and console output
./pyarmor -d gen C:\Users\abbottbr\Downloads\197\s\TorqUI\bin\Release\net6.0-windows\scripts\unobfuscated\torqui_compensate.py
2024-06-05 14:55:27,709 Python 3.12.3
2024-06-05 14:55:27,709 Pyarmor 8.5.9 (basic), 004506, TorqUI
2024-06-05 14:55:27,756 Platform windows.x86_64
2024-06-05 14:55:27,756 native platform windows.amd64
2024-06-05 14:55:27,756 home path: C:\Users\abbottbr.pyarmor
2024-06-05 14:55:27,756 command options: {'no_runtime': False, 'inputs': ['C:\Users\abbottbr\Downloads\197\s\TorqUI\bin\Release\net6.0-windows\scripts\unobfuscated\torqui_compensate.py']}
2024-06-05 14:55:27,756 install plugin: CodesignPlugin
2024-06-05 14:55:27,756 install plugin: DarwinUniversalPlugin
2024-06-05 14:55:27,756 search inputs ...
2024-06-05 14:55:27,756 find script C:\Users\abbottbr\Downloads\197\s\TorqUI\bin\Release\net6.0-windows\scripts\unobfuscated\torqui_compensate.py
2024-06-05 14:55:27,756 find 1 top resources
2024-06-05 14:55:27,865 unknown error, please check pyarmor.error.log
2024-06-05 14:55:27,881 The request could not be performed because of an I/O device error.
Traceback
Traceback (most recent call last):
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli_main_.py", line 764, in main
main_entry(sys.argv[1:])
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli_main_.py", line 752, in main_entry
return args.func(ctx, args)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli_main_.py", line 244, in cmd_gen
builder.process(options)
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli\generate.py", line 184, in process
self.ctx.runtime_key = self.generate_runtime_key()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli\generate.py", line 95, in generate_runtime_key
return Pytransform3.generate_runtime_key(self.ctx, outer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abbottbr\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyarmor\cli\core_init_.py", line 99, in generate_runtime_key
return m.generate_runtime_key(ctx, outer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 723, in generate_runtime_key
File "", line 258, in build
File "", line 175, in _pack_runtime_key
RuntimeError: The request could not be performed because of an I/O device error.
The text was updated successfully, but these errors were encountered: