pyronlaboratory / heroku-integrated-firefox-geckodriver

Buildpack enables your client code to access Firefox along with Geckodriver in a Heroku slug.
https://pyronlaboratory.github.io/heroku-integrated-firefox-geckodriver/
MIT License
41 stars 81 forks source link

Incorrect Permission Error When Deploying to Heroku-18 #18

Open checktest82 opened 3 years ago

checktest82 commented 3 years ago

I created a fork here ( https://github.com/checktest82/heroku-firefox-geckofork ) to fix an error that was stated here: https://github.com/pyronlaboratory/heroku-integrated-firefox-geckodriver/issues/16

I deployed my application to test here: https://github.com/checktest82/test-package

I added all environment variables to my slug: https://i.imgur.com/FUtgcLl.png

Yet when I run it, Im thrown this error:

{"error":"Message: 'geckodriver' executable may have wrong permissions. \n","status":0}

Which you can see live: https://test66711.herokuapp.com/get

How do I fix?

Also to add, Heroku-20 does not work with this (throws an error if you try to deploy to a slug with heroku-20)

github-actions[bot] commented 3 years ago

Thank you for using heroku-integrated-firefox-geckodriver. Preliminary examination of your issue is underway' first issue

checktest82 commented 3 years ago

Tried doing the https://github.com/pyronlaboratory/heroku-integrated-firefox-geckodriver/issues/9#issuecomment-696525431 fix on my main project as shown here: https://github.com/checktest82/test-package/commit/11de98a9dd32a5a984d13dc71574cf77a3ed7f7c but now I get:

"Message: 'geckodriver' executable needs to be in PATH. \n"

It is supposed to be in path already: https://imgur.com/FUtgcLl

flazouh commented 3 years ago

Can't make it work aswell...