facebook_page_scraper icon indicating copy to clipboard operation
facebook_page_scraper copied to clipboard

issue with geckodriver when running inside a dockerized python app

Open Emirov opened this issue 1 year ago • 4 comments

I work with a fast api application this worked with me on the local but when tried to "dockerize" the app got this exception

  raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command li

It seems to be an exception related to the path maybe of geckodriver

Emirov avatar Sep 01 '22 09:09 Emirov

Yeah, it tries to find Mozilla Firefox in default location of installation but it is unable to find so

shaikhsajid1111 avatar Sep 01 '22 09:09 shaikhsajid1111

Thanks please view too my solution for chrome too but don't consider the commit proposal that I tried because there is an issue in it

Emirov avatar Sep 01 '22 09:09 Emirov

Oh, great if that works for you. Yeah, I checked it looks good, I'll test than might consider that. Thank you

shaikhsajid1111 avatar Sep 01 '22 09:09 shaikhsajid1111

Thanks Sajid waiting for the fix! Le jeudi 1 septembre 2022, 10:37:10 UTC+1, Sajid Shaikh @.***> a écrit :

Oh, great if that works for you. Yeah, I checked it looks good, I'll test than might consider that. Thank you

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Emirov avatar Sep 01 '22 10:09 Emirov