webbot
webbot copied to clipboard
Error running on AWS lambda.
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.