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

It immediently closes after starting #67

Closed
ghost opened this issue Nov 15, 2020 · 2 comments
Closed

It immediently closes after starting #67

ghost opened this issue Nov 15, 2020 · 2 comments
Labels
Fix Released The fix was released.

Comments

@ghost
Copy link

ghost commented Nov 15, 2020

I installed it for the first time.
Every time I try to start it,it starts and after a second it closes.
I use Manjaro Kde from the official Repositories.
Edit:
If I run it in Terminal,I get this:
(menulibre:88491): Gtk-WARNING **: 22:33:11.054: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(menulibre:88491): Gtk-WARNING **: 22:33:11.054: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(menulibre:88491): Gtk-WARNING **: 22:33:11.054: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Gtk-Message: 22:33:11.068: Failed to load module "appmenu-gtk-module"

(menulibre:88491): Gtk-WARNING **: 22:33:11.110: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:88491): Gtk-WARNING **: 22:33:11.145: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 2217, in do_activate
self.win = MenulibreWindow(self, headerbar)
File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 250, in init
self.configure_application_treeview(builder)
File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 589, in configure_application_treeview
self.treeview = MenulibreTreeview.Treeview(self, builder)
File "/usr/lib/python3.8/site-packages/menulibre/MenulibreTreeview.py", line 48, in init
self._configure_treeview(builder)
File "/usr/lib/python3.8/site-packages/menulibre/MenulibreTreeview.py", line 59, in _configure_treeview
treestore = MenuEditor.get_treestore()
File "/usr/lib/python3.8/site-packages/menulibre/MenuEditor.py", line 122, in get_treestore
menu = get_menus()[0]
File "/usr/lib/python3.8/site-packages/menulibre/MenuEditor.py", line 191, in get_menus
menu = MenuEditor()
File "/usr/lib/python3.8/site-packages/menulibre/MenuEditor.py", line 246, in init
self.load()
File "/usr/lib/python3.8/site-packages/menulibre/MenuEditor.py", line 264, in load
if not self.tree.load_sync():
gi.repository.GLib.Error: g-io-error-quark: Failed to look up menu_file for "kf5-applications.menu"
(0)

@sluedecke
Copy link

ArchLinux here - same error.

strace reveals that menulibre wants to access $HOME/.config/menus/kf5-applications.menu and /etc/xdg/menus/kf5-applications.menu but neither are present on my system.

I made it run by copying a random .menu file from within $HOME/.config/menus to $HOME/.config/menus/kf5-applications.menu

@bluesabre
Copy link
Owner

This should be resolved with the above commit. Thanks for submitting this issue!

@bluesabre bluesabre added the Fix Released The fix was released. label Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Released The fix was released.
Projects
None yet
Development

No branches or pull requests

2 participants