Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
message reporting from script-fu
#3
(12-29-2020, 05:51 PM)Ofnuts Wrote: None I know of. But then you shouldn't issue many messages, because if you haven't got the Gimp console up you would get a modal dialog instead.

Since you are on Linux, if you are using these messages to debug maybe you can  use (display ...) and (newline) instead to print things on stdout. If you start Gimp from a terminal, this should show up in said terminal (at least this is how python-fu behaves). The only downside of this solution is that you have to disable it for use by Windows users, because after 4K of output the script stalls (in my Python scripts I only output things if a specific environment variable is set).

ok, thanks. I do have the error console up.
I edit a script, reload it, watch how it progresses on an image, read the messages for info and debugging.

Tried the console option, almost worked.
I get lots of window pop up messages in gimp and messages in the console.
used (gimp-message-set-handler 0).

Also the console is littered with messages from...
using gegl copy
using gegl copy
using gegl copy
using gegl copy
using gegl copy
using gegl copy
using gegl copy
using gegl copy
Reply


Messages In This Thread
message reporting from script-fu - by Ferris - 12-29-2020, 04:01 PM
RE: message reporting from script-fu - by Ofnuts - 12-29-2020, 05:51 PM
RE: message reporting from script-fu - by Ferris - 12-29-2020, 06:21 PM
RE: message reporting from script-fu - by Ferris - 12-29-2020, 07:52 PM

Forum Jump: