Re: Starting FriCAS not in the $HOME directory

GrĂ©gory Vanuxem <[email protected]> Sat, 24 May 2025 18:14:40 +0200
Newsgroups gmane.comp.mathematics.algebra.fricas.devel,gmane.lisp.gcl.devel
Message-ID <CAHnU2dYSAQtS7Sk8CsB9epEB9Mt7MbYTzADQLcYmri2dLEePAw@mail.gmail.com>
--0000000000004704c20635e4057f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Waldek,

Many thanks for this quick response and fix. Just tested on official FriCAS
and the 2 problems you mentioned previously gone away.

The .fricas.input file is still not "read" but for my mid-term work it is
not a big problem, my startup file is just displaying computation times and
augmenting line length of output to 110. Maybe this is related to my Kali
distribution on WSL2, I don't know.

The )read command is to blame on my settings:

(1) -> )sys pws

   >> System error:
   INTERNAL-SIMPLE-ERROR: The assertion !posix_spawnp(&pid, *p1,
&file_actions, &attr, (void *)p1, environ) on line 65 of o/unixsys.c in
function vsystem failed: No such file or directory

(1) -> )sys pwd
/home/greg
(1) -> )sys ls -l .fricas.input
-rw-r--r-- 1 greg greg 35 Feb 11 09:42 .fricas.input
(1) -> )read .fricas.input

   The file .fricas.input is needed but does not exist.

BTW great improvements have been done for gcl-2.7.1, thanks to you and
Camm, it's a very good thing for me since I plan to code a wrapper in
Common Lisp using my C wrapper to Julia compatible with GCL. I did one for
Axiom in the past, a coding LISP game for me containing only "and", "or
"and "not" keywords (no loops or conditionals). A direct wrapper to Fortran
BLAS in fact. Now I have to look at documentation changes for the GCL-2.7
series FFI.

- Greg

PS / I Cc-ed to gcl-devel

Le sam. 24 mai 2025 =C3=A0 15:30, Waldek Hebisch <[email protected]> a =C3=
=A9crit :

> On Fri, May 23, 2025 at 09:56:29PM +0200, Gr=C3=A9gory Vanuxem wrote:
> > Hello,
> >
> > I don't know if you can reproduce this: if I start FriCAS from $HOME it
> > starts nicely but if I start in another directory see the snippet below=
.
> > I tried with gcl2.7.1-4 from a Debian based distribution and after with
> the
> > official Debian sid and the same happens:
> >
> <snip>
> >
> >    >> System error:
> >    INTERNAL-SIMPLE-PARSE-ERROR: "/home/greg//.fricas.input" is not a
> valid
> > pathname on host NIL
> >
> >
> >    >> System error:
> >    INTERNAL-SIMPLE-ERROR: The tag |top_level| is undefined.
>
> Should be fixed now.
>
> --
>                               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/aDHJ1HqJwLlykCMl%40fricas.=
org
> .
>

--=20
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 e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/fricas-deve=
l/CAHnU2dYSAQtS7Sk8CsB9epEB9Mt7MbYTzADQLcYmri2dLEePAw%40mail.gmail.com.

--0000000000004704c20635e4057f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Waldek,<br><div><br></div><div>Many thanks for this qui=
ck=C2=A0response and fix. Just tested on official=C2=A0FriCAS and the 2 pro=
blems you mentioned previously gone away.</div><div><br></div><div>The .fri=
cas.input file is still not &quot;read&quot; but for my mid-term work it is=
 not a big problem, my startup file is just displaying computation times an=
d augmenting line length of output to=C2=A0110. Maybe this is related to my=
 Kali distribution on WSL2, I don&#39;t know.</div><div><br></div><div>The =
)read command is to blame on my settings:</div><div><br></div><div>(1) -&gt=
; )sys pws<br><br>=C2=A0 =C2=A0&gt;&gt; System error:<br>=C2=A0 =C2=A0INTER=
NAL-SIMPLE-ERROR: The assertion !posix_spawnp(&amp;pid, *p1, &amp;file_acti=
ons, &amp;attr, (void *)p1, environ) on line 65 of o/unixsys.c in function =
vsystem failed: No such file or directory<br><br>(1) -&gt; )sys pwd<br>/hom=
e/greg<br>(1) -&gt; )sys ls -l .fricas.input<br>-rw-r--r-- 1 greg greg 35 F=
eb 11 09:42 .fricas.input<br>(1) -&gt; )read .fricas.input<br><br>=C2=A0 =
=C2=A0The file .fricas.input is needed but does not exist.</div><div><br></=
div><div>BTW great improvements=C2=A0have been done for gcl-2.7.1, thanks t=
o you and Camm, it&#39;s a very good thing for me since I plan to code a wr=
apper in Common Lisp using my C wrapper to Julia compatible with GCL. I did=
 one for Axiom in the past, a coding LISP game for me containing only &quot=
;and&quot;, &quot;or &quot;and &quot;not&quot; keywords (no loops or condit=
ionals). A direct wrapper to Fortran BLAS in fact. Now I have to look at do=
cumentation changes for the GCL-2.7 series FFI.</div><div><br></div><div>- =
Greg</div><div><br></div><div>PS / I Cc-ed to gcl-devel=C2=A0</div></div><b=
r><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=
=3D"gmail_attr">Le=C2=A0sam. 24 mai 2025 =C3=A0=C2=A015:30, Waldek Hebisch =
&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; a =C3=A9cr=
it=C2=A0:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri=
, May 23, 2025 at 09:56:29PM +0200, Gr=C3=A9gory Vanuxem wrote:<br>
&gt; Hello,<br>
&gt; <br>
&gt; I don&#39;t know if you can reproduce this: if I start FriCAS from $HO=
ME it<br>
&gt; starts nicely but if I start in another directory see the snippet belo=
w.<br>
&gt; I tried with gcl2.7.1-4 from a Debian based distribution and after wit=
h the<br>
&gt; official Debian sid and the same happens:<br>
&gt;<br>
&lt;snip&gt; <br>
&gt; <br>
&gt;=C2=A0 =C2=A0 &gt;&gt; System error:<br>
&gt;=C2=A0 =C2=A0 INTERNAL-SIMPLE-PARSE-ERROR: &quot;/home/greg//.fricas.in=
put&quot; is not a valid<br>
&gt; pathname on host NIL<br>
&gt; <br>
&gt; <br>
&gt;=C2=A0 =C2=A0 &gt;&gt; System error:<br>
&gt;=C2=A0 =C2=A0 INTERNAL-SIMPLE-ERROR: The tag |top_level| is undefined.<=
br>
<br>
Should be fixed now.<br>
<br>
-- <br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Waldek Hebisch<br>
<br>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;FriCAS - computer algebra system&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:fricas-devel%[email protected]" targ=
et=3D"_blank">[email protected]</a>.<br>
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
fricas-devel/aDHJ1HqJwLlykCMl%40fricas.org" rel=3D"noreferrer" target=3D"_b=
lank">https://groups.google.com/d/msgid/fricas-devel/aDHJ1HqJwLlykCMl%40fri=
cas.org</a>.<br>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;FriCAS - computer algebra system&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">fricas=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
fricas-devel/CAHnU2dYSAQtS7Sk8CsB9epEB9Mt7MbYTzADQLcYmri2dLEePAw%40mail.gma=
il.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/=
msgid/fricas-devel/CAHnU2dYSAQtS7Sk8CsB9epEB9Mt7MbYTzADQLcYmri2dLEePAw%40ma=
il.gmail.com</a>.<br />

--0000000000004704c20635e4057f--