vicwomg / pikaraoke

Youtube-based Karaoke machine for Raspberry Pi, OSX, Windows, and Linux
GNU General Public License v3.0
461 stars 117 forks source link

[BUG] Does not start, with errors, on Debian/LinuxLite #339

Open TekyTech opened 1 week ago

TekyTech commented 1 week ago

Crashes upon start.

When starting ./pikaraoke.sh it shows errors:

./pikaraoke.sh /home/user/pikaraoke/app.py:650: SyntaxWarning: invalid escape sequence '\S' return os.path.join(os.path.dirname(file), ".venv\Scripts\yt-dlp.exe") /home/user/pikaraoke/app.py:658: SyntaxWarning: invalid escape sequence '\p' legacy_directory = os.path.expanduser("~\pikaraoke\songs") /home/user/pikaraoke/app.py:662: SyntaxWarning: invalid escape sequence '\p' return "~\pikaraoke-songs" [2024-06-23 06:48:32] INFO: Fetching available songs in: /home/user/pikaraoke-songs/ [23/Jun/2024:06:48:33] ENGINE Bus STARTING [2024-06-23 06:48:33] INFO: [23/Jun/2024:06:48:33] ENGINE Bus STARTING [23/Jun/2024:06:48:33] ENGINE Serving on http://0.0.0.0:5555 [2024-06-23 06:48:33] INFO: [23/Jun/2024:06:48:33] ENGINE Serving on http://0.0.0.0:5555 [23/Jun/2024:06:48:33] ENGINE Bus STARTED [2024-06-23 06:48:33] INFO: [23/Jun/2024:06:48:33] ENGINE Bus STARTED Traceback (most recent call last): File "/home/user/pikaraoke/app.py", line 899, in driver = webdriver.Chrome(service=service, options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init super().init( File "/home/user/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/user/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 212, in init self.start_session(capabilities) File "/home/user/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 299, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/pikaraoke/.venv/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 354, in execute self.error_handler.check_response(response) File "/home/user/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.SessionNotCreatedException: Message: session not created from unknown error: no chrome binary at /usr/bin/google-chrome Stacktrace:

0 0x59cf2d0fbc4a

1 0x59cf2cdf629c

2 0x59cf2ce28a77

3 0x59cf2ce26ea6

4 0x59cf2ce70db8

5 0x59cf2ce646e3

6 0x59cf2ce34879

7 0x59cf2ce351ce

8 0x59cf2d0c496f

9 0x59cf2d0c8af6

10 0x59cf2d0b179c

11 0x59cf2d0c9291

12 0x59cf2d0976ce

13 0x59cf2d0eb0d8

14 0x59cf2d0eb2e6

15 0x59cf2d0facfd

16 0x7a0e965c4ac3

TekyTech commented 1 week ago

UPDATE: I've found a fix here: https://stackoverflow.com/questions/62233719/webdriverexception-no-chrome-binary-at-usr-bin-google-chrome-stable-or-chrome

The solution to simply uninstall chromium worked for me