pyarmor icon indicating copy to clipboard operation
pyarmor copied to clipboard

[BUG] RuntimeError: Resource temporarily unavailable (1:10850)

Open parseltongued opened this issue 3 years ago • 3 comments

Hi Jondy,

Upgraded pyarmor 7 -> 8.

I'm using an outer license file running in an air-gap environment. Performed the following command: pyarmor gen key -e 365 copied the pyarmor.rkey and paste into pyarmor_runtime_00-020 directory.

Encountered this error re-running my pyspark script. RuntimeError: Resource temporarily unavailable (1:10850)

Is there any pyarmor runtime log to view more details?

INFO     Python 3.10.9
INFO     Pyarmor 8.2.1 (group), 00-020
INFO     Platform linux.x86_64

parseltongued avatar May 31 '23 09:05 parseltongued

Please search "Resource temporarily unavailable" in issues and online documentation to find the reason.

jondy avatar Jun 01 '23 00:06 jondy

Hi Jondy,

As mentioned in documentation, understand the error comes from not being able to establish NTP servers, also an alternative method you've prescribed is to use an API call. However the environment is air-gapped and does not support either of these. I am using docker images, will binding to mac be possible for containers?

parseltongued avatar Jun 05 '23 04:06 parseltongued

Please check https://pyarmor.readthedocs.io/en/latest/tutorial/customization.html

jondy avatar Jun 05 '23 06:06 jondy