[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.

+1
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
normal.
or ignore the loglevel fuddling, and just clear the console after
you're done.
afaik, there is no way to do this programmatically (in Pd vanilla) and
it also deletes the entire content of the console so far.

fgm
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151014/2e1121ff/attachment.sig>


More information about the Pd-list mailing list