[PD] prevent console error messages
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Oct 14 09:09:45 CEST 2015
On 2015-10-13 15:43, Jonathan Wilkes via Pd-list wrote:
> What are some of those legitimate uses?
> A legitimate use of an object should not be generating
> an error in the first place.
well, more or less.
e.g. accessing a non-existing or locked ressource is a legitimate use of
an object and should nevertheless be reported back.
ideally, it would be reported back to the patch (so that (the author of)
the patch can react appropriately, rather than the user , but tradition
has it that Pd reports such situations by itself.
this makes it nigh impossible to e.g. check for the existence of a file
in Pd (vanilla) without generating an error-message as a side-effect.
this might be annoying but i'm not sure whether i would like this
behaviour to be "fixed".
anyhow, one way to suppress those messages is by setting the loglevel to
"fatal" (0), then clearing the console and setting the loglevel back to
or ignore the loglevel fuddling, and just clear the console after
afaik, there is no way to do this programmatically (in Pd vanilla) and
it also deletes the entire content of the console so far.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Pd-list