Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gimp 3.0.4 python batch interpreter oddities
#3
Thank you very much for your explanation.

How should I change the failing example to work correctly? I don't know how to terminate a statement with other than ; in this context. This does not work either,

User:~$ ~/AppImages/gimp/GIMP-3.0.4-x86_64.AppImage -i --quit --batch-interpreter=python-fu-eval -b 'a="something"' -b 'if True: print(a);'
batch command executed successfully
batch command experienced a calling error:
Traceback (most recent call last):
  File "/tmp/.mount_GIMP-3nIIdNe/usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins/python-eval/python-eval.py", line 42, in code_eval
    exec(code, globals())
  File "<string>", line 1, in <module>
NameError: name 'a' is not defined
Reply


Messages In This Thread
RE: Gimp 3.0.4 python batch interpreter oddities - by Andrew_L - 08-09-2025, 02:13 PM

Forum Jump: