On Sat, Feb 01, 2025 at 01:58:15PM -0500, Camm Maguire wrote:
> Greetings again!  Its the hyperdoc paste mechanism in sman -- giving
> System Error: not a string
> 
> investigating....
> 
> Take care,
> 
> Waldek Hebisch <[email protected]> writes:
> 
> > On Fri, Jan 17, 2025 at 03:02:46PM -0500, Camm Maguire wrote:
> >> Greetings, and one more question --
> >> 
> >> My build is now hanging waiting for input here:
> >> 
> >> unset DAASE; HTPATH=. FRICAS_INITFILE='' 
> >> /mnt/sda4/debian/fricas/target/x86_64-linux-gnu/bin/sman -noihere -paste 
> >> exdiff.ht
> >> openServer result 0
> >>                        FriCAS Computer Algebra System 
> >>                          Version: FriCAS 2022-07-16
> >>                  Timestamp: Fri Jan 17 01:59:52 PM EST 2025
> >> -----------------------------------------------------------------------------
> >>    Issue )copyright to view copyright notices.
> >>    Issue )summary for a summary of useful system commands.
> >>    Issue )quit to leave FriCAS and return to shell.
> >> -----------------------------------------------------------------------------
> >>  
> >> 
> >> making exdiff.input
> >> parsing: ExDiffBasic
> >> writing:   differentiate(sin(x) * exp(x^2),x)
> >> 
> >> Thoughts?

Much of above happens in separate processes.  In FRICASsys the
expression is supposed to come to 'parseAndEvalToHypertex' which
calls 'parseAndEvalToStringEqNum'.  So one thing to check is
starting FRICASsys and trying

)boot parseAndEvalToStringEqNum('"differentiate(sin(x) * exp(x^2),x)")

This should give something like:


(EVAL-WHEN (:EXECUTE :LOAD-TOPLEVEL)
  (PROG ()
    (RETURN
     (|parseAndEvalToStringEqNum| "differentiate(sin(x) * exp(x^2),x)"))))
Value = ("               2                  2"
         "              x                  x"
         "   (1)  2 x %e  sin(x) + cos(x)%e"
         "                                                    Type: 
Expression(Integer)")

If the above works OK, then possible reason could be is socket code
(data have to go trough sockets before it gets to
'parseAndEvalToHypertex')

-- 
                              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/Z56SA5lutAA5Xbiz%40fricas.org.

Reply via email to