Re: Starting FriCAS not in the $HOME directory
Grégory Vanuxem <[email protected]> Sun, 25 May 2025 14:53:17 +0200
| Newsgroups | gmane.comp.mathematics.algebra.fricas.devel,gmane.lisp.gcl.devel |
|---|---|
| Message-ID | <CAHnU2dZs=gGs0e5OxtOC694GR4Dgr8VMYNmtukCN9_5sJv=0JQ@mail.gmail.com> |
--0000000000004af2650635f55114 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Le sam. 24 mai 2025, 18:41, Waldek Hebisch <[email protected]> a =C3=A9crit = : > On Sat, May 24, 2025 at 06:14:40PM +0200, Gr=C3=A9gory Vanuxem wrote: > > 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 Ka= li > > 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. > > AFAICS the problem is due to PATHNAME-TYPE in gcl: > > )lisp (PATHNAME-TYPE "/home/hebisch/.fricas.input") > > Value =3D "fricas.input" > (1) -> > > All other Lisp implementations that we use return "input". Yes and this is required by CLHS from what I have read: http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_pathn= ame-_name-version.html#pathname-type It's a good thing to know for Camm since apparently he is working on several things and will add some suggestions for macOS from Chun Tian from what I have understood so I think it will fix that. - Greg --=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/CAHnU2dZs%3DgGs0e5OxtOC694GR4Dgr8VMYNmtukCN9_5sJv%3D0JQ%40mail.gmail.com. --0000000000004af2650635f55114 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div>Hello,=C2=A0<br><br><div class=3D"gmail_quote"><div = dir=3D"ltr" class=3D"gmail_attr">Le sam. 24 mai 2025, 18:41, Waldek Hebisch= <<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"noreferre= r">[email protected]</a>> a =C3=A9crit=C2=A0:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex">On Sat, May 24, 2025 at 06:14:40PM +0200, Gr=C3=A9gory Vanuxe= m wrote:<br> > Hi Waldek,<br> > <br> > Many thanks for this quick response and fix. Just tested on official F= riCAS<br> > and the 2 problems you mentioned previously gone away.<br> > <br> > The .fricas.input file is still not "read" but for my mid-te= rm work it is<br> > not a big problem, my startup file is just displaying computation time= s and<br> > augmenting line length of output to 110. Maybe this is related to my K= ali<br> > distribution on WSL2, I don't know.<br> > <br> > The )read command is to blame on my settings:<br> > <br> > (1) -> )sys pws<br> > <br> >=C2=A0 =C2=A0 >> System error:<br> >=C2=A0 =C2=A0 INTERNAL-SIMPLE-ERROR: The assertion !posix_spawnp(&p= id, *p1,<br> > &file_actions, &attr, (void *)p1, environ) on line 65 of o/uni= xsys.c in<br> > function vsystem failed: No such file or directory<br> > <br> > (1) -> )sys pwd<br> > /home/greg<br> > (1) -> )sys ls -l .fricas.input<br> > -rw-r--r-- 1 greg greg 35 Feb 11 09:42 .fricas.input<br> > (1) -> )read .fricas.input<br> > <br> >=C2=A0 =C2=A0 The file .fricas.input is needed but does not exist.<br> <br> AFAICS the problem is due to PATHNAME-TYPE in gcl:<br> <br> )lisp (PATHNAME-TYPE "/home/hebisch/.fricas.input")<br> <br> Value =3D "fricas.input"<br> (1) -> <br> <br> All other Lisp implementations that we use return "input".</block= quote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">Yes and thi= s is required by CLHS from what I have read:</div><div dir=3D"auto"><br></d= iv><div dir=3D"auto"><a href=3D"http://www.ai.mit.edu/projects/iiip/doc/Com= monLISP/HyperSpec/Body/fun_pathname-_name-version.html#pathname-type" targe= t=3D"_blank" rel=3D"noreferrer">http://www.ai.mit.edu/projects/iiip/doc/Com= monLISP/HyperSpec/Body/fun_pathname-_name-version.html#pathname-type</a></d= iv><div dir=3D"auto"><br></div><div dir=3D"auto">It's a good thing to k= now for Camm since apparently he is working on several things and will add = some suggestions for macOS from Chun Tian from what I have understood so I = think it will fix that.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"= auto">- Greg</div></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;FriCAS - computer algebra system" 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/CAHnU2dZs%3DgGs0e5OxtOC694GR4Dgr8VMYNmtukCN9_5sJv%3D0JQ%40mail= .gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.co= m/d/msgid/fricas-devel/CAHnU2dZs%3DgGs0e5OxtOC694GR4Dgr8VMYNmtukCN9_5sJv%3D= 0JQ%40mail.gmail.com</a>.<br /> --0000000000004af2650635f55114--