Bug 409205

Summary: Snap package of Spectacle doesn't work
Product: [Applications] Spectacle Reporter: Marco Missere <marcomissere93>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jr, kde, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot #1
Screenshot #2

Description Marco Missere 2019-06-26 10:59:51 UTC
SUMMARY

Spectacle installed via snap doesn't run because it can't load the libraries libxcb-image.so.0.



STEPS TO REPRODUCE
1. Install snapd (if not on Ubuntu)
2. sudo snap install spectacle (any channel)
3. Run spectacle



OBSERVED RESULT

Running Spectacle via command line, the output is:
"spectacle: error while loading shared libraries: libxcb-image.so.0: cannot open shared object file: No such file or directory"



EXPECTED RESULT

Spectale should be able to load those libraries and run.



SOFTWARE/OS VERSIONS

Linux: any distribution
Comment 1 David Redondo 2019-06-27 15:19:38 UTC
So I don't think this is a bug in spectacle. The repo doesn't include anything related to snap as far as I know. I don't know snap in detail but to it seems there is failure to declare/ship libxcb-image as a runtime dependency.
Where did you get the snap from? You should report this to them.
Comment 2 Marco Missere 2019-06-28 08:48:05 UTC
I got the snap from the Snapcraft Store, the official snap published by KDE.
Comment 3 Jonathan Riddell 2019-06-28 10:55:38 UTC
Can you try build 24 now in Candidate channel?
Comment 4 Marco Missere 2019-06-28 11:29:27 UTC
Build 24 runs but it doesn't save the images properly. It creates the image files but these doesn't work.
Comment 5 David Redondo 2019-06-28 11:41:06 UTC
What do you mean by the files don't work?
Comment 6 Marco Missere 2019-06-28 11:51:27 UTC
Created attachment 121201 [details]
Screenshot #1

Spectacle shows en error message.
Comment 7 Marco Missere 2019-06-28 11:52:04 UTC
Created attachment 121202 [details]
Screenshot #2

Image Viewer can't show the images.
Comment 8 Marco Missere 2019-06-28 11:52:24 UTC
Spectacle shows an error message and Image Viewer can't show the images.
Comment 9 David Redondo 2019-06-28 11:56:26 UTC
Hm, can't reproduce this with spectacle snap and using gwenview as an image viewer.
Comment 10 Nate Graham 2019-06-28 19:48:25 UTC

*** This bug has been marked as a duplicate of bug 409272 ***
Comment 11 Jonathan Riddell 2019-06-29 10:49:54 UTC
This should work now with the package in release channel