gimp-export-layers icon indicating copy to clipboard operation
gimp-export-layers copied to clipboard

Python plugin error on gimp 2.10.3 on macOS

Open douira opened this issue 6 years ago • 6 comments

What went wrong?

Traceback (most recent call last): File "/Users/douira/Library/Application Support/GIMP/2.10/plug-ins/export_layers/pygimplib/pggui_entries.py", line 69, in _on_entry_changed if self._entry.get_realized(): AttributeError: 'FileExtensionEntry' object has no attribute 'get_realized'

If you can, tell us the steps to reproduce the problem.

Clicked on export layers in the menu.

Configuration

Version of Export Layers: (latest at the time) 3.2.1

Version of GIMP: 2.10.3 from "about gimp" and 2.10.2 on download page, idk why there is a difference

Operating system: macOS 10.13.5 (High Sierra)

Downloaded from (https://www.partha.com/) https://www.partha.com/downloads/McGimp-2.10-std.app.zip

douira avatar Jul 06 '18 10:07 douira

This is quite strange, it looks like it's a problem with GTK (the GUI framework used in GIMP) rather than the plug-in itself. Either way, I'll take a closer look at this in a few days.

In the meantime, have you tried the official 2.10.4 build?

khalim19 avatar Jul 17 '18 10:07 khalim19

Thanks for looking into the issue! I can't try anything newer than my current one yet because I have to rely on third-party versions like the one I'm using right now for it to work on macOS as there is no official build.

douira avatar Jul 17 '18 10:07 douira

There appears to be a macOS build on the GIMP downloads page (labeled as OS X).

khalim19 avatar Jul 17 '18 10:07 khalim19

oh wow, ok I didn't see that. I guess the other build was just ahead of the official one at the time. I'll try the plugin on 2.10.4 soon then.

douira avatar Jul 17 '18 10:07 douira

I finally got around to testing this out, here are my findings:

  • The official build from the GIMP page works properly.
  • The build from Partha's Place fails with the above error because it uses PyGTK 2.17, while my plug-in requires a later version (very likely 2.22 or above).

If possible, use the download from the GIMP page. While I could work around this issue to make the plug-in work on the Partha's build, I fear it would introduce UI bugs and maintenance difficulties because of backward compatibility.

khalim19 avatar Jul 20 '18 18:07 khalim19

Okay thanks for testing it out, I've been busy lately. Thanks for the info! I'll use the official build when I want to use this plugin then.

douira avatar Jul 20 '18 20:07 douira

Closing this issue due to being inactive.

kamilburda avatar Feb 02 '24 20:02 kamilburda