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

mylaunchpad won't launch #7

Closed
klundry opened this issue Dec 2, 2015 · 8 comments
Closed

mylaunchpad won't launch #7

klundry opened this issue Dec 2, 2015 · 8 comments
Assignees

Comments

@klundry
Copy link

klundry commented Dec 2, 2015

When I try to launch I get the following output.

[kellen@alarm-flip menus]$ mylaunchpad lxqt-applications
Hidden imported: set([])
Favorites imported: set([])
Compositing False
Traceback (most recent call last):
File "/usr/bin/mylaunchpad", line 858, in
launcher = MyLauncher()
File "/usr/bin/mylaunchpad", line 705, in init
self.init_window()
File "/usr/bin/mylaunchpad", line 810, in init_window
apps = AppStore(mainbox, self)
File "/usr/bin/mylaunchpad", line 217, in init
self.load("ALL")
File "/usr/bin/mylaunchpad", line 275, in load
self.fill_buttonsContainer(apps)
File "/usr/bin/mylaunchpad", line 467, in fill_buttonsContainer
self.add_button(item, row_widget)
File "/usr/bin/mylaunchpad", line 489, in add_button
icon = self.get_icon(icon_name)
File "/usr/bin/mylaunchpad", line 411, in get_icon
pixbuf = theme.load_icon("exec",size, 0)
glib.GError: Icon 'exec' not present in theme

@gaboelnuevo
Copy link
Owner

the icon "exec" doesn't exists in the default lxqt icon theme.
you can install a new icon pack like oxygen-icon-theme another option y change "exec" in the line
pixbuf = theme.load_icon("exec",size, 0) with your favorite icon

@klundry
Copy link
Author

klundry commented Dec 3, 2015

I'm using arch and have the oxygen-icons package installed already. I wasn't using it, but I switched to it just to see if it would launch but I still get the same error.

@klundry
Copy link
Author

klundry commented Dec 3, 2015

I went ahead and changed exec to something else and now I get this.

[kellen@alarm-flip ~]$ mylaunchpad
Hidden imported: set([])
Favorites imported: set([])
Compositing False
Traceback (most recent call last):
File "/usr/bin/mylaunchpad", line 858, in
launcher = MyLauncher()
File "/usr/bin/mylaunchpad", line 705, in init
self.init_window()
File "/usr/bin/mylaunchpad", line 822, in init_window
pilimg = Image.fromstring("RGB", wh, pb.get_pixels())
File "/usr/lib/python2.7/site-packages/PIL/Image.py", line 2053, in fromstring
"Please call frombytes() instead.")
Exception: fromstring() has been removed. Please call frombytes() instead.

@gaboelnuevo
Copy link
Owner

PIL library was updated and now fromstring method is deprecated we need to use frombytes() instead, I´ll try to fix it when i had time. if someone else can fix this now please do it

@gaboelnuevo gaboelnuevo self-assigned this Dec 3, 2015
@gaboelnuevo
Copy link
Owner

I think that problem was resolved in latest commits, I forgot to close the issue a few months ago if the problem persists try to install a composite manager (like xcompmgr or compton) or open a new issue.

Att. Gabriel SL.

@kjyv
Copy link

kjyv commented May 17, 2017

I had to install gnome-icon-theme, compton or oxygen or tango didn't help.

@gaboelnuevo
Copy link
Owner

gaboelnuevo commented May 17, 2017

@kjyv you need to install compton but you need to run it too. make sure that you're already running compton first then launch mylaunchpad. Try it or open a new issue please.

@kjyv
Copy link

kjyv commented May 17, 2017

Also tried that, didn't help. The error message states that it can't find the icon 'exec' probably because it was not installed. It is part of gnome-icon-theme (debian package). Not sure why a compositor would help

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

3 participants