Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting python plugin-in shellout.py from gimp 2.x to 3.x
#11
(03-26-2025, 04:03 PM)Neptunus Wrote: Hi iiey,

I followed your instructions to install nikplugin :
  • I created a folder named nikplugin\ under C:\Program Files\GIMP 3\lib\gimp\3.0\plug-ins\
  • I copied nikplugin.py in this folder.
  • The Nik collection is in C:\Program Files\Google\Nik Collection\ so, I didn’t change anything in the nikplugin.py file.
  • I re-started GIMP 3, opened a picture and tried to find NikCollection among the filters without any success.
Please, could you help me ?
Note that ShellOut plugin worked well with Gimp 2.

Thanks.
Neptunus

Hi Neptunus & denzjos,

1. Firstly, maybe you could check if your gimp3 fully installed, or not. By putting this file into .../plugin-ins/test-dialog/test-dialog.py and see if the test plugin is available under Filters/development/Demos after restarting gimp?
If the example is not there, then Ofnuts may correct that you should reinstalled the latest gimp3 and ensure that the python component is not missing.
   

2. Otherwise, please check by starting "C:\Program Files\gimp3\bin\gimp-console-3.0.exe" instead of gimp gui program.
If there is an issue with the plugin, it may output some hints there.
   

3. Select the nikplugin.py file, right-click > properties > securities and make sure that read & execute is checked.

Let me know if you find out something!




(03-26-2025, 08:01 PM)Zbyma72age Wrote:
(03-25-2025, 11:20 PM)iiii Wrote: Cześć nchen,

nie myślałem wiele o Radio Option, ponieważ Twoja rada z add_choice_argument() pasuje również do tego przypadku.


Gimp.message () razem z try/except i inspekcją Error Console ( Dodaj kartę > Error Console ) bardzo pomagają w debugowaniu, dziękuję bardzo jeszcze raz! ?

Teraz wtyczka działa ponownie, przynajmniej u mnie działa lokalnie z win11 i gimp3 ?
Umieściłem ją w repozytorium tutaj do archiwizacji: https://github.com/iiey/nikGimp

Wszelkie porady i/lub PR są mile widziane!

Zainstalowałem i przetestowałem GIMP 3.0.2, działa, ale na razie są dwa problemy
 NDE i HDR nie działają.
Współpracy z innymi programami na razie nie sprawdzałem.
Pozdrowienia i dziękuję

Hi Zbyma72age,
Thank you for testing out, we use the old Google Nik Collection that is still out there on the internet. The "HDR Efex Pro 2" alone has an issue, that it cannot save the processed image back to the input image, you can also test it by running the program directly:
Code:
C:\Program Files\Google\Nik Collection\HDR Efex Pro 2> & './HDR Efex Pro 2.exe' MY_INPUT_IMAGE.jpg
The "Save" button not work, only "Save Image as...", but it breaks the workflow of this plugin, unfortunately.
One stupid workaround is, you could input the path "C:\Users\YOUR_USERNAME\AppData\Local\Temp\TmpNik.jpg" by "Save Image as..." manually and click "Save".
Reply


Messages In This Thread
RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - by iiey - 03-26-2025, 10:47 PM

Forum Jump: