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

Gimp Snap "User inatallation failed!" #17

Closed
rubensa opened this issue May 2, 2018 · 12 comments
Closed

Gimp Snap "User inatallation failed!" #17

rubensa opened this issue May 2, 2018 · 12 comments

Comments

@rubensa
Copy link

rubensa commented May 2, 2018

Gimp Snap version just installed on (just installed) Ubuntu 18.04 and launched for the first time.
screenshot from 2018-05-02 09-47-04


snap 2.32.5+18.04
snapd 2.32.5+18.04
series 16
ubuntu 18.04
kernel 4.15.0-20-generic

gimp 2.8.22 33 stable snapcrafters -

It appears that you are using GIMP for the first time. GIMP will now create a folder named '/home/rubensa/snap/gimp/33/.gimp-2.8' and copy some files to it.

Creating folder '/home/rubensa/snap/gimp/33/.gimp-2.8'...
Copying file '/home/rubensa/snap/gimp/33/.gimp-2.8/gtkrc' from '/snap/gimp/33/usr/etc/gimp/2.0/gtkrc'...
Could not open '/snap/gimp/33/usr/etc/gimp/2.0/gtkrc' for reading: No such file or directory

@rubensa
Copy link
Author

rubensa commented May 2, 2018

If I click on "Quit" button and try to run again I get the message:

Failed to open file '/snap/gimp/33/usr/etc/gimp/2.0/controllerrc': open() failed: No such file or directory

screenshot from 2018-05-02 09-51-09

@rubensa
Copy link
Author

rubensa commented May 2, 2018

If I run for the third time It opens without any message (but without any tool or dialog open, just the main canvas).

@papibe
Copy link

papibe commented May 4, 2018

Same problem. Except it was installed and working well, until today.

Things that I've done, but don't work:

  1. snap remove gimp, snap install gimp
  2. reset windows positions (https://askubuntu.com/questions/461152/how-to-restore-the-default-toolbox-windows-in-gimp)

Extra info:
$ snap info gimp
name: gimp
summary: GNU Image Manipulation Program
publisher: snapcrafters
contact: https://github.com/snapcrafters/gimp/issues
license: unknown
description: |
Whether you are a graphic designer, photographer, illustrator, or scientist,
GIMP provides you with sophisticated tools to get your job done. You can
further enhance your productivity with GIMP thanks to many customization
options and 3rd party plugins.
commands:

  • gimp
    snap-id: KDHYbyuzZukmLhiogKiUksByRhXD2gYV
    tracking: stable
    refreshed: 2018-04-04T18:34:29-05:00
    installed: 2.8.22 (33) 151MB -
    channels:
    stable: 2.8.22 (33) 151MB -
    candidate: 2.8.22 (33) 151MB -
    beta: 2.8.22 (33) 151MB -
    edge: 2.8.22 (33) 151MB -

@byroniac
Copy link

byroniac commented May 4, 2018

I'm doing a fresh install of Ubuntu 18.04 and installed gimp from the Snap store, same results, so now I am using the one from the Ubuntu repository which works fine.

@popey
Copy link
Contributor

popey commented May 4, 2018

Confirmed. I have filed a bug upstream in snapd. https://bugs.launchpad.net/snapd/+bug/1769210

@MartinHjelmare
Copy link

I'm also experiencing this. I don't know much about snaps but it looks like gimp is looking for files that are located under /snap/gimp/33/etc/ in the incorrect path /snap/gimp/33/usr/etc/.

@Ads20000
Copy link
Member

Ads20000 commented May 4, 2018

Strange, GIMP seems to be loading fine for me (albeit with the old Motif(?) theme) with both 2.32.5 and 2.32.6. Could someone who has it bugged with core 2.32.5 test with 2.32.6 (snap refresh core --candidate)? :)

GIMP 2.8.22 (33) on core 16-2.32.6 (4571) on Ubuntu 18.04
$ snap info gimp
tracking:  edge
refreshed: 2018-04-05T00:34:29+01:00
installed:   2.8.22 (33) 151MB -
$ snap version
snap    2.32.5+18.04
snapd   2.32.5+18.04
series  16
ubuntu  18.04
kernel  4.15.0-20-generic
$ snap info core
tracking:  beta
refreshed: 2018-04-29T19:29:48+01:00
installed:   16-2.32.6                (4571) 90MB core
$ snap refresh core --stable
$ snap info core
tracking:  stable
refreshed: 2018-04-16T11:33:06+01:00
installed:   16-2.32.5                (4486) 90MB core

If people can't wait for a fix and have time on their hands then they can spend time looking at this commit list for something that could've broken GIMP (if popey is correct then it'll be something between 2.32.4 and 2.32.5). I tried searching for /etc and /usr/etc but couldn't find anything that could directly relate to that path, but I'm not very technical so I'm probably missing something.

@byroniac
Copy link

byroniac commented May 4, 2018

For now, I can get make the snap version of GIMP run after doing this (but even trying the candidate version of the core did not work, and I was going to make a symbolic link for the ../usr/etc but cannot in the /snap filesystem, so instead, I did the copy command below):
cp -v /snap/gimp/current/etc/gimp/2.0/* ~/snap/gimp/current/.gimp-2.8/

@Ads20000
Copy link
Member

Ads20000 commented May 5, 2018

As per the Launchpad bug, could someone run snap refresh gimp --revision=30 to see if that resolves the issue (you might also want to run snap refresh core --stable if you tried core candidate so you don't end up automatically refreshing to less tested versions of core, though staying on candidate and reporting bugs is helpful of course!)?

@byroniac
Copy link

byroniac commented May 5, 2018

I tried but I get this error and don't know how to get around it:
error: cannot refresh "gimp": Access by specifying a revision is not allowed for this Snap.

@Ads20000
Copy link
Member

Ads20000 commented May 5, 2018

Thanks for trying! I think what that means is that you haven't installed revision 30 before (so snappy can't revert to it without getting it from the store) and snappy won't get it from the store for you. I guess we need to leave it to @popey to test this since he has the necessary access.

@flexiondotorg
Copy link
Member

The snap revision has been rolled back to working revisions.

  • rev 30 (amd64)
  • rev 31 (i386)
  • rev 32 (armhf)

Please run snap refresh gimp --stable to manually update. That said everyone will automatically be updated in the next few hours.

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

7 participants