[Python] GIMP_wire_read error upon adding python script in correct folder

Discussão em 'Python' iniciado por Stack, Fevereiro 8, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to learn GIMP 2.10.38 with python and I don't know either that well, so I tried adding a simple python script but it doesn't show up in GIMP at all. Here is the script I added:

    #!/usr/bin/env python
    from gimpfu import *

    def simple_plugin(image, drawable):
    gimp.message("Hello from a simple plugin!")

    register(
    "python-fu-simple-plugin",
    "Simple Plugin Test",
    "A simple test plugin",
    "Your Name",
    "Your Name",
    "2024",
    "<Image>/Filters/Simple Test", # Or any menu location
    "RGB*",
    [],
    simple_plugin,
    )

    main()


    The script is in the correct folder - confirmed that in preferences - folders - plug-ins Searching online I came across the --verbose argument and that led me to this error:

    Querying plug-in: 'C:\Users\Prafulla\AppData\Roaming\GIMP\2.10\plug-ins\simplepy.py'
    gimp-2.10: LibGimpBase-WARNING: gimp-2.10: gimp_wire_read(): error


    I know it is a general error related to communication within GIMP but couldn't find enough information online. I have tried a reinstall already, but not tried deleting all folders manually yet. Any idea how I should proceed?

    Continue reading...

Compartilhe esta Página