a Maxima program running under the Windows implementation but not under Linux implementation of Maxima / wxMaxima



Hallo Jochen Ziegenbalg,

I can confirm that your wxm file runs on Ubuntu with Maxima 5.26.0 and
5.25.1 but fails with 5.20.1. I can't tell about the version 5.22.1.

The wxdraw2d function is a quite recent development if I am not mistaken.
In a first step I would just replace the last line in your StringToGraphic
function
by a simple return value like 1 or so and check if it works without errors.

StringToGraphic(Str, c0, c1) :=
 ...
     LG : append(LG, [Gbit]) ),
 1) ;

Let us know what the result is.

Volker van Nek

2012/4/3 Jochen Ziegenbalg <ziegenbalg at ph-karlsruhe.de>

> Ladies and gentlemen,
>
> in the appendix I send you a small Maxima program running without any
> problem under wxMaxima for Windows (wxMaxima 11.08.0 / Maxima 5.25.1)
> but not running under the (Ubuntu-) Linux implementation (wxMaxima
> 0.85 / Maxima 5.22.1).
>
> The purpose of the program is to convert a string into its bit
> structure (using the ASCII-code) and display this bit structure
> graphically.
>
> Under Windows the program runs as expected.
>
> Under Linux (after defining the "helper"-functions like Byte), calling
> the procedure
>        StringToGraphic("Karlsruhe", yellow, black)
> results in the error message
>
>   Maxima encountered a Lisp error:
>     Error in Apply [or a callee]:The function NIL is undefined.
>   Automatically continuing.
>   ...
>
> I would be grateful for some clarification on why this is so ... and a
> hint on how to run the program under Linux.
>
> Thank you very much,
> Jochen Ziegenbalg
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>