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

CLI works fine, API always errors out #10

Open
juuunas opened this issue Oct 7, 2024 · 4 comments
Open

CLI works fine, API always errors out #10

juuunas opened this issue Oct 7, 2024 · 4 comments

Comments

@juuunas
Copy link

juuunas commented Oct 7, 2024

I'm running it on an archlinux docker container with firefox and geckodriver installed, when using the api, it always returns at

"Could not launch Firefox or Chrome. Make sure geckodriver or "

the cli works fine though and I'm currently using it successfully on my app, I just wish the api would work so I could handle errors better and such.

@7x11x13
Copy link
Owner

7x11x13 commented Oct 7, 2024

Try specifying the location of your geckodriver binary, e.g. uploader = YTUploaderSession(webdriver_path="/usr/local/bin/geckodriver")

@juuunas
Copy link
Author

juuunas commented Oct 7, 2024

I specified it, still getting this, I tried symlinking it to .venv/bin, but it didn't do anything either

Error occurred: Could not launch Firefox or Chrome. Make sure geckodriver or chromedriver is installed
/home/joonas/ttv-archiver/archiver.py:259: RuntimeWarning: coroutine 'MitmProxy._wait_for_proxyserver' was never awaited
  return None
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

@7x11x13
Copy link
Owner

7x11x13 commented Oct 22, 2024

Can you post your Dockerfile?

@juuunas
Copy link
Author

juuunas commented Oct 24, 2024

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

No branches or pull requests

2 participants