Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with srt_fixer_gui #20

Open
jsavage opened this issue Sep 26, 2024 · 1 comment
Open

Errors with srt_fixer_gui #20

jsavage opened this issue Sep 26, 2024 · 1 comment

Comments

@jsavage
Copy link

jsavage commented Sep 26, 2024

Executing this results in the GUI being displayed. After populating the inputs and pressing Fix Subtitles appears to work as I see Subtitles fixed Successfully and a file manager then opens and the first two messages appear. When file manager is closed the third message appears. The gui then closes without further error. Stdout msgs:
~/srt_fixer_gui $ python srt_fixer_gui.py

(pcmanfm:25129): Gtk-WARNING **: 09:05:27.336: Theme parsing error: :2:27: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(pcmanfm:25129): Gtk-WARNING **: 09:05:27.338: Theme parsing error: :3:30: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(pcmanfm:25129): Gtk-WARNING **: 09:05:52.521: gtk_menu_detach(): menu is not attached

@bindestriche
Copy link
Owner

That is an issue with your Gtk Theme.
Does the CLI version work? What version of python are you on?

You can try to overload the ttk widgets by adding import tkinter as ttk below line 18

so

from tkinter import ttk, filedialog
import tkinter as ttk

If you point me to the distro you are using, I can try to reproduce it in a VM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants