FS#61703 - wxMaxima errors at start up, cannot use wx commands, no formatting

Attached to Project: Arch Linux
Opened by anonymous archuser (bugaboo) - Sunday, 10 February 2019, 14:26 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 28 February 2019, 16:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

There are errors when starting up wxMaxima, cannot use any wx...() commands, the formulas are not formatted, they appear as if Maxima is run in the terminal. This is not the first time, but then I have written to the maintainer of the wxMaxima, at https://github.com/wxMaxima-developers/wxmaxima/issues/1050 , and it appeared that it was a compilation bug, which was possible to fix then, but now it's not possible. Since it looks like a compilation issue, it's been suggested to try here.


Additional info:
* package version(s): 19.01.3
* config and/or log files etc.


Steps to reproduce:

Simply open up wxMaxima, try using it.
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 28 February 2019, 16:21 GMT
Reason for closing:  Works for me
Comment by Antonio Rojas (arojas) - Sunday, 10 February 2019, 14:30 GMT
"There are errors" is completely useless. Please describe your issue in detail, including *literal* error messages
Comment by anonymous archuser (bugaboo) - Sunday, 10 February 2019, 15:51 GMT
Have you seen the link I posted? All the errors are there, including the comments of the creator, who says it may be the compiler's problem. But, sure, here's what I see:

-->
; in: PROGN (SETQ $WXMAXIMAVERSION "19.01.3")
; (SETQ MAXIMA::$WXMAXIMAVERSION "19.01.3")
;
; caught WARNING:
; undefined variable: MAXIMA::$WXMAXIMAVERSION
;
; compilation unit finished
; Undefined variable:
; $WXMAXIMAVERSION
; caught 1 WARNING condition
; in: PROGN ($PUT '$WXMAXIMA (READ-WXMAXIMA-VERSION "19.01.3") '$VERSION)
; (MAXIMA::READ-WXMAXIMA-VERSION "19.01.3")
;
; caught STYLE-WARNING:
; undefined function: MAXIMA::READ-WXMAXIMA-VERSION
;
; compilation unit finished
; Undefined function:
; READ-WXMAXIMA-VERSION
; caught 1 STYLE-WARNING condition
Maxima encountered a Lisp error:
The function MAXIMA::READ-WXMAXIMA-VERSION is undefined.
Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
; in: PROGN (SETQ $WXWIDGETSVERSION "wxWidgets 3.0.4")
; (SETQ MAXIMA::$WXWIDGETSVERSION "wxWidgets 3.0.4")
;
; caught WARNING:
; undefined variable: MAXIMA::$WXWIDGETSVERSION
;
; compilation unit finished
; Undefined variable:
; $WXWIDGETSVERSION
; caught 1 WARNING condition

If I try to run a wx...() command, for example wxdraw2d(explicit(sin(x),x,0,10)), here's what it says:

(%i1) wxdraw2d(explicit(sin(x),x,0,10));
; in: PROGN (SETQ $WXPLOT_PNGCAIRO T)
; (SETQ MAXIMA::$WXPLOT_PNGCAIRO T)
;
; caught WARNING:
; undefined variable: MAXIMA::$WXPLOT_PNGCAIRO
;
; compilation unit finished
; Undefined variable:
; $WXPLOT_PNGCAIRO
; caught 1 WARNING condition
; in: PROGN (SETQ $WXSUBSCRIPTS T)
; (SETQ MAXIMA::$WXSUBSCRIPTS T)
;
; caught WARNING:
; undefined variable: MAXIMA::$WXSUBSCRIPTS
;
; compilation unit finished
; Undefined variable:
; $WXSUBSCRIPTS
; caught 1 WARNING condition
; in: PROGN (SETQ WXUSERCONFDIR "/home/tarzan/.maxima/")
; (SETQ MAXIMA::WXUSERCONFDIR "/home/tarzan/.maxima/")
;
; caught WARNING:
; undefined variable: MAXIMA::WXUSERCONFDIR
;
; compilation unit finished
; Undefined variable:
; WXUSERCONFDIR
; caught 1 WARNING condition
; in: PROGN (SETQ WXHELPDIR "/usr/share/doc/wxmaxima")
; (SETQ MAXIMA::WXHELPDIR "/usr/share/doc/wxmaxima")
;
; caught WARNING:
; undefined variable: MAXIMA::WXHELPDIR
;
; compilation unit finished
; Undefined variable:
; WXHELPDIR
; caught 1 WARNING condition
; in:
; PROGN (SETQ WXMAXIMALISPLOCATION
; "/usr/share/maxima//branch_5_42_base_87_g40314b08c")
; (SETQ MAXIMA::WXMAXIMALISPLOCATION
; "/usr/share/maxima//branch_5_42_base_87_g40314b08c")
;
; caught WARNING:
; undefined variable: MAXIMA::WXMAXIMALISPLOCATION
;
; compilation unit finished
; Undefined variable:
; WXMAXIMALISPLOCATION
; caught 1 WARNING condition
; in: PROGN (SETQ $WXPLOT_SIZE '((MLIST SIMP) 500 300))
; (SETQ MAXIMA::$WXPLOT_SIZE '((MAXIMA::MLIST MAXIMA::SIMP) 500 300))
;
; caught WARNING:
; undefined variable: MAXIMA::$WXPLOT_SIZE
;
; compilation unit finished
; Undefined variable:
; $WXPLOT_SIZE
; caught 1 WARNING condition
(%o1) wxdraw2d(explicit(sin(x), x, 0, 10))
Comment by Antonio Rojas (arojas) - Sunday, 10 February 2019, 15:53 GMT
/usr/share/maxima//branch_5_42_base_87_g40314b08c

This doesn't look like any of the official maxima packages
Comment by anonymous archuser (bugaboo) - Sunday, 10 February 2019, 16:17 GMT
I just tried again a "sudo pacman -S maxima wxmaxima", it said they are installed and it will install them again. Then I looked in /usr/share/maxima and indeed I found two other folders from a time when I tried compiling it myself. I removed them, removed ~/.maxima too, then ran wxMaxima -- same erros, except now, for the wxdraw2d(), the two lines read:

; in: PROGN (SETQ WXMAXIMALISPLOCATION "/usr/share/maxima//5.42.2")
; (SETQ MAXIMA::WXMAXIMALISPLOCATION "/usr/share/maxima//5.42.2")
Comment by Antonio Rojas (arojas) - Sunday, 10 February 2019, 16:34 GMT
Everything works for me with both maxima packages. Make sure you don't have any other leftovers from your previous manual system-wide installations under /usr.
Comment by anonymous archuser (bugaboo) - Sunday, 10 February 2019, 17:02 GMT
Then maybe it's a good idea to either close this or put on hold until I manage to find out what is it that goes wrong. I'm sorry if it turns out to be a false alarm.
Comment by anonymous archuser (bugaboo) - Monday, 11 February 2019, 08:31 GMT
Would it be possible to post your configuration files for compilation? I'm trying to figure this out without reinstalling Archlinux.
Comment by Antonio Rojas (arojas) - Saturday, 16 February 2019, 19:40 GMT
You can find the PKGBUILD used to compile the package by clicking on "Source files" in https://www.archlinux.org/packages/extra/x86_64/wxmaxima/

Loading...