bootchk / resynthesizer

Suite of gimp plugins for texture synthesis
GNU General Public License v3.0
1.39k stars 164 forks source link

Error message #123

Open Binocularbath opened 11 months ago

Binocularbath commented 11 months ago

Hello everyone Im getting this error message. Any idea how i can solve?

Traceback (most recent call last): File "C:\Program Files\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 741, in response dialog.res = run_script(params) File "C:\Program Files\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 362, in run_script return apply(function, params) File "C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\plugin-heal-selection.py", line 148, in heal_selection pdb.plug_in_resynthesizer(timg, tdrawable, 0,0, useBorder, work_drawable.ID, -1, -1, 0.0, 0.117, 16, 500) error: procedure not found

bootchk commented 11 months ago

Two plugin files are involved: heal_selection.py and resynthesizer.exe. The message says the latter file is not properly installed. Insure that the file exists and that it has proper execute permissions.

This is the most common issue, and there are many more detailed answers you can consult.

On Tue, Jul 25, 2023 at 4:52 AM Binocularbath @.***> wrote:

Hello everyone Im getting this error message. Any idea how i can solve?

Traceback (most recent call last): File "C:\Program Files\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 741, in response dialog.res = run_script(params) File "C:\Program Files\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 362, in run_script return apply(function, params) File "C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\plugin-heal-selection.py", line 148, in heal_selection pdb.plug_in_resynthesizer(timg, tdrawable, 0,0, useBorder, work_drawable.ID, -1, -1, 0.0, 0.117, 16, 500) error: procedure not found

— Reply to this email directly, view it on GitHub https://github.com/bootchk/resynthesizer/issues/123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLQEKJ3WUA4KWQYXUL3M3XR6CMZANCNFSM6AAAAAA2WXNCJE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

FaceCrap commented 10 months ago

I've got the exact same issue, WIndows 10, GIMP version is 2.10.34 (Revision 2) Python 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] on win32

Traceback (most recent call last):
  File "E:\PortableApps\GIMPPortable\App\gimp\lib\gimp\2.0\python/gimpfu.py", line 741, in response
    dialog.res = run_script(params)
  File "E:\PortableApps\GIMPPortable\App\gimp\lib\gimp\2.0\python/gimpfu.py", line 362, in run_script
    return apply(function, params)
  File "E:\PortableApps\GIMPPortable\App\gimp\lib\gimp\2.0\plug-ins\plugin-heal-selection.py", line 148, in heal_selection
    pdb.plug_in_resynthesizer(timg, tdrawable, 0,0, useBorder, work_drawable.ID, -1, -1, 0.0, 0.117, 16, 500)
error: procedure not found

I'm 100% positive I've installed the plugin in the correct location, i.e., ....\lib\gimp\2.0\plug-ins as you can see in the traceback and the screenshot. image

After installing, the options I expected to see in Filters > Enhance do show up, but the one I am supposed to see in Filters > Map does NOT show... there is no option "Resynthesize"

FaceCrap commented 10 months ago

Ok, Fixed it, the instructions mentioned in the README_WINDOWS.txt file included in the zip are omitting one very important detail. Currently, it states to place ALL files in the plugin folder. What it should have mentioned is that both executables need to be in a PATH folder, once I placed them in a folder present in my PATH env.var. it ran without any issue and the Resynthesize option showed up in Filters > Map