Why error in worksheet

mikkelstouby shared this problem 2 years ago
New

Hi,


When I edit this file in Geogebra Classic (5.0.380) there is no problem. But when I create an applet (https://www.geogebra.org/m/C4xhVmKe) I get an error every time I hit "Ny opgave". It simply says "Error in scipt at line 14 from object nyOpgave Invalid input".


Can anybody tell me what I'm doing wrong or why there is this difference between Geogebra Classic and web?


Best regards,

Mikkel

Comments (5)

photo
1

It's loading the version with just one Graphics View. Try making a fake 3D object eg


(0,0,0)

photo
1

It doesn't work.


I have made simpler test cases:

https://ggbm.at/J7f59Y8w

and

https://www.geogebra.org/m/jHtdr6vQ


In the second case the error is gone but if I cilck "Set perspective G" then the applet is completely empty.

photo
photo
1

It already behaves something like what Noel is describing when I open it with geogebra.org/graphing.


The intention was to have different axis-settings in Graphics1 and Graphics2 and use SetPerspective to change between them.

photo
1

Btw I can't find the difference between the scripts in the applet and in the desktop-version. What differences have you found Noel? At least line 14 should be the same.

photo
1

I see why you would think (with my names) that It makes no sense but xmax in Graphics2 was really x(punkt)+xmax and xmin was x(punkt)-xmin so that should not be it.

When I open the file now (in desktop) however it doesn't work. All axis settings in Graphics2 are forgotten. I don't know how this has happened. Everything was working before.

photo
© 2019 International GeoGebra Institute