Greetings.
I should first mention that this problem has to do with the new API.
Due to certain constraints, I have to use python 3, and so I've been using Gimp 2.99.
https://www.gimp-forum.net/Thread-What-i...-batch-job
I've tried to adapt the method shown in the thread above for python3, adding a Gimp.quit() at the end of the do_it function.
This is the command I'm using.
This is the message I get.
Other information:
(I'm aware that this isn't code, but I couldn't find the appropriate BBCode tags)
I should first mention that this problem has to do with the new API.
Due to certain constraints, I have to use python 3, and so I've been using Gimp 2.99.
https://www.gimp-forum.net/Thread-What-i...-batch-job
I've tried to adapt the method shown in the thread above for python3, adding a Gimp.quit() at the end of the do_it function.
This is the command I'm using.
Code:
gimp-console-2.99 -idf --batch-interpreter python-fu-eval -b "import sys;sys.path=['.']+sys.path;import backrem;backrem.do_it()"
This is the message I get.
Code:
plug-in 'python-eval.py' aborted before sending its procedure return values
batch command experienced a calling error:
Procedure 'python-fu-eval' returned no return values
Other information:
- If I remove 'Gimp.quit()' from the actual script and add '-b "Gimp.quit()"' to the command, I still get an error.
- If I remove it from both the script and the command, the process does not terminate.
(I'm aware that this isn't code, but I couldn't find the appropriate BBCode tags)