On Wed, Nov 26, 2025 at 08:59:02AM -0600, Dima Pasechnik wrote:
> This was only a tip of the problem.
>
> We would like to have Sage working with GCL-compiled FriCAS, but it leaks
> messages on things added to the workspace asynchronously, without a way to
> suppress them via ")set mess".
>
> sage: fricas('3')
>
> ends with
>
> TypeError: An error occurred when FriCAS evaluated '3':
> Function declaration sageprint : InputForm -> String has been added to
> workspace.
>
> see <https://github.com/sagemath/sage/issues/40569>
>
> Is this a FriCAS bug?
ATM there is no way to supress messages like 'Function declaration...'
or 'Compiling function...'. One user asked for way to disable
'Compiling function...' messages, but quickly found a workaround and
dropped the request. If sage needs to disable those message
we can add appropriate control.
However, concerning Sage use, output markers are supposed to delimit
parts that are intersting to Sage. So it would be good to know
what really does not work.
Note that to change settings FriCAS must be at least partially
initialized and you will get earlier messages, printend
before you changed settings. There are confliciting demands
how much initialization is done before user code gets first
chance to intervene.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/aSd-7hIKqTToPo21%40fricas.org.