Opened 12 years ago

Last modified 12 years ago

#35993 closed defect

gimp-app fails to run properly — at Version 4

Reported by: dershow Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ram@…
Port: gimp-app

Description (last modified by skymoo (Adam Mercer))

I just upgraded gimp2 to 2.8.2 (I believe from 2.8). Gimp-app was working properly before. Now if I try gimp-app the application opens but there are no menus, so it is not useable. I get a message window that pops up and says,

GIMP Message

There was an error parsing the menu definition from image-menu.xml:  Failed to open file '/Applications/MacPorts/Gimp.app/Contents/Resources/share/gimp/2.0/menus/image-menu.xml':No such file or directory.

If I just run gimp from the command line is seems to work fine. I see that the only directory in GIMP.app/Contents/Resources/share is themes. So, it seems that there is something in the gimp-app script that is looking for a file that doesn't exist. But, gimp from the command line does find an appropriate menu. I do see that gimp2 contents includes this: /opt/local/share/gimp/2.0/menus/image-menu.xml

So, it seems that gimp2 checks that location, but gimp-app is looking in the wrong place for that file.

Change History (4)

comment:1 Changed 12 years ago by drowe@…

I have just hit exactly the same problem.

However if you create a symbolic link:

cd /Applications/MacPorts/GIMP.app/Contents/Resources/share
sudo ln -s /opt/local/share/gimp gimp

then gimp2.8.2 starts up correctly with the appropriate menus.

Creating the symbolic link may well be a workaround rather than a proper fix - but it does indicate that this defect shouldn't be too had to cure.

For the record, I am running on an Apple MacBookPro1,1 (with the Intel Core Duo 32-bit only processor) and Mac Os X 10.6.8

comment:2 Changed 12 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:3 Changed 12 years ago by skymoo (Adam Mercer)

Owner: changed from macports-tickets@… to devans@…

comment:4 Changed 12 years ago by skymoo (Adam Mercer)

Description: modified (diff)
Note: See TracTickets for help on using tickets.