Dadangdut33 / Speech-Translate

A realtime speech transcription and translation application using Whisper OpenAI and free translation API. Interface made using Tkinter. Code written fully in Python.
MIT License
423 stars 55 forks source link

[BUG]The GUI application tries to run endlessly. #51

Closed Adi900696 closed 8 months ago

Adi900696 commented 8 months ago

When you try to start the application, it loads endlessly. 1 CPU thread is constantly busy. An attempt to delusional CPU and GPU versions, trying to run 1.3.0 and 1.3.1, trying to run on different computers (1: R7 4800h and RTX2060 and the second i7-3630qm and hd4000/Gt730m. Python 3.10.10 was installed on the computers (The one with installer), and then reinstalled on 3.11.6 (also Installer) and it didn't help. Ffmpeg added. Cmd reports the presence of ffmpeg and python. Old versions worked without any problems even without Python installed on the computer. 20231109_081221 20231109_082716 I have prebuilt binary version.

Dadangdut33 commented 8 months ago

can you share the log? it should be located in the installation folder in lib/speech_translate/log

Dadangdut33 commented 8 months ago

i think i might now what caused the problem, i'll try to fix it real quick

Adi900696 commented 8 months ago

Logs: 2023-11-09 09-06-24.log - Intel 2023-11-09 07-58-49.log - Amd/RTX2060 From what I see, everything stops at the process of applying a new theme at startup.

Dadangdut33 commented 8 months ago

Logs: 2023-11-09 09-06-24.log - Intel 2023-11-09 07-58-49.log - Amd/RTX2060 From what I see, everything stops at the process of applying a new theme at startup.

yea it seems that the splash screen caused the app to froze, i have tried replicating it on my other device and got the same result like yours. That's why i'll probably remove it after this.

Dadangdut33 commented 8 months ago

the splash screen is really the cause of it, thanks for reporting the bug. I'm currently building the next version right now and will upload it as soon as its done

Dadangdut33 commented 8 months ago

Fixed in 1.3.2 thanks for the bug report! :D