Recent changes in GeoGebraTube seem to be breaking the Moodle GeoGebra-Question-Type

AVohns75 shared this problem 4 years ago
Solved

We have been using the GeoGebra question type plugin for moodle (see https://moodle.org/plugins/...) for a while. There seems to be a problem caused by recent changes in GeoGebraTube which seem to be breaking or at least causing serious problems with this question type:

  1. Any question text that should normally show up before the GeoGebra-Applet ist rendered invisible (there seems to be a problem where a "visibility:hidden" tag is not properly overwritten).
  2. While the applet itself is still loading, it is rendered "below" other objects on the page, in other words: the necesarry space is somehow not being reserved by the plugin (a workaround is to change the brwoser window size).

We have tested this behaviour in two different moodle installations, none of which had any general updates or updates of the question type plugin so our only explanation at the moment is that some error in the communication between the plugin and GeoGebra (the plugin loads GeoGebra dynamically from geogebra.org).

Anyone else who noticed thios problem? Any possible solutions?

Comments (23)

photo
1

I've forwarded your post to the Materials Support Team, thank you.

photo
1

You can try loading an older version with applet.setHTML5Codebase(), see https://wiki.geogebra.org/e...

photo
1

As far as I understand, the applet is using https://www.geogebra.org/sc... to access GeoGebra and there is no way of changing that unless I would manually edit the plugin files (I think renderer.php is the culprit her, see: https://github.com/geogebra... ). But that is something I cannot really do as the moodle installation is running at our university's productive moodle server which I have no administrative rights to (and I would assume that manually "hacking" plugin files isn't something our server administrators are quite comfortable with, either).

photo
1

While I really appreciate the quick response and the suggested solution, this will not actually work in my use case. Our university's IT-department is highly unlikely to install manual patches to a moodle-plugin from a github repository. Any changes necessary would probably have to be submitted to the official moodle-plugin library located at https://moodle.org/plugins/... .

If the statistics on moodle.org are to be trusted, then there are approximatly 1000 servers worldwide where this plugin ist installed, so this might justify the extra work necessary.

But as I said earlier: thanks anyway.

photo
1

Dear Michael,

a) I tested the patches on my local test server and they are working just fine.

b) I forwarded the URL to our IT-department and I'm hoping the get around to installing the patch ASP.

I'm also really grateful for your quick replies and the quick fixing of the issue! Many thanks!!!

Andreas

photo
3

Hello everybody,

I've got the same problem. I tried this patch but it's not working for me :-(

Thanks for your help

Fred

photo
1

Hi everybody,

The patches aren't working as I reported on the github issue-tracker.

I think this problem is caused by the RequireJS API anonymous define used in deployggb.js.

Regards,

martin.

photo
3

For testing, please can you try the following:

1) Install https://chrome.google.com/webstore/detail/requestly-redirect-url-mo/mdnleldcmiljblolnjhpnblkcekpdkpa?hl=en as a Chrome Extension

2) Configure it to replace

https://cdn.geogebra.org/ap...

with

https://test.geogebra.org/~...


and let us know if that helps.

photo
1

Reported my test in different thread.

photo
1

I can also confirm the my Moodle error: "caught Error: Mismatched anonymous define() module: function(){return GGBApplet}" is solved, after using: https://test.geogebra.org/~mike/moodle/deployggb.js

photo
1

Sorry Michael. No change for me… :-(

photo
1

Well… After working a little bit more, in fact it works with certain question only, not all of them. I don't know why.

But if I edit those questions and replace the old file with a new one, it works ! Very strange…

I did both the change of file link with Michael one, and this modification given by Martin Putzlocher: https://help.geogebra.org/t...

So thank you everybody for the work and time you spend.

photo
1

I have got the same problem. I am running Moodle version 3.10+. I've already spent a few days getting this problem resolved.

photo
1

ahora entiendo por qué el departamento de informatica de la universidad de cadiz me niega la posibilidad de usar geogebra en el moodle de la universidad

https://help.geogebra.org/t...

photo
2

Please try this new version for Moodle 3.5 / 3.6 https://moodle.org/plugins/...

photo
2

Hi Michael,

Just tested the new version, but with moodle 3.8. Thanks for the effort! I know how tricky the development of moodle-plugins can get.

The good news is: The GGB-Applet is displayed again. (thumbs up)

The bad news is: Every other part of the moodle question (question text, feedback text, scaffolding messages) remains hidden and the rescaling of the applet / the question-frame does not work. So the qtype is still not applicable in the current state.

After saving the question, a number of additional boolean variables, that probably shouldn't be visible, are added to the applet.

I'm adding some screenshots.

Best regards!

photo
3

I just tried this plugin and I have the latest plugin installed. I am seeing the same issues as Martin. I would love to see this resolved. It's a very useful question type when it works properly.

photo
1

I'm having de the same problem. I using moodle 3.7.2+

photo
1

Same problem here!


aecd8b955109fee7c36297ae1ca91a37

photo
1

Still not working...no way to get scores or something like that back from geogebra to moodle. All applets are now worthless.

photo
1

Interesting news here https://github.com/geogebra...

The mebis-Bayern team has decided to continue maintaining this plugin. We have made the plugin fit for Moodle 3.11.


If you find another bug or just want to contribute, we are looking forward to your contribution.


You can find the plugin at: https://github.com/mebis-lp...

Comments have been locked on this page!

© 2023 International GeoGebra Institute