rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

plot doesn't work with special characters in Username #1765

Open rtoy opened 4 months ago

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 07:42:56 Created by *anonymous on 2007-07-16 13:29:24 Original: https://sourceforge.net/p/maxima/bugs/1234


(%i2) f(x):=x; (%o2) f(x):=x (%i3) wxplot2d([%o2], [x,-5,5])

$Maxima encountered a Lisp error: Error in APPLY [or a callee]: Cannot create the file C:/Dokumente und Einstellungen/blubb/maxout.gnuplot.Automatically continuing.To reenable the Lisp debugger set *debugger-hook* to nil.(%i4)

The Username is not correct. It must be b^l^u^b^b. It seems that special characters are ignored.

------------------------------------------------------------- Maxima version: 5.12.0 Maxima build date: 19:33 5/3/2007 host type: i686-pc-mingw32 lisp-implementation-type: GNU Common Lisp (GCL) lisp-implementation-version: GCL 2.6.8 -------------------------------------------------------------

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 07:42:58 Created by robert_dodier on 2007-08-01 03:36:59 Original: https://sourceforge.net/p/maxima/bugs/1234/#1140


Logged In: YES user_id=501686 Originator: NO

What are the special characters in question, I wonder? I'm pretty sure GCL does not know how to handle Unicode characters, although I would expect ISO-Latin-whatever would be OK ... Someone who has a foreign-language windows installation would be able to tell for sure.

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 07:43:01 Created by robert_dodier on 2007-08-01 03:38:35 Original: https://sourceforge.net/p/maxima/bugs/1234/#95c0


Logged In: YES user_id=501686 Originator: NO

It may be too late, but anyway, a work-around is to assign maxima_tempdir to some acceptable folder, say maxima_tempdir : "c:\temp". Then the plotting functions will put the Gnuplot output file there.

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 07:43:05 Created by robert_dodier on 2022-11-03 17:24:40 Original: https://sourceforge.net/p/maxima/bugs/1234/#4865


rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 07:43:08 Created by robert_dodier on 2022-11-03 17:24:40 Original: https://sourceforge.net/p/maxima/bugs/1234/#6683


I wonder if this works as expected in SBCL or any other implementation, and not in GCL, or if it doesn't work in any implementation.