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

Error running on AWS lambda. #70

Open
aktur opened this issue Apr 5, 2021 · 0 comments
Open

Error running on AWS lambda. #70

aktur opened this issue Apr 5, 2021 · 0 comments

Comments

@aktur
Copy link

aktur commented Apr 5, 2021

When embedding this code within lambda function it crashes with exception

File "/usr/local/lib/python3.9/site-packages/webbot/webbot.py", line 66, in init
os.chmod(driverpath, 0o755)
OSError: [Errno 30] Read-only file system: '/usr/local/lib/python3.9/site-packages/webbot/drivers/chrome_linux'

The problem is that on lambda the only writable directory is under /tmp. This problem can be solved in many ways, one like in #67 or existing pull request.

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

1 participant