-
Hello, Please forgive my ignorance on this stuff - I am a complete amateur at all things GitHub, but am determined to set up a nice karaoke system for my wife. I've been trying to run PiKaraoke on my laptop (Windows), and have so far completed all the steps, including manually installing ffmpeg (as well as setting it in the user PATHS), as well as running the setup script to install python dependencies. All of this appears to have been installed correctly, although I have been googling like crazy in every step of the way, so I may have been mistaken here and there. However, when I try to finally launch the program and run "pikaraoke.bat" in my PiKaraoke folder, I get the following issue before everything shuts down:
My first guess would be that there was an issue with my installation of ffmpeg, but when I check via command "ffmpeg -version" in the command prompt, I get this:
Any and all help would be greatly appreciated. Thank you so much for your time in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
I've yet to try a Windows installation of pikaraoke (mine's on a Pi4/5) so I'm unfamiliar with where the Windows/Linux boundary lies, but those errors look like something in the system (python maybe?) is misinterpreting those '' Windows-style folder location delimiters as C- or Linux-style escape-sequence prefixes. Regards |
Beta Was this translation helpful? Give feedback.
-
Seeing two issues here that look like bugs. The download path has not been
updated to work in non Unix Os.
And YouTube-dl didn’t seem to install properly. It’s possible there has
been a regression in recent versions. I’ll have a look once I get access to
a windows computer
…On Sun, Jul 21, 2024 at 10:46 AM StayAHDad ***@***.***> wrote:
Thank you for your response! The path definitions were done by a script, I
believe, as I haven't really been doing anything other than starting
scripts and moving files around. When I say "PATHS", I simply meant placing
the ffmpeg folder into my root "C" folder and then going into WIndows'
"Edit the System Environment Variables" and then adding the ffmpeg folder
into the "Paths" section of my user account... Unfortunately, I'm not even
sure what this is doing, and I've simply been following along with the
instructions in the readme.
I do have a ".py" script called "app" which is what I assumed the app.py
was referring to? Unless I'm mistaken here as well.
Sorry for the lack of any better information here. Again, I've just been
following instructions like a monkey.
—
Reply to this email directly, view it on GitHub
<#355 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7KXNTEADSLVFS6P2TS3E3ZNPXYJAVCNFSM6AAAAABLGXCU5SVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJQG44DMNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, while I could not reproduce this issue on my windows machine, the errors all look related to python not being able to handle backslashes in the path strings, instead interpreting as escape chars. I'm not sure why some Windows configurations would have an issue with this while mine does not, but to be safe I have checked in a fix that double-escapes those path strings, replacing I'd be curious to see if that fixes the issue. It has been merged to master. To install the fix, run
|
Beta Was this translation helpful? Give feedback.
Not sure. You ran
setup-windows.bat
first, right?Go the pikaraoke directory. Run
dir .venv
anddir .venv\Scripts
to list out the contents of those directories. Doesyt-dlp.exe
show up in second file list?