Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue after running "lithops runtime deploy sc-runtime --memory 512 --timeout 300" #26

Open
0xlance opened this issue May 2, 2023 · 1 comment

Comments

@0xlance
Copy link

0xlance commented May 2, 2023

2023-05-02 18:42:13,290 [DEBUG] aws_lambda.py:716 -- Extracting runtime metadata from: sc-runtime
Traceback (most recent call last):
File "/home/ubuntu/arsenal/ShadowClone/env/bin/lithops", line 8, in
sys.exit(lithops_cli())
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/lithops/scripts/cli.py", line 496, in deploy
runtime_meta = compute_handler.deploy_runtime(runtime_name, runtime_memory, runtime_timeout)
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/lithops/serverless/serverless.py", line 73, in deploy_runtime
return self.backend.deploy_runtime(runtime_name, memory, timeout=timeout)
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/lithops/serverless/backends/aws_lambda/aws_lambda.py", line 538, in deploy_runtime
runtime_meta = self._generate_runtime_meta(runtime_name, memory)
File "/home/ubuntu/arsenal/ShadowClone/env/lib/python3.9/site-packages/lithops/serverless/backends/aws_lambda/aws_lambda.py", line 730, in _generate_runtime_meta
raise Exception('An error occurred: {}'.format(result))
Exception: An error occurred: {'errorType': 'Runtime.InvalidEntrypoint', 'errorMessage': 'RequestId: d71d7abf-1fa0-4509-a7ad-c83772585ae4 Error: fork/exec /usr/local/bin/python: exec format error'}

@abdilahrf
Copy link

Same issue, Have you resolved this @0xlance ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants