first of all, a big thank you for providing 1.3.5 and your cooperation concerning InputForm! I sincerely hope that having more of FriCAS features exposed in sage will sparkle also more interest in FriCAS itself, especially where it shines!
(1) -> integrate((%i*a*tan(d*x + c) + a)^3*tan(d*x + c), x)
>> System error:
arithmetic error DIVISION-BY-ZERO signalled
Operation was /, operands (-2 0).
I think an easy fix would be as follows.
diff --git a/src/interp/g-error.boot b/src/interp/g-error.boot
index e816e096..ce7c5175 100644
--- a/src/interp/g-error.boot
+++ b/src/interp/g-error.boot
@@ -151,6 +151,7 @@ sayErrorly(errorLabel, msg) ==
sayErrorly1(errorLabel, msg)
sayErrorly1(errorLabel, msg) ==
+ ioHook("startKeyedMsg", errorLabel, msg)
sayBrightly '" "
if $testingSystem then sayMSG $testingErrorPrefix
sayBrightly ['" >> ",errorLabel,'":"]
@@ -158,6 +159,7 @@ sayErrorly1(errorLabel, msg) ==
msg is ['mathprint, mathexpr] =>
mathprint mathexpr
sayBrightly msg
+ ioHook("endOfKeyedMsg", errorLabel)