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
#2
TLDR:
1. What are the correct replacements for PF_RATIO & PF_OPTION? Can you provide corresponding code with GIMP 3.x procedure?
2. What is the appropriate way to debug python plugins?

------------------------------
1. I tried using add_enum_argument() and add_choice_argument(), but it seems I don’t fully understand the documentation.
2. I cannot properly debug the code:
    - Running "C:\Program Files\gimp3\bin\gimp-console.exe" does not print any useful information when the plugin code is incorrect; it simply does not appear in the menu.
    - Running the shellout.py script in VSCode using its interpreter "C:\Program Files\gimp3\bin\python.exe" is also not helpful. It executes but only outputs: "shellout.py is a GIMP plug-in and must be run by GIMP to be used."

Any help would be appreciated.
Reply


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

Forum Jump: