if you get error message
File "", line 685, in getitem].py", line 24, in moved
it might be how you use os.getenv vs os.environ in your python code.
Please read further
https://github.com/python/cpython/issues/88430
this is not a direct issue against this repo. But since I spent few hours to track this, adding it here and closing it as it may be helpful for someone who face similar one.
22 Nov 2023 11:13:43,606 [INFO] (rapid) exec 'python' (cwd=/, handler=handlers/app.handler)
22 Nov 2023 11:13:45,013 [INFO] (rapid) extensionsDisabledByLayer(/opt/disable-extensions-jwigqn8j) -> stat /opt/disable-extensions-jwigqn8j: no such file or directory
22 Nov 2023 11:13:45,013 [INFO] (rapid) Configuring and starting Operator Domain
22 Nov 2023 11:13:45,013 [INFO] (rapid) Starting runtime domain
22 Nov 2023 11:13:45,013 [WARNING] (rapid) Cannot list external agents error=open /opt/extensions: no such file or directory
START RequestId: 4e18e712-35fb-4963-80b6-5de44eafdb26 Version: $LATEST
File "<frozen os>", line 685, in __getitem__].py", line 24, in <module>moved
22 Nov 2023 11:13:45,554 [WARNING] (rapid) First fatal error stored in appctx: Runtime.ExitError
22 Nov 2023 11:13:45,555 [WARNING] (rapid) Process runtime-1 exited: exit status 1
22 Nov 2023 11:13:45,556 [ERROR] (rapid) Init failed error=Runtime exited with error: exit status 1 InvokeID=
22 Nov 2023 11:13:45,557 [INFO] (rapid) Starting runtime domain
22 Nov 2023 11:13:45,557 [WARNING] (rapid) Cannot list external agents error=open /opt/extensions: no such file or directory
END RequestId: 4aea6ab8-fcf6-46bc-b86d-d69e3de1ac3f
REPORT RequestId: 4aea6ab8-fcf6-46bc-b86d-d69e3de1ac3f Init Duration: 0.32 ms Duration: 543.62 ms Billed Duration: 544 ms Memory Size: 3008 MB Max Memory Used: 3008 MB
if you get error message File "", line 685, in getitem].py", line 24, in moved
it might be how you use os.getenv vs os.environ in your python code.
Please read further
https://github.com/python/cpython/issues/88430
this is not a direct issue against this repo. But since I spent few hours to track this, adding it here and closing it as it may be helpful for someone who face similar one.