Coder Social home page Coder Social logo

Comments (5)

ManivannanMurugavel avatar ManivannanMurugavel commented on September 26, 2024 1

Hi @justdvl,
Please change the chromedriver permission.

chmod 777 chromedriver

from selenium-python-aws-lambda.

justdvl avatar justdvl commented on September 26, 2024

Thanks. I am total noob here. How do I change that? cli?

from selenium-python-aws-lambda.

gouravbns avatar gouravbns commented on September 26, 2024

Hi @ManivannanMurugavel , can you please tell us how to fix this issue .

I am also getting the same error

from selenium-python-aws-lambda.

actioncorp3 avatar actioncorp3 commented on September 26, 2024

Hi @ManivannanMurugavel @justdvl @gouravbns , how could this problem be solved?

from selenium-python-aws-lambda.

cptrfan avatar cptrfan commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.