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

Cinnamon crashes instantly when adding GPaste applet #10

Open
whiskytroll opened this issue Feb 13, 2018 · 8 comments
Open

Cinnamon crashes instantly when adding GPaste applet #10

whiskytroll opened this issue Feb 13, 2018 · 8 comments
Assignees

Comments

@whiskytroll
Copy link

When GPaste is added to the panel it immediately crashes Cinnamon. Restart of Cinnamon solves nothing. Logout - login or restart of entire system doesn't either. Only when GPaste is removed from the panel does the crashes stop.

Linux Mint 18.3
Cinnamon 3.6.7
Kernel 4.13.0-32-generic

@Feuerfuchs Feuerfuchs self-assigned this Feb 14, 2018
@Feuerfuchs
Copy link
Owner

Can you please crash Cinnamon intentionally with my applet and then fetch and post the contents of the files ~/.cinnamon/glass.log and ~/.cinnamon/glass.log.last?

@whiskytroll
Copy link
Author

Done:

glass.log:

info t=2018-02-13T21:04:48.035Z Cinnamon.AppSystem.get_default() started in 102 ms info t=2018-02-13T21:04:48.046Z loading user theme: /usr/share/themes/Linux Mint/cinnamon/cinnamon.css info t=2018-02-13T21:04:48.073Z added icon directory: /usr/share/themes/Linux Mint/cinnamon info t=2018-02-13T21:04:48.195Z PlacesManager: Updating devices info t=2018-02-13T21:04:48.244Z loaded at Tue Feb 13 2018 22:04:48 GMT+0100 (CET) info t=2018-02-13T21:04:48.261Z Loaded applet [email protected] in 13 ms info t=2018-02-13T21:04:48.749Z Loaded applet [email protected] in 484 ms info t=2018-02-13T21:04:48.765Z Loaded applet [email protected] in 11 ms info t=2018-02-13T21:04:48.783Z Role locked: panellauncher info t=2018-02-13T21:04:48.783Z Loaded applet [email protected] in 15 ms info t=2018-02-13T21:04:48.803Z Loaded applet [email protected] in 15 ms info t=2018-02-13T21:04:48.835Z Loaded applet [email protected] in 29 ms info t=2018-02-13T21:04:48.853Z Role locked: notifications info t=2018-02-13T21:04:48.860Z Loaded applet [email protected] in 22 ms info t=2018-02-13T21:04:48.876Z Loaded applet [email protected] in 13 ms info t=2018-02-13T21:04:49.023Z Loaded applet [email protected] in 143 ms info t=2018-02-13T21:04:49.053Z Loaded applet [email protected] in 27 ms info t=2018-02-13T21:04:49.109Z Loaded applet [email protected] in 52 ms info t=2018-02-13T21:04:49.174Z Loaded applet [email protected] in 61 ms info t=2018-02-13T21:04:49.756Z Loaded applet placesCenter@scollins in 581 ms info t=2018-02-13T21:04:49.774Z Loaded applet screen-inhibit@mtwebster in 17 ms info t=2018-02-13T21:04:49.775Z AppletManager.init() started in 1531 ms info t=2018-02-13T21:04:49.780Z Cinnamon took 1865 ms to start info t=2018-02-13T21:04:50.586Z Hiding systray: network info t=2018-02-13T21:04:53.187Z Adding systray: blueberry-tray.py (24x24px) info t=2018-02-13T21:15:15.222Z Adding systray: mintupdate.py (24x24px) info t=2018-02-14T20:31:06.988Z 0 applet already loaded info t=2018-02-14T20:31:06.994Z 5 applet already loaded info t=2018-02-14T20:31:06.997Z 6 applet already loaded info t=2018-02-14T20:31:07.023Z 7 applet already loaded info t=2018-02-14T20:31:07.025Z 9 applet already loaded info t=2018-02-14T20:31:07.028Z 11 applet already loaded info t=2018-02-14T20:31:07.031Z 12 applet already loaded info t=2018-02-14T20:31:07.062Z 13 applet already loaded info t=2018-02-14T20:31:07.063Z 15 applet already loaded info t=2018-02-14T20:31:07.066Z 17 applet already loaded info t=2018-02-14T20:31:07.084Z Adding systray: blueberry-tray.py (24x24px) info t=2018-02-14T20:31:07.086Z Hiding systray: network info t=2018-02-14T20:31:07.114Z Installing settings for [email protected] info t=2018-02-14T20:31:07.115Z Settings successfully installed for [email protected]

glass.log.last:

