Opening error warning, but the applet works fine

Javier Cayetano Rodríguez shared this question 2 years ago
Answered

I have uploaded this activity: https://www.geogebra.org/m/gkg3wczt

and everytime I open it online, it shows an error message while loading, which disappears once the applet is loaded. After that, I can use the applet without any trouble nor further error messages. So, the error is just in the preview image.


(*) On the desktop version, the applet does not show any error while loading.


Inside the applet, I use a polinomial function called f4 which I analize using GeoGebra commands like Root, Extremum and TurningPoint.


It seems to me as if GeoGebra were trying to evaluate those commands before loading the polynomial, and therefore, throws an error.


Could it be that? Is there anything I can do to avoid showing this error warning?

I have seen another message like this in the forum (https://help.geogebra.org/t...), could it be related?


(*) Just in case, I have checked the Construction Protocol, and these objects are defined in the correct order.


Thank you.


acdff7438a2653cf12ba4cc0467ab0a9

Comments (5)

photo
1

¿has probado el nuevo comando CASloaded() ?

Ni idea concreta de para qué sirve, pero la intuición me dice que es para esto

photo
1

Tiene pinta de ser una variable booleana que indica si se han cargado ya las herramientas CAS. Pero no sé cómo utilizarla en este caso.

photo
1

pensé que se te producia un error en el comienzo del applat pero veo que es solo la imagen de previsualizacion, cambiala.


ya miraré si consigo saber la utilidad de ese comando

photo
photo
1

As you say it's just in the preview image - try re-uploading https://www.geogebra.org/m/dhk3fvgy

photo
1

-Effectively, it is just in the preview, so it does not worry me that much. I could even work around it using geogebra scripts to calculate the points I need every time I generate a new function to analyse.


I was just curious about the warning message.


-When I re-upload the applet, a funny thing happens:

For a while, the applet is loaded without problems, but after some time, the error warning appears again.

It is strange.

photo
© 2023 International GeoGebra Institute