kamilburda / gimp-export-layers

Batch layer export and editing in GIMP
https://kamilburda.github.io/gimp-export-layers/
BSD 3-Clause "New" or "Revised" License
603 stars 38 forks source link

After install no new menu 'export to layer' #31

Closed ecodiv closed 6 years ago

ecodiv commented 8 years ago

See below when starting up from the command line, I get the following:

paulo@paulo-HPZ600:~$ gimp
This is a development version of GIMP.  Debug messages may appear here.

(/home/paulo/.config/GIMP/2.9/plug-ins/export_layers.py:8937): LibGimpBase-ERROR **: gimp_wire_write_msg: the wire protocol has not been initialized

(gimp-2.9:8926): LibGimpBase-WARNING **: gimp-2.9: gimp_wire_read(): error
 mapped '<Toolbox>/Xtns/Misc' to '<Image>/File/Create/Misc'
 mapped '<Toolbox>/Xtns/Photo' to '<Image>/Filters/Extensions/Photo'
gimp_display_shell_profile_update
gimp_display_shell_profile_update
khalim19 commented 8 years ago

It seems from the output that you're using GIMP 2.9, which is a development version. Can you reproduce this in 2.8?

ecodiv commented 8 years ago

True, I am using 2.9. I haven't installed 2.8, but when finding time I will install and test

On 28-02-16 18:26, khalim19 wrote:

It seems from the output that you're using GIMP 2.9, which is a development version. Can you reproduce this in 2.8?

— Reply to this email directly or view it on GitHub https://github.com/khalim19/gimp-plugin-export-layers/issues/31#issuecomment-189911094.

IBwWG commented 8 years ago

I'm getting this on 2.8.16 under win7x64:

C:\Program Files\GIMP 2\bin>gimp-console-2.8.exe
GIMP-Warning: Bad interpreter referenced in interpreter file C:\Program Files\GI
MP 2\lib\gimp\2.0\interpreters\pygimp.interp: /win32dev/_newdev/deps/gimp/python
\pythonw.exe

GIMP-Warning: Bad interpreter referenced in interpreter file C:\Program Files\GI
MP 2\lib\gimp\2.0\interpreters\pygimp.interp: /win32dev/_newdev/deps/gimp/python
\pythonw.exe

GIMP-Error: Unable to run plug-in "export_layers.py"
(C:\Users\Gimmicky\.gimp-2.8\plug-ins\export_layers.py)

Failed to execute child process (No such file or directory)

GIMP-Error: Unable to run plug-in "export_layers"
(C:\Users\Gimmicky\.gimp-2.8\plug-ins\export_layers)

Failed to execute child process (No such file or directory)

I have no other plugins installed, but I did successfully install an extension before. I put it, well, where it says it's finding it...

Do I need to install python manually or something to use gimp plugins?

khalim19 commented 8 years ago

@GimmickyApps Looks like the C:\Program Files\GIMP 2\lib\gimp\2.0\interpreters\pygimp.interp file points to an invalid Python installation. Open up the file and try changing

/win32dev/_newdev/deps/gimp/python\pythonw.exe

to

C:\Program Files\GIMP 2\Python\pythonw.exe
IBwWG commented 8 years ago

D'oh! OK, I tried that and it didn't work, and I soon realized that's because that file doesn't exist either, and then it dawned on me that this was probably an installation-time option that I would have unchecked, since I haven't needed plugins before, just something a little fancier than Paint i.e. with layers and transparency support! Indeed, it is. I bet it will work now...

IBwWG commented 8 years ago

Yep, and I got a callback that the installer would have replaced the file you mentioned the way you mentioned, too.

Not only that, the plugin shows up, and I just tried an export, it works perfectly. Thanks for sharing this!

khalim19 commented 8 years ago

Great to hear that. I'll clarify the installation instructions a bit.

cbjohnso commented 8 years ago

Hello World! Very inexperienced Windows user here having trouble installing the plugin into GIMP.

I have GIMP 2.8.16 installed. I installed python afterward. When I go to Filters>Python-Fu>Console it brings up the following:

GIMP 2.8.16 Python Console Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]

This should be a workable version, correct?

I have copied the export_layers folder and export_layers.py file to the following directory:

C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins

Despite this, after re-initializing GIMP (even after a system reboot), I do not see the Export Layers option under the File menu.

Furthermore I cannot find the plugin using the Help>Plug-In Browser tool.

I am at the end of my limits for troubleshooting (again, not a coder, limited computer literacy here, so bear with me).

Any help would be greatly appreciated. Thanks!

IBwWG commented 8 years ago

@cbjohnso I think you've got the wrong install dir for the plugin. You want the one in your users dir. On Windows 7 it's something like C:\Users\[yournamehere]\.gimp-2.8\plug-ins\ but for your version of Windows it may differ a bit.

cbjohnso commented 8 years ago

@IBwWG Thank you so much! I thought it was something simple like the wrong directory. Perhaps I missed something in the installation documentation or maybe it could be clarified for us handicapped by Windows (and ignorance).. Again, many thanks for your insight! (Edit: By the way, your suggestion worked as I'm sure you gathered from my enthusiastic reply.)

IBwWG commented 8 years ago

No prob, glad to have helped :)

khalim19 commented 8 years ago

Thanks IBwWG for the assistance.

I clarified the bit about the installation folder, quite a few people have been installing it in the system path for some reason (even though that should work as well...).

Mavikaya8 commented 7 years ago

Hi there!

I am experiencing the same kind of problem as cbjohnso. I am also illiterate in programming.

I have: 64bit Windows 10 , Python 2.7.22 and Gimp 2.8

I uninstalled Gimp. Then installed Python, then reinstalled Gimp. In console I get this: image

I put the layer folder+ layerfolder.py+pygimplib file here: image

I do not get an export layer option when I open the file menu.

Can you please help me figure out what I am doing wrong?

Thank you!

khalim19 commented 6 years ago

@Mavikaya8 The name of the .py file should be export_layers.py, not exportlayers.py. Are you sure you extracted all files from the package? Judging from the size of the .py file, it's very likely a file from a different plug-in.

Bragante18 commented 6 years ago

Hy,

I am following the instructions, i've dowloaded the file (registered in the "C:programmes/software/Gimp 2"), but its not working. ( FYI : Gimp version 2.10.0 x64 and Python 2.7.5 ) image

Then, i copied the two files ("export_layers" and "export_layers.py") and pasted it in the "users"(me) inside the plug-in folder, as instructed: image

But it doesn't work, i do not have the new export options. I am learning web developpement and i can't afford Photoshop. I have to present a project working with a template and i really need to export the layers. Could anyone please help ! Thnk you very very much !!

khalim19 commented 6 years ago

@Bragante18 Looks like you downloaded version 2.4, which very likely won't work for GIMP 2.10. Download the latest version instead.

Bragante18 commented 6 years ago

Khalim19 you're just great ! Running perfectly ! Thank you very much for your support and for develop this plug-in !!

khalim19 commented 6 years ago

Closing this as no news was provided to the original issue.