info t=2018-02-13T21:04:00.159Z Cinnamon.AppSystem.get_default() started in 98 ms info t=2018-02-13T21:04:00.168Z loading user theme: /usr/share/themes/Linux Mint/cinnamon/cinnamon.css info t=2018-02-13T21:04:00.193Z added icon directory: /usr/share/themes/Linux Mint/cinnamon info t=2018-02-13T21:04:00.325Z PlacesManager: Updating devices info t=2018-02-13T21:04:00.372Z loaded at Tue Feb 13 2018 22:04:00 GMT+0100 (CET) info t=2018-02-13T21:04:00.391Z Loaded applet [email protected] in 15 ms info t=2018-02-13T21:04:00.886Z Loaded applet [email protected] in 491 ms info t=2018-02-13T21:04:00.902Z Loaded applet [email protected] in 12 ms info t=2018-02-13T21:04:00.920Z Role locked: panellauncher info t=2018-02-13T21:04:00.921Z Loaded applet [email protected] in 16 ms info t=2018-02-13T21:04:00.941Z Loaded applet [email protected] in 17 ms info t=2018-02-13T21:04:00.977Z Loaded applet [email protected] in 33 ms info t=2018-02-13T21:04:00.993Z Role locked: notifications info t=2018-02-13T21:04:01.000Z Loaded applet [email protected] in 20 ms info t=2018-02-13T21:04:01.016Z Loaded applet [email protected] in 13 ms info t=2018-02-13T21:04:01.172Z Loaded applet [email protected] in 153 ms info t=2018-02-13T21:04:01.209Z Loaded applet [email protected] in 33 ms info t=2018-02-13T21:04:01.265Z Loaded applet [email protected] in 53 ms info t=2018-02-13T21:04:01.331Z Loaded applet [email protected] in 62 ms info t=2018-02-13T21:04:01.451Z Loaded applet placesCenter@scollins in 119 ms info t=2018-02-13T21:04:01.470Z Loaded applet screen-inhibit@mtwebster in 18 ms

@Feuerfuchs
Copy link
Owner

That's odd... it seems Cinnamon just crashes for no reason when it should load the applet.

I think my applet actually might not be the cause of the crash because the log usually contains a corresponding error message if the applet contains errors. That's not the case here. Instead, the log just ends which indicates that Cinnamon crashes on a lower level.

It might be an issue on your end, such as wrong file/directory permissions. Or maybe Cinnamon 3.6.7 introduces an incompatibility with my applet. In that case I'll have to wait until Cinnamon 3.6.7 becomes available in Manjaro's repositories. I'm still on version 3.6.6.

@whiskytroll
Copy link
Author

Ok. I have other applets in the same directory as the GPaste applet, with the same permissions, and they all work. Or do you mean libgpaste or gir-gpaste? Can you help me with how I'd proceed to check what's wrong? I'd really appreciate it.

I'd just hate to have to wait, it's easily one of the most addictive applets there is, but I understand if it's out of your scope to help me further at this point.

Regards / Jesper

@Feuerfuchs
Copy link
Owner

Having thought about this, I actually don't know where a permission problem might manifest like that.
If Cinnamon was unable to read one of the applet's JS files, I'd expect the same behavior as if that file did not exist — i.e. the result would be a regular error in the log instead of an instant crash.
And if Cinnamon couldn't read some internal file, why would it affect just my applet?

Anyway, I forgot that there's another log that should be inspected: ~/.xsession-errors.
Can you please make Cinnamon crash once again and then post the contents if this log here?

@whiskytroll
Copy link
Author

Ok, thanks for helping me.

xsession-errors.txt

(I had to rename the log file to upload - github complained that it was hidden and that it didn't recognized the file type)

@Feuerfuchs
Copy link
Owner

(cinnamon:15136): GLib-GIO-ERROR **: Settings schema 'org.gnome.GPaste' is not installed

This line is probably our culprit. If my old instructions are still correct, you need to install the packages "gpaste", "gpaste-applet" and "gir1.2-gpaste-4.0". Is that the case for you? If so, does GPaste's own GUI work?

@whiskytroll
Copy link
Author

whiskytroll commented Feb 20, 2018

The packages "gpaste" and "gpaste-applet" weren't installed. After install I tried to enable your applet again, and cinnamon crashed. After restart of cinnamon I started the gpaste applet from the menu and it worked. I then tried again to enable your applet, and it looked like it superseded the one started from the menu (the icon changed colour from almost black to the light grey yours have always had (at least at my system...)), but when clicked the gui looked exactly the same as the one from the menu. I suppose you havn't changed it's appearance that much the recent months have you (most importantly it's a window now)? It's still useful of course, but a bit in the way.
EDIT: I rebooted and it works! Thank you!

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

No branches or pull requests

2 participants