Comments (20)
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.
the web server shouldn't close even if voice generation crashes, so more details needed
from sapi4.
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.
i mean technical details... like a stack trace?
from sapi4.
If you have a similar issue please create another ticket. Otherwise, if you can't provide more details, please stop commenting.
from sapi4.
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
from sapi4.
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.
this is what i see after debugging with VS2022
from sapi4.
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.
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.
Did you see the resulting file name printed out by sapi4out.exe
?
from sapi4.
from sapi4.
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.
this is what printed out when i debugged sapi4out.exe
from sapi4.
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.
the webserver thinks that the generated file doesn't exist even though it was generated
from sapi4.
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.
well unfortunately there was no exception reported, at least for me, so i have no clue what's causing the bug here
from sapi4.
Unfortunately either there is wrong information or not enough information provided regarding this issue, so I cannot debug this from current position.
from sapi4.
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)
- resource.h missing HOT 3
- The website that you hosted is gone HOT 1
- Installing spchapi.exe and tv_enua.exe on headless linux HOT 2
- no sapi4.hpp HOT 1
- Site seems to be down HOT 2
- Error compiling web server HOT 4
- Failed to spawn process sapi4limits.exe HOT 5
- Its Down :(
- Builds HOT 5
- down HOT 2
- Error 502 HOT 1
- 504 Gateway Time-out Problems HOT 1
- SAPI4 on Windows 10 Very Unstable. HOT 13
- app.SAM.this.conn has scoped destruction HOT 2
- Can't access the website. HOT 1
- 504 Gateway Error - NEED HELP! HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sapi4.