Zalunda / FunscriptToolbox

GNU General Public License v3.0
16 stars 2 forks source link

getting stuck says "FunscriptToolbox.exe is not recognized as an internal or external command, operable program or batch file #2

Closed lebeastmode closed 1 year ago

lebeastmode commented 1 year ago

FunscriptToolbox.log

If the FunscriptToolbox can start but it returns an error while running. It might be python after all.

In a command line, if you write “python.exe”, does it starts?

Python 3.9.0 (tags/v3.9.0:9cf6752, Oct  5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
If not, you might have to add the folder of python in the path in the script like this:

 set path=C:\AwesomeTools\FunscriptToolbox;[path of python bin];%path%
In my case, it was not needed but it might have been an option in the python installation that I selected. Usually, it’s in C:\python39 or C:\Users.…username…\AppData\Local\Programs\Python\Python39

If it still doesn’t work, please create an issue on [Issues · Zalunda/FunscriptToolbox · GitHub](https://github.com/Zalunda/FunscriptToolbox/issues), and attach the log file found in “%appdata\FunscriptToolbox\Logs” (i.e.
“C:\Users.…username…\AppData\Roaming\FunscriptToolbox\Logs”).
Zalunda commented 1 year ago

Humm, do you have other file in the log folder ?
FunscriptToolbox.log.1, .2, .3

I forgot that I asked you to test without any parameters and the log that you linked is the result. I'm more interested in logs when you try to start the batch file.

lebeastmode commented 1 year ago

FunscriptToolbox.log I deleted all the previous logs and it still creating similar log

--- subtitles.video2vadsrt ---
'"FunscriptToolbox.exe"' is not recognized as an internal or external command,
operable program or batch file.

--- subtitles.srt2wavchunks ---
'"FunscriptToolbox.exe"' is not recognized as an internal or external command,
operable program or batch file.

--- subtitles.srt2singlewav ---
'"FunscriptToolbox.exe"' is not recognized as an internal or external command,
operable program or batch file.

--- subtitles.wavchunks2srt ---
'"FunscriptToolbox.exe"' is not recognized as an internal or external command,
operable program or batch file.

--- subtitles.gpt2srt ---
'"FunscriptToolbox.exe"' is not recognized as an internal or external command,
operable program or batch file.

--- subtitles.srt2gpt ---
'"FunscriptToolbox.exe"' is not recognized as an internal or external command,
operable program or batch file.

--- subtitles.singlewav2srt ---
'"FunscriptToolbox.exe"' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
Zalunda commented 1 year ago

Thanks for the output. As spacemanbob found in the eroscript thread:

You need to remove the REM at the start of the line. It's my mistake, I shouldn't have added it in the 'template' .bat file.

This: REM set path=C:\AwesomeTools\FunscriptToolbox;%path% Need to be changed to: set path=C:\AwesomeTools\FunscriptToolbox;%path%

lebeastmode commented 1 year ago

Yep that was the fix thanks!

Zalunda commented 1 year ago

Closing the issue. Nothing to do in the application since the .bat file is not part of the tools.