[MacPorts] #35993: gimp-app fails to run properly
#35993: gimp-app fails to run properly --------------------------------+------------------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gimp-app --------------------------------+------------------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/35993> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35993: gimp-app fails to run properly --------------------------------+------------------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gimp-app --------------------------------+------------------------------------------- Comment(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[[BR]] 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 -- Ticket URL: <https://trac.macports.org/ticket/35993#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35993: gimp-app fails to run properly --------------------------------+------------------------------------------- Reporter: dersh@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gimp-app --------------------------------+------------------------------------------- Changes (by ram@…): * owner: macports-tickets@… => devans@… -- Ticket URL: <https://trac.macports.org/ticket/35993#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35993: gimp-app fails to run properly --------------------------------+------------------------------------------- Reporter: dersh@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gimp-app --------------------------------+------------------------------------------- Description changed by ram@…: Old description:
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.
New description: 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. -- -- Ticket URL: <https://trac.macports.org/ticket/35993#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35993: gimp-app fails to run properly -----------------------+---------------------- Reporter: dersh@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gimp-app | -----------------------+---------------------- Comment (by laurence@…): I'm having this problem as well. I tried the workaround suggested by drowe, and while it eliminates that error, I am now unable to open or export any format other than xcf. I tried openeing a PNG and it complained that it was an unknown file type, and when I tried exporting an image, the filetype chooser was empty. -- Ticket URL: <https://trac.macports.org/ticket/35993#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35993: gimp-app fails to run properly -----------------------+---------------------- Reporter: dersh@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gimp-app | -----------------------+---------------------- Changes (by devans@…): * status: new => assigned Comment: As the reporter says this is a problem with gimp-app specifically and not gimp2 so for now please start GIMP from the command line. I hope to have a fix shortly. -- Ticket URL: <https://trac.macports.org/ticket/35993#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35993: gimp-app fails to run properly -----------------------+---------------------- Reporter: dersh@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gimp-app | -----------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: Fix committed in r97804. The app now has access to all required gimp2 resources. -- Ticket URL: <https://trac.macports.org/ticket/35993#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts