frodekp / DECtalk-Twitch-TTS-bot

DECtalk Twitch text-to-speech bot is a bot that reads out chat messages with DECtalk. DECtalk is famously used by Professor Stephen Hawking, The US National Weather Service, Back To The Future Part II, Benny Benassi, and last but not least the game Moonbase Alpha.
GNU General Public License v3.0
10 stars 3 forks source link

Dectalk crashes after speech. #10

Open AdamT567 opened 4 months ago

AdamT567 commented 4 months ago

After speech is redeemed through channel points the dectalk console force closes itself. Have tried reinstalling everything to try and fix any hiccups but nothing has worked. Unsure why it is doing it now when it was fine before. Also is there a log file I am overlooking, or does one not exist?

frodekp commented 4 months ago

There is currently not any log file.

How do you go about when running it? The terminal shouldn't close on crash if you open the terminal first before running the python script. If you run the script by double click it, it will close on crash. Can you try opening the terminal first, then go to the project path and then use python dectalktwitchtts.py and see if you can get error message?

I tried running it with only CHANNEL_POINT_REDEMPTION_ALLOWED enabled but didn't crash when a valid message got trough. So I'm not sure what the error could be.

AdamT567 commented 4 months ago

So I followed your instructions and got an Input: Segmentation fault. I'll attach a screenshot of my terminal to this comment as well.

image

SupaPhly commented 4 months ago

I'm having the same problem, as soon as it speaks the first message, the script stops

frodekp commented 4 months ago

I cant seem to reproduce this error. What python version are you using? python --version

SupaPhly commented 4 months ago

I cant seem to reproduce this error. What python version are you using? python --version

Python 3.12.3

should I be using another version?

frodekp commented 4 months ago

I just tested it with Python 3.12.3 and got the same error as you did. Earlier I used Python 3.11.3 when it worked for me.

AdamT567 commented 4 months ago

I just tested it with Python 3.12.3 and got the same error as you did. Earlier I used Python 3.11.3 when it worked for me.

yeah I'm on 3.12.2 which is what it installed just a few months ago. I had moved to a new, fresh install of windows on a second computer and ran the install script provided.