Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gimp-delete-image not found #1

Open
map7 opened this issue May 9, 2020 · 3 comments
Open

gimp-delete-image not found #1

map7 opened this issue May 9, 2020 · 3 comments

Comments

@map7
Copy link

map7 commented May 9, 2020

Using Gimp 2.8 under Linux Mint 18.2 the cutter works, but the batch doesn't. After at's finished with the first photo and tries to run gimp-delete-image it fails.

Error from gimp

Calling error for procedure 'gimp-procedural-db-proc-info':
Procedure 'gimp-delete-image' not found

Trace

Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 736, in response
    dialog.res = run_script(params)
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script
    return apply(function, params)
  File "/home/amandaep/.gimp-2.8/plug-ins/gimp-scan-cutter.py", line 276, in cutter_batch_images
    pdb.gimp_delete_image(image)
error: procedure not found
@dmig
Copy link
Owner

dmig commented May 9, 2020

looks like, something changed in the recent GIMP... needs discovering.
pull requests are welcome.

@map7
Copy link
Author

map7 commented May 9, 2020 via email

@nwbatey
Copy link
Contributor

nwbatey commented May 11, 2021

I seemed to have fixed it by changing that line to
pdb.gimp_image_delete(image)

I will try and correct it in a pull request once I have some time.

nwbatey added a commit to nwbatey/gimp-scan-cutter that referenced this issue May 11, 2021
changing pdb.gimp_delete_image(image) to pdb.gimp_image_delete(image)
dmig added a commit that referenced this issue May 12, 2021
fixing delete image line from issue #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants