[MacPorts] #44778: -600 error opening image files from the Finder when Gimp.app is open
#44778: -600 error opening image files from the Finder when Gimp.app is open ---------------------------+-------------------------------- Reporter: enekogotzon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: gimp ---------------------------+-------------------------------- == SOFTWARE == • Mac OS X 10.9.4 (13E28) –Mavericks.[[BR]] • MacPorts base version: 2.3.1[[BR]] • GIMP ports installed:[[BR]] gimp @2.8.10_0 (active)[[BR]] gimp-app @2.8.2_2 (active)[[BR]] gimp-help-en @2.8.1_0+python27 (active)[[BR]] gimp-jp2 @2.2.0_6 (active)[[BR]] gimp-lqr-plugin @0.7.2_0 (active)[[BR]] gimp2 @2.8.10_6+help_browser+python27 (active)[[BR]] • All software up to date.[[BR]] • "sudo port clean --all installed" command: executed. == ISSUE == Trying to open an image file with The GIMP from the contextual menu of the Finder:[[BR]] • '''Always works''' if:[[BR]] .Both X11 and The GIMP are closed.[[BR]] .X11 is open and The GIMP is closed.[[BR]] • '''Always fails''' if both X11 and The GIMP are open. Sometimes this error message is shown: ''The application “GIMP.app” can't be opened. -600''.[[BR]] Trying to open the same image files from the File menu inside the GIMP.app '''always work'''.[[BR]] == Thank you! :) == -- Ticket URL: <https://trac.macports.org/ticket/44778> MacPorts <http://www.macports.org/> Ports system for OS X
#44778: -600 error opening image files from the Finder when Gimp.app is open ----------------------------+---------------------- Reporter: enekogotzon@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gimp | ----------------------------+---------------------- Changes (by mf2k@…): * cc: enekogotzon@… (removed) * owner: macports-tickets@… => devans@… Comment: In the future, please Cc the port maintainers ({{{port info --maintainers gimp}}}). As reporter, you do not need to Cc yourself. -- Ticket URL: <https://trac.macports.org/ticket/44778#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44778: -600 error opening image files from the Finder when Gimp.app is open ----------------------------------+---------------------- Reporter: enekogotzon@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gimp gimp2 gimp-app | ----------------------------------+---------------------- Changes (by devans@…): * status: new => assigned * port: gimp => gimp gimp2 gimp-app Comment: Thank YOU for the report. Will take a look. Since this is a Finder integration issue, I'm thinking that this is not an issue with gimp2 (the actual GIMP binary) but with gimp-app, the Mac app that calls gimp2. -- Ticket URL: <https://trac.macports.org/ticket/44778#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44778: -600 error opening image files from the Finder when Gimp.app is open ----------------------------------+---------------------- Reporter: enekogotzon@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gimp gimp2 gimp-app | ----------------------------------+---------------------- Comment (by devans@…): I've been able to reproduce the reported problem and have determined that the problem only occurs in the situation where GIMP.app (provided by gimp- app) is already running without regard to the state of ${prefix}/bin/gimp or the X11 server, either XQuartz or MacPorts xorg-server (slightly newer version of the same thing). When initially running ${prefix}/bin/gimp from the command line in the terminal with the name of the target file as an argument (without using GIMP.app), GIMP launches and correctly opens the target file in a window. Subsequent such commands while ${prefix}/bin/gimp is running results in a new instance of the file being opened in an additional window in the original GIMP process not a new instance of GIMP in a separate process. This is the expected behavior. {{{ gimp my-image.jpeg & # lauches GIMP and opens my-image.jpeg in a window. gimp my-image.jpeg & # opens a new copy of my-image.jpeg in a second window of the running GIMP process }}} In the case of the GIMP.app, if the GIMP.app is not running and GIMP itself is not running, attempting to open the file from the context window opens GIMP.app, displaying an icon in the dock, ${prefix}/bin/gimp launches and the file is opened in a window as expected. If ${prefix}/bin/gimp was already running (say from a terminal invocation) then the image is opened in an additional window as above. However, at this point, if you right-click on the GIMP.app icon in the dock, the context menu says the application (GIMP.app) is not responding and a subsequent attempt to open the file via context menu fails with the -600 error shown above. Forcing GIMP.app to quit from the dock kills GIMP.app and any child ${prefix}/bin/gimp process. So it appears that after the initial successful attempt, GIMP.app is in an improper state which makes it impossible for the Finder to communicate with it further. Further digging required to see why this is the case. -- Ticket URL: <https://trac.macports.org/ticket/44778#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44778: -600 error opening image files from the Finder when Gimp.app is open ----------------------------------+---------------------- Reporter: enekogotzon@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gimp gimp2 gimp-app | ----------------------------------+---------------------- Comment (by enekogotzon@…): I forgot to add:[[BR]] • xorg-server @1.16.0_1[[BR]] • xorg-server @1.16.0_2 (active)[[BR]] as also installed ports. Sorry.[[BR]] I don't know if the ticket can be edited to add this information.[[BR]] Thank you. -- Ticket URL: <https://trac.macports.org/ticket/44778#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44778: -600 error opening image files from the Finder when Gimp.app is open ----------------------------+---------------------- Reporter: enekogotzon@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gimp-app | ----------------------------+---------------------- Changes (by devans@…): * port: gimp gimp2 gimp-app => gimp-app Old description:
== SOFTWARE == • Mac OS X 10.9.4 (13E28) –Mavericks.[[BR]] • MacPorts base version: 2.3.1[[BR]] • GIMP ports installed:[[BR]] gimp @2.8.10_0 (active)[[BR]] gimp-app @2.8.2_2 (active)[[BR]] gimp-help-en @2.8.1_0+python27 (active)[[BR]] gimp-jp2 @2.2.0_6 (active)[[BR]] gimp-lqr-plugin @0.7.2_0 (active)[[BR]] gimp2 @2.8.10_6+help_browser+python27 (active)[[BR]] • All software up to date.[[BR]] • "sudo port clean --all installed" command: executed. == ISSUE == Trying to open an image file with The GIMP from the contextual menu of the Finder:[[BR]] • '''Always works''' if:[[BR]] .Both X11 and The GIMP are closed.[[BR]] .X11 is open and The GIMP is closed.[[BR]] • '''Always fails''' if both X11 and The GIMP are open. Sometimes this error message is shown: ''The application “GIMP.app” can't be opened. -600''.[[BR]]
Trying to open the same image files from the File menu inside the GIMP.app '''always work'''.[[BR]]
== Thank you! :) ==
New description: == SOFTWARE == • Mac OS X 10.9.4 (13E28) –Mavericks.[[BR]] • MacPorts base version: 2.3.1[[BR]] • GIMP ports installed:[[BR]] gimp @2.8.10_0 (active)[[BR]] gimp-app @2.8.2_2 (active)[[BR]] gimp-help-en @2.8.1_0+python27 (active)[[BR]] gimp-jp2 @2.2.0_6 (active)[[BR]] gimp-lqr-plugin @0.7.2_0 (active)[[BR]] gimp2 @2.8.10_6+help_browser+python27 (active)[[BR]] xorg-server @1.16.0_1[[BR]] xorg-server @1.16.0_2 (active)[[BR]]
• All software up to date.[[BR]] • "sudo port clean --all installed" command: executed. == ISSUE == Trying to open an image file with The GIMP from the contextual menu of the Finder:[[BR]] • '''Always works''' if:[[BR]] .Both X11 and The GIMP are closed.[[BR]] .X11 is open and The GIMP is closed.[[BR]] • '''Always fails''' if both X11 and The GIMP are open. Sometimes this error message is shown: ''The application “GIMP.app” can't be opened. -600''.[[BR]] Trying to open the same image files from the File menu inside the GIMP.app '''always work'''.[[BR]] == Thank you! :) == -- Comment: Replying to [comment:4 enekogotzon@…]:
I forgot to add:[[BR]] • xorg-server @1.16.0_1[[BR]] • xorg-server @1.16.0_2 (active)[[BR]] as also installed ports. Sorry.[[BR]] I don't know if the ticket can be edited to add this information.[[BR]] Thank you.
Thanks. However, as I mentioned above, it doesn't look like this is an issue. -- Ticket URL: <https://trac.macports.org/ticket/44778#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44778: -600 error opening image files from the Finder when Gimp.app is open ----------------------------+---------------------- Reporter: enekogotzon@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gimp-app | ----------------------------+---------------------- Comment (by enekogotzon@…): Replying to [comment:5 devans@…]:
Thanks. However, as I mentioned above, it doesn't look like this is an issue. Yes, known because I have carefully read your comments, but just I wanted provide the information you asked at the beginning of the thread. Good life David :)
-- Ticket URL: <https://trac.macports.org/ticket/44778#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44778: -600 error opening image files from the Finder when Gimp.app is open ----------------------------+---------------------- Reporter: enekogotzon@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gimp-app | ----------------------------+---------------------- Comment (by devans@…): gimp2 updated to version 2.8.14 in r124864. gimp-app continues to show this same problem whether gimp2 is built +x11 or +quartz. It appears to me that the problem is a bug in gimp-app. If I understand the code correctly, after gimp-app launches the gimp binary as a child process, it waits for that process to die before doing anything else. This accounts for it being unresponsive to additional events from the Finder. I'm heading out for vacation in the next day or so, so will not be able to do much further until I get back. Will see what I can do after I return. In the meantime, if anyone else has any insight into how to fix this, please feel free to make the appropriate changes. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/44778#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#44778: -600 error opening image files from the Finder when Gimp.app is open ----------------------------+---------------------- Reporter: enekogotzon@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gimp-app | ----------------------------+---------------------- Comment (by enekogotzon@…): Same behavior when asking The GIMP as external editor from the contextual menu of iPhoto.app. -- Ticket URL: <https://trac.macports.org/ticket/44778#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts