PREP 2014 Question Authoring - Archived

Workshop 4 AM, Problem 30 doesn't work on our server

Workshop 4 AM, Problem 30 doesn't work on our server

by Murphy Waggoner -
Number of replies: 1
First step: I copied the code for Workshop 4 AM problem 30 to my course on Simpson's server and it won't work. The error was

ERROR caught by Translator while processing problem file:local/ComplexVariables/Graphical_Rep1.pg **************** Undefined subroutine &main::GeogebraWebApplet called at line 34 of (eval 1787)

which is different than the one that Nicholas Nguyen and I were having that Nicholas solved.

Second Step: I went to GitHub and copied the code for AppletObjects.pl and created that file in macros/ in my course on Simpson's server

https://github.com/openwebwork/pg/blob/master/macros/AppletObjects.pl

But then I got the following message when I tried to run the problem.

Can't locate object method "new" via package "GeogebraWebApplet" (perhaps you forgot to load "GeogebraWebApplet"?) at line 99 of (eval 1797) Died within main::GeogebraWebApplet called at line 34 of (eval 1593)

I didn't edit the PREP course problem at all on my server so the code is still the same as the problem in the PREP course whose link is

https://testcourses.webwork.maa.org/webwork2/PREP14_Problem_Authoring/Workshop_4_AM/30


In reply to Murphy Waggoner

Re: Workshop 4 AM, Problem 30 doesn't work on our server

by Murphy Waggoner -
I changed Workshop 4 AM # 30 to meet my needs. My version of the problem is in the Problem Testing problem set #5. It seems to work fine on the MAA's server, but I get the same problem as above when I try it on my server.


https://testcourses.webwork.maa.org/webwork2/PREP14_Problem_Authoring/Problem_Testing/5