Comments (5)
Hi @justdvl,
Please change the chromedriver permission.
chmod 777 chromedriver
from selenium-python-aws-lambda.
Thanks. I am total noob here. How do I change that? cli?
from selenium-python-aws-lambda.
Hi @ManivannanMurugavel , can you please tell us how to fix this issue .
I am also getting the same error
from selenium-python-aws-lambda.
Hi @ManivannanMurugavel @justdvl @gouravbns , how could this problem be solved?
from selenium-python-aws-lambda.
Hi, I had the same issue on Windows environment, but was able to resolve it by using Ubuntu instead. It appears Windows default zip application does not always correctly handle Linux file attributes.
Here's the steps I took to make it work.
If you only have Windows environment, try using Windows Subsystem for Linux.
On Ubuntu,
# Install zip and unzip
sudo apt-get install zip unzip
# Download lambda_function.zip from this repository
wget https://github.com/ManivannanMurugavel/selenium-python-aws-lambda/raw/master/lambda_function.zip
# Create a folder to store the content of lambda_function.zip
mkdir lambda_function
# Unzip lambda_function.zip into the folder you just created
unzip lambda_function.zip -d lambda_function/
# Go into the folder
cd lambda_function
# Now, modify lambda_function.py however you want.
# Create a new zip file with your changes
zip -r {your_desired_destination_folder}/lambda_function.zip *
Then, upload the newly created lambda_function.zip to your AWS S3.
Hope this helps!
from selenium-python-aws-lambda.
Related Issues (12)
- "errorMessage": "Message: 'chromedriver' executable may have wrong permissions. HOT 9
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable may have wrong permissions.
- Timed Out Error HOT 2
- chromedriver' executable needs to be in PATH. HOT 3
- Returning Empty HTML
- SAM local run Error HOT 1
- Zip/Unzip no longer works HOT 2
- OSError: [Errno 8] Exec format error HOT 1
- Invalid URL HOT 3
- How to add additional packages like boto3 HOT 3
- Not Run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenium-python-aws-lambda.