Giter Site home page Giter Site logo

Comments (20)

Daisreich avatar Daisreich commented on June 9, 2024 1

i mean technical details... like a stack trace?

whenever i manage to get the server back up, i will see if there is a stacktrace

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

the web server shouldn't close even if voice generation crashes, so more details needed

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

whenever i use a voice that is another language other than American English, the server refuses to generate the speech with the voice and the sapi4.exe executable crashes without warning

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

i mean technical details... like a stack trace?

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

If you have a similar issue please create another ticket. Otherwise, if you can't provide more details, please stop commenting.

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

just put the server back up and tried the british english voices, after trying to generate speech, it results in a bad gateway error and no error was logged in the console
image

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

Do you see anything in server console where web application is hosted?

Note that the guide in README is quite outdated, current version generates audio to a file instead of tcp socket by executing sapi4out.exe.

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

image
this is what i see after debugging with VS2022

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

The reason that it exits is because its done by design (https://github.com/TETYYS/SAPI4/blob/master/SAPI4_web/source/app.d#L186) --- sometimes when running the application in WINE under linux it can corrupt itself for some reason so that all voice generations are invalid. As application is run as a service, it auto-restarts itself.

In your case your first generation fails, so I suggest running sapi4out.exe manually yourself to see what you get:
sapi4out.exe "Adult Female #1 British English (L&H)" 170 180 "soi soi soi"

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

the WAV file with the voice was created but sapi4.exe just closed after it was generated
i did however try the sapi4out.exe method and it seemed to work just fine

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

Did you see the resulting file name printed out by sapi4out.exe?

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

yep
image

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

I mean printed out in console, not only generated file. The reason that web server terminates is that it doesn't capture any output from sapi4out.exe. It should capture the resulting audio file name.

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

this is what printed out when i debugged sapi4out.exe
image

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

If the generation is successful and it prints out the resulting filename but webserver doesn't catch it, then either the way you're running sapi4out.exe is different from how web server is running it, or dlang runtime doesn't capture stdout of sapi4out.exe process for some reason, which I doubt it wouldn't.

I suggest debugging webserver at the point where process is run and stdout is captured.

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

the webserver thinks that the generated file doesn't exist even though it was generated

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

In that case an exception would be thrown as per enforce in vibe.d https://github.com/vibe-d/vibe-core/blob/82a6e3b5a0839a230df22df41a7b89e1b9a3bf43/source/vibe/core/file.d#L47

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

well unfortunately there was no exception reported, at least for me, so i have no clue what's causing the bug here

from sapi4.

TETYYS avatar TETYYS commented on June 9, 2024

Unfortunately either there is wrong information or not enough information provided regarding this issue, so I cannot debug this from current position.

from sapi4.

Daisreich avatar Daisreich commented on June 9, 2024

you can try reproducing this issue by installing the L&H British English voices on the device and attempt to use the voice with the SAPI4 server

from sapi4.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.