Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python - invalid argument: can't kill an exited process #11

Open
brunoapcd opened this issue Aug 6, 2020 · 5 comments
Open

Python - invalid argument: can't kill an exited process #11

brunoapcd opened this issue Aug 6, 2020 · 5 comments

Comments

@brunoapcd
Copy link

Hi guys, I am trying to use Geckodriver in my Python application hosted on Heroku and I'm getting the following exception:

"invalid argument: can't kill an exited process"

My code:
from selenium.webdriver.firefox.options import Options

options = Options()
options.headless = True
options.binary_location = os.environ.get("FIREFOX_BIN")
driver = webdriver.Firefox(options=options, executable_path=os.environ.get("GECKODRIVER_PATH"))

driver.get("https://my-url")

Any ideas? I already installed the buildpacks and set all the server variables.

@github-actions
Copy link

github-actions bot commented Aug 6, 2020

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

@adamb70
Copy link

adamb70 commented Aug 31, 2020

Having the same issue here. Seems like firefox won't start up at all:

> ~/vendor/firefox $ ./firefox -h

XPCOMGlueLoad error for file /app/vendor/firefox/libxul.so:
libXt.so.6: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

@kingkong-cmd
Copy link

Same issue here as well.

@pyronlaboratory
Copy link
Owner

@brunoapcd, with the limited code and logs that you've posted, it's hard for me to guide you. Would appreciate it if you could post more detailed debug logs.

@pyronlaboratory
Copy link
Owner

@adamb70 and @kingkong-cmd, XPCOMGlueLoad error hints that the error originates from firefox, which is out of the scope of this buildpack as explained in this issue #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants