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

Can't connect to Web Browser #18

Open
qnbsqnbs opened this issue Jul 18, 2024 · 2 comments
Open

Can't connect to Web Browser #18

qnbsqnbs opened this issue Jul 18, 2024 · 2 comments

Comments

@qnbsqnbs
Copy link

Everytime I try to use lidl-plus auth I am running into a Webbrowser Exeption after entering the password. I tried with Chrome, Chromium and Firefox.

A clear and concise description of what you expected to happen.

  • Python-Version: 3.12.4
  • Release-Version: 0.3.5

For auth problems:

  • OS : Windows11, MacOS 13.5.1
  • Browser: Chromium, Chrome, Firefox
  • Country: DE
  • Language: de
@prankousky
Copy link

Same issue. Using in venv:

  • version 3.12.4
  • OS arch linux
  • installed browsers: Firefox, Chromium
  • Country DE
  • language de

It simply won't open any of my browsers, only display Can't connect to web browser. Please install Chrome, Chromium or Firefox.

I tried export BROWSER="firefox" before running, but that doesn't make a difference.

@Millio345
Copy link

Millio345 commented Aug 5, 2024

Regarding the error from @prankousky , which may be different from the original issue (Webbrowser exception) here:
There seem to be a few problem with this package related to changes in dependencies; I think an older version of Selenium is required. Alternatively, a very quick and dirty fix that at least got Firefox working again for me was changing
api.py
FROM

        return webdriver.Firefox(
            executable_path=GeckoDriverManager().install(),
            firefox_binary="/usr/bin/firefox",
            options=options,
            firefox_profile=profile,
        )

TO

        return webdriver.Firefox(
            options=options
        )

This is not a particularly good solution and could have all sorts of unintended consequences but I was able to get a new refresh token this way.

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

3 participants