lidl-plus icon indicating copy to clipboard operation
lidl-plus copied to clipboard

Can't connect to Web Browser

Open qnbsqnbs opened this issue 1 year ago • 2 comments

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

qnbsqnbs avatar Jul 18 '24 13:07 qnbsqnbs

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.

prankousky avatar Aug 02 '24 10:08 prankousky

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.

Millio345 avatar Aug 05 '24 08:08 Millio345