webbot icon indicating copy to clipboard operation
webbot copied to clipboard

Error running on AWS lambda.

Open aktur opened this issue 4 years ago • 0 comments

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.

aktur avatar Apr 05 '21 08:04 aktur