#fam #grownostr #ai
we are half way through funding!
I would love more people involved so that I can ask for help setting it up in docker
nostr:note1eqrz39qm66g6g5fzftxw4yaj6jysu30ngxj7sa7qfmga4ccrzsvsvexvdm
#fam #grownostr #ai
we are half way through funding!
I would love more people involved so that I can ask for help setting it up in docker
nostr:note1eqrz39qm66g6g5fzftxw4yaj6jysu30ngxj7sa7qfmga4ccrzsvsvexvdm
#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
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:
If it does not work, use your operating system's package manager to install Chrome and all the required libraries.
More funding appreciated, but I made it work through docker in current version!
thank you, you are a genius
unfortunately my build gets stuck in here
venice | Logging in to venice...
venice | Using system-wide chromedriver: /usr/bin/chromedriver
and after a (longer) while
venice | Chromium initialization failed: Message: timeout: Timed out receiving message from renderer: 600.000
venice | (Session info: chrome=128.0.6613.113)
venice | Stacktrace:
venice | #0 0x637944f8ed8e
venice | #1 0x637944ca5aa0
venice | #2 0x637944c91006
venice | #3 0x637944c90e02
venice | #4 0x637944c8edae
venice | #5 0x637944c8f104
venice | #6 0x637944c8d9d1
venice | #7 0x637944c969a2
venice | #8 0x637944c8d7c0
venice | #9 0x637944c90a2c
venice | #10 0x637944c8edae
venice | #11 0x637944c8f104
venice | #12 0x637944c8d9d1
venice | #13 0x637944c85fff
venice | #14 0x637944c8d7c0
venice | #15 0x637944c8d27e
venice | #16 0x637944c8cf63
venice | #17 0x637944ca84c9
venice | #18 0x637944c7f787
venice | #19 0x637944c7ee31
venice | #20 0x637944d27a60
venice | #21 0x637944d26f63
venice | #22 0x637944d1a433
venice | #23 0x637944ce5578
venice | #24 0x637944ce652e
venice | #25 0x637944f5d916
venice | #26 0x637944f60c47
venice | #27 0x637944f60708
venice | #28 0x637944f610d5
venice | #29 0x637944f4e1ee
venice | #30 0x637944f6141f
venice | #31 0x637944f38375
venice | #32 0x637944f7e3a5
venice | #33 0x637944f7e586
venice | #34 0x637944f8db4a
venice | #35 0x768811a31144
venice |
venice | Traceback (most recent call last):
venice | File "/app/ollama_like_server.py", line 518, in
venice | driver = login_to_venice(username, password)
venice | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
venice | File "/app/ollama_like_server.py", line 99, in login_to_venice
venice | driver = get_webdriver(headless=args.headless, debug_browser=args.debug_browser, docker=args.docker)
venice | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
venice | File "/app/ollama_like_server.py", line 73, in get_webdriver
venice | chrome_options.binary_location = None # Reset binary location
venice | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
venice | File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/options.py", line 54, in binary_location
venice | raise TypeError(self.BINARY_LOCATION_ERROR)
venice | TypeError: Binary Location Must be a String