-
-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: expected str, bytes or os.PathLike object, not NoneType #403
Comments
refresh your webpage. every time you stop gradio socket and restart, you have to refresh your webpage |
I already refresh the web page whenever I stop and restart the service, same issue persists. |
control+c to quit completely the gradio socket. restart ./ebook2audiobook.sh |
I fully closed all windows, and quit the terminal with control+c. I double-clicked I chose directory, and uploaded 2 epub files. I chose English, chose I clicked on the start button. Got the following terminal output, with an error on Gradio saying "Conversion cancelled."
|
what do you mean by "I set the session name to something new, Mass-Conversion-Test-One" ??? |
this text box is in read mode only, if edge allows to enter something inside so it's a bug from edge or gradio. |
It would be a bug for Gradio then, confirmed it is also editable on Firefox. |
I will check with gradio developers what's happening. for now just leave it untouched with the uuid inside created for your own session. if it's empty, so delete the whole eb2ab folder and clone it again |
it;'s normal it's an input container, but must be a readonly |
ok I found the issue, it will be fixed and merge later or tomorrow |
Script Mode
Process Mode
Operating System:
Describe the bug
I am having a strange reoccurring issue. I've noticed that the first run of ebook2audiobook works normally, however when I later try a second go, this time with a directory, I get the error below. When I get this error in my CMD, I also get a "Conversion cancelled" message on the GUI, with the files disappearing from the GUI.
After I receive this error, no matter what I try through the GUI, I cannot get it to process a file. Doesn't matter if I change it to a file, change the voice audio file, change the fine tuned models, or the session name. It just comes up with the same error for that file.
Whenever I get this error, the most reliable solution has been to delete the entire folder from my computer, and then do another git pull.
Through past testing, I noticed you can sometimes get it started with a new session through the CLI, cancel it, and then continue the session through the GUI instead. Sometimes it can also work if you close the past instance of ebook2audiobook and reopen it, by either doing Ctrl+C in the terminal window or force closing it, and then change the session name.
Terminal log
(One thing I should also note, this is the latest git pull, not version 25.3.2)
Here are my settings I've set:
English
languageBobOdenkirk
voice audio fileXTTS
BobOdenkirk
Fine Tuned ModelTest-One
session namem4b
output formatGPU
processor unitThe text was updated successfully, but these errors were encountered: