Script/Evaluator errors but no message if output pane is closed

Script and eval errors append to the output log only when the output pane is open. If closed, errors merely flash the status bar icon without logging. This began in version 13.22.1.

Also no logging when pane is closed with...

DOpus.Output("Testing");
=Output("Testing")
@output:Testing

It seems ok here. Make sure you're looking at the Script log and not the Diagnostic log.

I am definitely in the Script log. If I downgrade to 13.22 it works again.

Edit: I also just noticed if any text is in the log and I close and reopen all the text is gone.

How are you opening the log? Could it be a script that's clearing it automatically?

  • By clicking the flashing error icon in status bar
  • A menu item with Set UTILITY=otherlog,toggle
  • Mouse gesture from status bar (I tried disabling mouse gesture software, no luck.)

To make sure it wasn't scripts or an evaluator I disabled both with:

Set EVALUATORDISABLE=toggle
Prefs SCRIPTDISABLE

If when I close and open it and it's clear maybe it really is writing to the log but just gets cleared when I open it?

Maybe something is preventing Opus from writing to the log file? They're stored in /dopusdata/Logs/.

Log file is being wriitten to.

Something's clearing it then. It doesn't do it here and so far no one else has reported the issue so it suggests its something specific to your system.

This machine is running Win10 and I recently updated Visual Studio community edition do you think that could be related? Still doesn't make sense why it works in DO 13.22 though. What makes me think it could be the update of VSCE is because I didn't notice the logging issue until a day or so ago (around when VS was updated) and I never noticed it before that. Even though 13.22.1 came out 70some days ago?

I don't believe it's related to VSCE update.

I tried on another persons PC that is a very basic user and have hardly made any changes from factory and only installed a couple extra software titles. On their PC (also windows 10) with default DOpus configuration the output doesn't even log while the window is open. I tried resetting to default DOpus config on my PC and I see the same thing.

That means there is a setting that causes the text not to appear in the output window whatsoever. If I can find that setting maybe it'll help figure out what's going on.

Could it be windows 10 related? Can you test with windows 10? Perhaps only on Windows 10 machines after version 13.22 this occurs. Anyone else with win10 (I know you're out there) please see if you see the same results.

Yes. No logs here with

Directory Opus 13.22.1.0 build 9436 english
Directory Opus 13.23.9.0 build 9497 english

on

Windows 10 IoT Enterprise LTSC 2021 21H2 build 19044.7058 (AMD64)
Windows 10 Pro 22H2 build 19045.6575 (AMD64)

Thanks for confirming lxp!


Demo with my custom settings

Results of resetting to default configuration (except for added toolbar and button)

Confirmed, seems to be specific to Windows 10. Thanks for the report!