Pastor
Espeak error in a discord bot
Well finally I manage to make it work so I'm going to leave here how I did it just in case in the future someone needs it.
For installing espeak in the railway environment the best way was with the nixpacks file as Brody suggested. The problem was that once it was installed I got an error related to comtypes. COMTypes works only in windows is not made for Linux, it won't work in railway. So unfortunately it can't be done with pyttsx3 (which of all the open libraries that I tried, it has the best voice management). But I can be done just as easy with gtts and you can still manage voices and connections to voice channels, so I would recommend using this one instead.
Thanks again for the help, I hope it helps and please feel free to close the ticket.
19 replies
Espeak error in a discord bot
sure here it goes, https://github.com/PastorL/el_facha_tarkovsky_bot the nixpacks file has the "espeak" library instead of the "libespeak1" one because I already try with that one, and right now I'm just testing if anything goes
19 replies
Espeak error in a discord bot
This is without a doubt the right way, it seems like the first time I tried with the nixpack file I broke something, but removing de custom Dockerfile and just writing that line that Brody commented is enough to install it (I see it in the build logs), but for some reason it stills gives me the same error. Is it possible that the next log line has anything to do with it?
"debconf: delaying package configuration, since apt-utils is not installed"
19 replies
Espeak error in a discord bot
I tried with the custom dockerfile and it did install it but I guess this override the main docker configuration and the is not running, is there a way in which I can get how it is written (I mean de custom docker file)?
19 replies