after latest update, gimp not opening files

Ryan Schmidt ryandesign at
Sat Jun 1 13:12:37 UTC 2019

On May 31, 2019, at 15:35, Riccardo Mottola wrote:

> May 31 22:22:35 Kaiserin [0x0-0x1d01d].org.gimp.GIMP[28473]: Session D-Bus not running. Try running `launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist'.

You should run this command.

> May 31 22:22:41 Kaiserin [0x0-0x1d01d].org.gimp.GIMP[28473]: Traceback (most recent call last):
> May 31 22:22:41 Kaiserin [0x0-0x1d01d].org.gimp.GIMP[28473]:   File "/Applications/MacPorts/", line 18, in <module>
> May 31 22:22:41 Kaiserin [0x0-0x1d01d].org.gimp.GIMP[28473]:
> May 31 22:22:41 Kaiserin [0x0-0x1d01d].org.gimp.GIMP[28473]: from gimpshelf import shelf
> May 31 22:22:41 Kaiserin [0x0-0x1d01d].org.gimp.GIMP[28473]:   File "/Applications/MacPorts/", line 40, in <module>
> May 31 22:22:41 Kaiserin [0x0-0x1d01d].org.gimp.GIMP[28473]:     import gimp
> May 31 22:22:41 Kaiserin [0x0-0x1d01d].org.gimp.GIMP[28473]: ImportError: could not import pygtk

Sounds like it can't find pygtk. This is surprising, since the gimp2 port's +python27 variant does declare a dependency on the py27-pygtk port. Can you verify that gimp2 is installed with the +python27 variant and that the py27-pygtk port is installed and active?

It might also be possible that it is trying to use a different version of python -- macOS python perhaps, or a different version of MacPorts python other than 2.7 -- one for which pygtk is not installed. I don't know how to determine which version of python it is trying to use.

More information about the macports-users mailing list