Issue with print attached to JS

Peter Nyboer's icon

I am having an odd issue with print messages coming out of JS.
I have lists coming out of JS, but they do not print when fed into the print object, unless I also send it a bang. See attached patch, script and movie that shows this. The movie is made with an older beta, but I also checked on the most recent beta (info appended), and had the same result.

notezones.js
text/javascript 4.95 KB
script used in patch

printbug.maxpat
Max Patch
patch with comments about bug

movie demonstrating the bug.

{
    "version" : "Beta Version 8.2.0 (ba4ca3ebc74) (x64 mac)",
    "platform" : "mac",
    "arch" : "x64",
    "osversion" : "Mac OS X Version 10.15.7 (Build 19H1323) x86_64",
    "samplerate" : 44100,
    "iovs" : 256,
    "sigvs" : 2,
    "scheduler_in_audio_interrupt" : "off",
    "audio_drivername" : "Core Audio",
    "audio_driver_subname" : "",
    "license" : "permanent full",
    "machine_id" : "e6262d9784e1d007b1abb14d144beeaa",
    "eventinterval" : 2,
    "schedinterval" : 1.0,
    "overdrive" : "on",
    "pollthrottle" : 40,
    "queuethrottle" : 100,
    "sysqelemthrottle" : 1000,
    "refreshrate" : 33.333332061767578,
    "schedslop" : 25.0,
    "eventprobing" : 0,
    "mixerparallel" : "off",
    "mixercrossfade" : 0,
    "mixerlatency" : 30.0,
    "mixerramptime" : 10.0,
    "videoengine" : "avf",
    "glengine" : "gl2",
    "packages" :     {
        "BEAP" : "1.0.4",
        "cv.jit" : "2.0.1",
        "gl3" : "0.2.9",
        "hap" : "1.0.6",
        "ICST Ambisonics" : "2.3.2",
        "jit.mo" : "1.1.6",
        "Jitter Tools" : "1.0.0",
        "max-mxj" : "8.2.0",
        "maxforlive-elements" : "1.0.2",
        "Mira" : "1.2.1",
        "ml.lib" : "1.1.3",
        "Node for Max" : "2.0.4",
        "RISE" : "1.0.2",
        "RNBO" : "0.11.1",
        "sensel" : "0.4.1",
        "Syphon" : "1.0.6",
        "VIDDLL" : "1.2.5",
        "Video & Graphics" : "7.2.0",
        "Vizzie" : "2.2.0",
        "XRAY" : "1.0.1"
    }

}

Ben Bracken's icon

This appears to behave the same in Max 8.1.11 and Max 8.2, so it's not a new issue. Regardless, we will take a look. It appears that calling post() (with no newline) and outlet() in the same function is causing problems. Thanks for the report!

Peter Nyboer's icon

Ok, thanks. Glad I'm not crazy!