Replies: 4 comments
-
Is chrome / chromium properly installed? What version? Please include the plaform information from the log when you run
|
Beta Was this translation helpful? Give feedback.
-
I ran remotely to be able to copy the debug information:
***@***.***:~/pikaraoke $ ./pikaraoke.sh -l10Warning: Running remotely via SSH. Setting DISPLAY=:0.0 to run on host display[2024-08-13 05:10:44] DEBUG: http port: 5555 ffmpeg port 5556 hide URL: False prefer hostname: False url override: None hide RaspiWiFi instructions: False headless (hide splash): False splash_delay: 3 screensaver_timeout: 300 high quality video: False download path: /home/pi/pikaraoke-songs/ default volume: 0.85 youtube-dl path: /home/pi/pikaraoke/.venv/bin/yt-dlp logo path: /home/pi/pikaraoke/logo.png log_level: 10 hide overlay: False
platform: Raspberry Pi 4 Model B Rev 1.4 os version: #1529 SMP Tue Mar 8 12:24:00 GMT 2022 ffmpeg version: 4.1.11-0+deb10u1+rpt1 hardware h264 encoding: True youtubedl-version: 2024.08.06
[2024-08-13 05:10:44] DEBUG: IP address (for QR code and splash screen): 192.168.1.47[2024-08-13 05:10:44] INFO: Fetching available songs in: /home/pi/pikaraoke-songs/[2024-08-13 05:10:44] DEBUG: adding song: EL GRAN COMBO - ''SIN SALSA NO HAY PARAISO'' - (KARAOKE)---wYo1swIIzaU.mp4[2024-08-13 05:10:44] DEBUG: adding song: YAMULEE MAO. Karaoke. Joe Arrollo---Grw-Sz5E0Ow.mp4[2024-08-13 05:10:45] DEBUG: Generating URL QR code[13/Aug/2024:05:10:45] ENGINE Bus STARTING[2024-08-13 05:10:45] INFO: [13/Aug/2024:05:10:45] ENGINE Bus STARTING[13/Aug/2024:05:10:45] ENGINE Serving on http://0.0.0.0:5555[2024-08-13 05:10:45] INFO: [13/Aug/2024:05:10:45] ENGINE Serving on http://0.0.0.0:5555[13/Aug/2024:05:10:45] ENGINE Bus STARTED[2024-08-13 05:10:45] INFO: [13/Aug/2024:05:10:45] ENGINE Bus STARTED[2024-08-13 05:10:45] DEBUG: Skipping Selenium Manager; path to chrome driver specified in Service class: /usr/bin/chromedriverTraceback (most recent call last): File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/common/driver_finder.py", line 64, in _binary_paths raise ValueError(f"The path is not a valid file: {path}")ValueError: The path is not a valid file: /usr/bin/chromedriver
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/pi/pikaraoke/app.py", line 940, in <module> driver = webdriver.Chrome(service=service, options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__ super().__init__( File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/chromium/webdriver.py", line 50, in __init__ if finder.get_browser_path(): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/common/driver_finder.py", line 47, in get_browser_path return self._binary_paths()["browser_path"] ^^^^^^^^^^^^^^^^^^^^ File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/common/driver_finder.py", line 78, in _binary_paths raise NoSuchDriverException(msg) from errselenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
**********
Regarding the chromium installation, perhaps it has problems. This is what I get when I invoke ***@***.***:~/pikaraoke $ chromium-browserBlueALSA detected - Disabling audio sandbox[0813/051325.844336:ERROR:elf_dynamic_array_reader.h(61)] tag not foundTrace/breakpoint trap***********Any suggestions how to fix it?
Thanks for your help
Bautista Reinoso ***@***.***
On Sunday, August 11, 2024 at 04:01:47 PM PDT, Vicwomg ***@***.***> wrote:
Is chrome / chromium properly installed? What version? Please include the plaform information from the log when you run ./pikaraoke.sh -l10, example:
platform: osx
os version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000
ffmpeg version: 7.0
hardware h264 encoding: False
youtubedl-version: 2024.07.09
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
This error in your log: Did you run ./setup.sh first? This should install all the dependencies on the pi. |
Beta Was this translation helpful? Give feedback.
-
I did run it. Just to double-check I went ahead and ran it again (there was one update that came in) and it seems to complete successfully. But then I still get run-time error when I run ./pikarakoke.sh, still related to chromium:
***@***.***:~/pikaraoke $ ./pikaraoke.shWarning: Running remotely via SSH. Setting DISPLAY=:0.0 to run on host display[2024-08-13 10:54:31] INFO: Fetching available songs in: /home/pi/pikaraoke-songs/[13/Aug/2024:10:54:32] ENGINE Bus STARTING[2024-08-13 10:54:32] INFO: [13/Aug/2024:10:54:32] ENGINE Bus STARTING[13/Aug/2024:10:54:32] ENGINE Serving on http://0.0.0.0:5555[2024-08-13 10:54:32] INFO: [13/Aug/2024:10:54:32] ENGINE Serving on http://0.0.0.0:5555[13/Aug/2024:10:54:32] ENGINE Bus STARTED[2024-08-13 10:54:32] INFO: [13/Aug/2024:10:54:32] ENGINE Bus STARTEDTraceback (most recent call last): File "/home/pi/pikaraoke/app.py", line 940, in <module> driver = webdriver.Chrome(service=service, options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__ super().__init__( File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/chromium/webdriver.py", line 66, in __init__ super().__init__(command_executor=executor, options=options) File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 208, in __init__ self.start_session(capabilities) File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 292, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute self.error_handler.check_response(response) File "/home/pi/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace)selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.)Stacktrace:#0 0x000000a9a618 <unknown>#1 0x0000008009f4 <unknown>#2 0x000000822814 <unknown>#3 0x00000081ec04 <unknown>#4 0x00000085528c <unknown>#5 0x00000084fa14 <unknown>#6 0x000000828478 <unknown>#7 0x0000008293a4 <unknown>#8 0x000000ac7944 <unknown>#9 0x000000ad990c <unknown>#10 0x000000ad9550 <unknown>#11 0x000000adad40 <unknown>#12 0x000000ac8944 <unknown>#13 0x000000adafec <unknown>#14 0x000000abf3ac <unknown>#15 0x000000af26e8 <unknown>#16 0x000000af2858 <unknown>#17 0x000000b0cf4c <unknown>#18 0x0000b6ea1494 start_thread#19 0x000000000000 <unknown>
**********
Bautista Reinoso ***@***.***
On Monday, August 12, 2024 at 11:42:39 PM PDT, Vicwomg ***@***.***> wrote:
This error in your log: The path is not a valid file: /usr/bin/chromedriver indicates that you have not properly installed chromedriver.
Did you run ./setup.sh first? This should install all the dependencies on the pi.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello, I get a run-time error when trying to start ./pikaraoke.sh:
driver = webdriver.Chrome(service=service, options=options)
.....
....
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed.
Any suggestions are appreciated!
Beta Was this translation helpful? Give feedback.
All reactions