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

App crashes if no GTK2 theme is available #3

Open
ALEX11BR opened this issue Jul 16, 2024 · 1 comment
Open

App crashes if no GTK2 theme is available #3

ALEX11BR opened this issue Jul 16, 2024 · 1 comment

Comments

@ALEX11BR
Copy link
Owner

No description provided.

@matteobongio
Copy link

I think I'm getting something similar, but it keeps running (with no window)


(.themechanger-wrapped:134850): Gtk-CRITICAL **: 20:21:28.612: gtk_tree_view_scroll_to_point: assertion 'gtk_widget_get_realized (GTK_WIDGET (tree_view))' failed

(.themechanger-wrapped:134850): Gtk-CRITICAL **: 20:21:29.824: gtk_tree_view_scroll_to_point: assertion 'gtk_widget_get_realized (GTK_WIDGET (tree_view))' failed
Traceback (most recent call last):
  File "/nix/store/ga0gzj1910mpidn24rc13f1ih2gmj3gd-python3.12-pygobject-3.50.0/lib/python3.12/site-packages/gi/overrides/Gtk.py", line 814, in _getiter
    aiter = self.get_iter(key)
            ^^^^^^^^^^^^^^^^^^
  File "/nix/store/ga0gzj1910mpidn24rc13f1ih2gmj3gd-python3.12-pygobject-3.50.0/lib/python3.12/site-packages/gi/overrides/Gtk.py", line 858, in get_iter
    raise ValueError("invalid tree path '%s'" % path)
ValueError: invalid tree path '0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/nix/store/37iw5ywlgzxwrc6v21zbivjplhpig72b-themechanger-0.12.0/share/themechanger/themechanger/main.py", line 32, in do_activate
    win = ThemechangerWindow(app=self)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/37iw5ywlgzxwrc6v21zbivjplhpig72b-themechanger-0.12.0/share/themechanger/themechanger/window.py", line 155, in __init__
    self.gtk2SearchableThemeList = SearchableThemeList(
                                   ^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/37iw5ywlgzxwrc6v21zbivjplhpig72b-themechanger-0.12.0/share/themechanger/themechanger/searchablethemelist.py", line 34, in __init__
    self.setThemesTreeViewModel(themesTreeViewModel)
  File "/nix/store/37iw5ywlgzxwrc6v21zbivjplhpig72b-themechanger-0.12.0/share/themechanger/themechanger/searchablethemelist.py", line 71, in setThemesTreeViewModel
    self.selectTheme()
  File "/nix/store/37iw5ywlgzxwrc6v21zbivjplhpig72b-themechanger-0.12.0/share/themechanger/themechanger/searchablethemelist.py", line 60, in selectTheme
    firstRow = self.themesTreeViewModelFiltered[0]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
  File "/nix/store/ga0gzj1910mpidn24rc13f1ih2gmj3gd-python3.12-pygobject-3.50.0/lib/python3.12/site-packages/gi/overrides/Gtk.py", line 833, in __getitem__
    aiter = self._getiter(key)
            ^^^^^^^^^^^^^^^^^^
  File "/nix/store/ga0gzj1910mpidn24rc13f1ih2gmj3gd-python3.12-pygobject-3.50.0/lib/python3.12/site-packages/gi/overrides/Gtk.py", line 816, in _getiter
    raise IndexError("could not find tree path '%s'" % key)
IndexError: could not find tree path '0'

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