#asknostr #desperate

what that means? What am I doing wrong

venice | Logging in to venice...

venice | Traceback (most recent call last):

venice | File "/app/ollama_like_server.py", line 460, in

venice | driver = login_to_venice(username, password)

venice | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

venice | File "/app/ollama_like_server.py", line 56, in login_to_venice

venice | driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chrome_options)

venice | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

venice | File "/app/venv/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__

venice | super().__init__(

venice | File "/app/venv/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 55, in __init__

venice | self.service.start()

venice | File "/app/venv/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 102, in start

venice | self.assert_process_still_running()

venice | File "/app/venv/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 115, in assert_process_still_running

venice | raise WebDriverException(f"Service {self._path} unexpectedly exited. Status code was: {return_code}")

venice | selenium.common.exceptions.WebDriverException: Message: Service /root/.wdm/drivers/chromedriver/linux64/114.0.5735.90/chromedriver unexpectedly exited. Status code was: 127

Reply to this note

Please Login to reply.

Discussion

can you run chrome from command line?

It is docker container built on python:3.11. How do I run chrome without display?

Just use it in headless mode:

WebDriver errors - check if Chrome is installed and working

If you get WebDriver errors, first make sure that you can run the Chrome binary from the command line.

Replace /path/to/your/google-chrome with your path to Chrome.

/path/to/your/google-chrome e --headless --disable-gpu --dump-dom https://bitcoin.org/ | head -n 20 | grep "Bitcoin"

The output should be something like:

Bitcoin - Open source P2P money

If it does not work, use your operating system's package manager to install Chrome and all the required libraries.