Hi all
After a long break I'm coming back
to STACK having had the pleasure of meeting a full delegation from the
STACK Dept. at the
MoodleMoot DACH two weeks ago.
The platform is Ubuntu Linux 22.04 (LTS), Nginx 1.18, PHP 8.1.2,
MariaDB 10.6.12. Moodle version is 4.1.4+ (Build: 20230629). Freshly installed, empty except for a very few plug-ins including the Question behaviour Adaptive mode (multi-part questions) 4.3.8 for Moodle 3.9+ (2022092200).
Then I got the STACK plug-in cloned to question/type/stack via
Git. It gave me the release 4.4.4 for Moodle 3.9+. When the installation routine started it brought:
I see that Moodle version 4.0 is missing. Still went ahead and cloned the two plug-ins, also via Git to question/behaviour/dfexplicitvaildate 4.2.2 for Moodle 3.9+ resp. dfcbmexplicitvaildate which gave me the green light:
Then the installation script ran successfully.
When I start the mysite/question/type/stack/adminui/healthcheck.php the Display-style equation looks good. There is also an automatically written Maxima configuration file.
But Uncaches CAS call brings, "CAS failed to return any evaluated expressions. Please check your connection with the CAS. CAS returned some data as expected, but there were errors."
Debug info,
Context used below that says,
Platform: linux
Maxima shell command: maxima --use-version=5.40.0
Maxima initial command: load("/var/www/moodledata/stack/maximalocal.mac");
Maxima timeout: 10
Maxima command:
cab:block([],print("[STACKSTART Locals= [ 0=[ error= ["), cte("CASresult",errcatch(diff(x^n,x))), print("1=[ error= ["), cte("STACKversion",errcatch(stackmaximaversion)), print("2=[ error= ["), cte("MAXIMAversion",errcatch(MAXIMA_VERSION_STR)), print("3=[ error= ["), cte("MAXIMAversionnum",errcatch(MAXIMA_VERSION_NUM)), print("4=[ error= ["), cte("externalformat",errcatch(adjust_external_format())), print("5=[ error= ["), cte("CAStime",errcatch(CAStime:"2023-07-03 01:45:19")), print("] ]"), return(true));
I have maxima installed in the server,
$ which maxima
/usr/bin/maxima
$ maxima -v
+ [ gcl = clisp ]
+ [ gcl = cmucl ]
+ [ gcl = scl ]
+ [ gcl = gcl ]
+ exec /usr/lib/maxima/5.45.1/binary-gcl/maxima -eval (cl-user::run) -f -- -v
Maxima 5.45.1 https://maxima.sourceforge.io
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
What is missing?