jsxgraph / moodle-filter_jsxgraph

moodle plug-in for JSXGraph
https://jsxgraph.org
2 stars 6 forks source link

When you copy over a set of quiz questions in Moodle, the graph does not display. #25

Closed paulraper closed 1 year ago

paulraper commented 2 years ago

When we copied a series of questions from one course to another new course, the graph doesn't display.

To explain what we did. We set up a course using Stack with the JSX Graph plugin and created a quiz for the students, the quiz has around 15 questions. We ran this for a semester and then, at the start of the next semester we wanted to reuse the material so tried to copy the course from last semester into new new course we created for this one. In the process, all the materials came across, but when we open the quiz, the graphs do not display.

We then tried to back up the original course and restore it in to new one, that too failed to display the graphs. We then tried to backup and restore just the quiz content, that too failed.

The only approaches that seem to work are to create a new quiz and pull in the questions from the question bank. This, however, is a rather long winded way of having to do the job. The other option is to backup and restore individual questions, but that too is rather long winded.

Any thoughts would be appreciated.

andreas-web commented 2 years ago

Dear Paul, Thank you for your bug request. We will take care of it as soon as possible. Unfortunately, due to time constraints, this will only be the case in about 2 weeks. Until then: Could you please provide an example file here that we can use to reproduce the problem? The Moodle XML format seems to be good for this. I'll get back to you then. Andreas

paulraper commented 2 years ago

Dear Andreas,

Thanks for your reply, and no problem.

Regarding a file, I’ll see what I can organize.

Best,

Paul

On 2 Mar 2022, at 13:44, Andreas W. @.***> wrote:



Dear Paul, Thank you for your bug request. We will take care of it as soon as possible. Unfortunately, due to time constraints, this will only be the case in about 2 weeks. Until then: Could you please provide an example file here that we can use to reproduce the problem? The Moodle XML format seems to be good for this. I'll get back to you then. Andrew

— Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjsxgraph%2Fmoodle-filter_jsxgraph%2Fissues%2F25%23issuecomment-1056889467&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cf77d0dbdc24e4265a92508d9fc4a7342%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637818218968280135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=nnSWc6gcy9eocEzGhX73MRsscljC2CfRTG7k0XxbLK4%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACHLNJRNB53F6YSRPL7AMRLU55PEBANCNFSM5PUFVN2A&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cf77d0dbdc24e4265a92508d9fc4a7342%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637818218968280135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=0gGTCqrPhMb%2B16N0JoYVBmuvONudoo5zGzMzWF4LF2A%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cf77d0dbdc24e4265a92508d9fc4a7342%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637818218968280135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Cg6viGoiuPr3e9on9CHYmIPp1Fh0syxddatcxvmvL%2B0%3D&reserved=0 or Androidhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cf77d0dbdc24e4265a92508d9fc4a7342%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637818218968280135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aUG1jTvZgJBadJRSYW%2FOc5Bs5AVo8kNWp%2F5G8XX1le4%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

andreas-web commented 2 years ago

Dear Paul!

Do you meanwhile have an example file for me so that I can reproduce your problem. I've just had a closer look at your question and the fact that you're using STACK might mean I can't help you further. We are not involved in the creation of STACK and have no influence on it.

But I can only say more precisely when I have seen an example. It always depends on HOW you create the questions.

Best regards, Andreas

paulraper commented 2 years ago

Hi Andreas,

Thank you for reminding me of this, indeed, I have included a link to my Nexcloud repository, you should be able to download and then restore the backup file exactly as I have in in our Moodle.

We are currently running 3.11 with a postgres database.

Question three should look like this: @. But in a course where the quiz is backed up and restored, for example, it looks like this: @.

The link to the cloud is as follows: https://e-lernplattform.ch/nextcloud/index.php/s/GJyFdj7yXkiDyXM

I should be interested to know what you think the problem could be.

Best regards,

Paul

Fachhochschule Nordwestschweiz School of Engineering Institute of Humanities and Social Sciences.

Mr Paul Raper MIET. AMCABE MSc TESP/TESOL MAS E-Learning and Knowledge Management Room 5.1C08 Bahnhofstrasse 5 5210 Windisch HST First Level Support Main and e-Assessment Moodle, SwitchTube Support and Turnitin. FHNW First level Mahara Support - E-Portfolio Product Owner. Moodle Super-User MSE

T +41 56 202 77 00 (Zentrale) T +41 56 202 81 71 (Direkt) M +41 79 263 93 62

[Skype: raperple]

@.**@.> www.fhnw.ch/engineeringhttp://www.fhnw.ch/engineering www.fhnw.ch/personen/paul-raperhttp://www.fhnw.ch/personen/paul-raper https://fhnw.webex.com/meet/paul.raper ORCID iD @.***

@. @. @. @.http://www.turnitin.com/de/home @.***

@.**@*.**@*.**@.[Graphical user interface, text Description automatically generated] [Logo Description automatically generated][Logo Description automatically generated with low confidence][A picture containing text, sign, vector graphics Description automatically generated]

From: Andreas W. @.> Sent: 14 March 2022 13:14 To: jsxgraph/moodle-filter_jsxgraph @.> Cc: Paul Raper @.>; Author @.> Subject: Re: [jsxgraph/moodle-filter_jsxgraph] When you copy over a set of quiz questions in Moodle, the graph does not display. (Issue #25)

Dear Paul!

Do you meanwhile have an example file for me so that I can reproduce your problem. I've just had a closer look at your question and the fact that you're using STACK might mean I can't help you further. We are not involved in the creation of STACK and have no influence on it.

But I can only say more precisely when I have seen an example. It always depends on HOW you create the questions.

Best regards, Andreas

- Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjsxgraph%2Fmoodle-filter_jsxgraph%2Fissues%2F25%23issuecomment-1066714374&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cbc06e61f112747d06c4208da05b42568%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637828568529187269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ipgYKX2Z1Ml8%2BwEmp0vKAzQiKFOZlA9ZzvoC5drI4RI%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACHLNJWXAP5YP6FL6BSRPXTU74UQ5ANCNFSM5PUFVN2A&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cbc06e61f112747d06c4208da05b42568%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637828568529187269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YXNZCq8xc%2B5o9k%2B769YU6fQeee9QZDTjSpZBVrhXpgg%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cbc06e61f112747d06c4208da05b42568%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637828568529187269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6VTw9JTYGrY1vVNGhlWDwjUOmIGI7HuJ0hLCQjTu%2Fic%3D&reserved=0 or Androidhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cbc06e61f112747d06c4208da05b42568%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637828568529187269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=C4GwgRwZnsYAj%2FmJLzQb41Hgxv8ovlJiIYVTHF%2Ff0%2Fk%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

paulraper commented 2 years ago

Dear Andreas,

Did that work ok with getting the file?

Best,

Paul

Fachhochschule Nordwestschweiz School of Engineering Institute of Humanities and Social Sciences.

Mr Paul Raper MIET. AMCABE MSc TESP/TESOL MAS E-Learning and Knowledge Management Room 5.1C08 Bahnhofstrasse 5 5210 Windisch HST First Level Support Main and e-Assessment Moodle, SwitchTube Support and Turnitin. FHNW First level Mahara Support - E-Portfolio Product Owner. Moodle Super-User MSE

T +41 56 202 77 00 (Zentrale) T +41 56 202 81 71 (Direkt) M +41 79 263 93 62

[Skype: raperple]

@.**@.> www.fhnw.ch/engineeringhttp://www.fhnw.ch/engineering www.fhnw.ch/personen/paul-raperhttp://www.fhnw.ch/personen/paul-raper https://fhnw.webex.com/meet/paul.raper ORCID iD @.***

@. @. @. @.http://www.turnitin.com/de/home @.***

@.**@*.**@*.**@.[Graphical user interface, text Description automatically generated] [Logo Description automatically generated][Logo Description automatically generated with low confidence][A picture containing text, sign, vector graphics Description automatically generated]

From: Andreas W. @.> Sent: 14 March 2022 13:14 To: jsxgraph/moodle-filter_jsxgraph @.> Cc: Paul Raper @.>; Author @.> Subject: Re: [jsxgraph/moodle-filter_jsxgraph] When you copy over a set of quiz questions in Moodle, the graph does not display. (Issue #25)

Dear Paul!

Do you meanwhile have an example file for me so that I can reproduce your problem. I've just had a closer look at your question and the fact that you're using STACK might mean I can't help you further. We are not involved in the creation of STACK and have no influence on it.

But I can only say more precisely when I have seen an example. It always depends on HOW you create the questions.

Best regards, Andreas

- Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjsxgraph%2Fmoodle-filter_jsxgraph%2Fissues%2F25%23issuecomment-1066714374&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cbc06e61f112747d06c4208da05b42568%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637828568529187269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ipgYKX2Z1Ml8%2BwEmp0vKAzQiKFOZlA9ZzvoC5drI4RI%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACHLNJWXAP5YP6FL6BSRPXTU74UQ5ANCNFSM5PUFVN2A&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cbc06e61f112747d06c4208da05b42568%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637828568529187269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YXNZCq8xc%2B5o9k%2B769YU6fQeee9QZDTjSpZBVrhXpgg%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cbc06e61f112747d06c4208da05b42568%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637828568529187269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6VTw9JTYGrY1vVNGhlWDwjUOmIGI7HuJ0hLCQjTu%2Fic%3D&reserved=0 or Androidhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Cbc06e61f112747d06c4208da05b42568%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637828568529187269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=C4GwgRwZnsYAj%2FmJLzQb41Hgxv8ovlJiIYVTHF%2Ff0%2Fk%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

andreas-web commented 2 years ago

Unfortunately, the restore does not work. According to a quick internet search, a question type is missing in my Moodle installation. Can you perhaps first export just two standalone questions from the question bank in XML format and send them to me? Incidentally, you can also attach the files directly here in GitHub.

paulraper commented 2 years ago

Hi Andreas,

I'll take a look and do as you request.

Best,

Paul

Fachhochschule Nordwestschweiz School of Engineering Institute of Humanities and Social Sciences.

Mr Paul Raper MIET. AMCABE MSc TESP/TESOL MAS E-Learning and Knowledge Management Room 5.1C08 Bahnhofstrasse 5 5210 Windisch HST First Level Support Main and e-Assessment Moodle, SwitchTube Support and Turnitin. FHNW First level Mahara Support - E-Portfolio Product Owner. Moodle Super-User MSE

T +41 56 202 77 00 (Zentrale) T +41 56 202 81 71 (Direkt) M +41 79 263 93 62

[Skype: raperple]

@.**@.> www.fhnw.ch/engineeringhttp://www.fhnw.ch/engineering www.fhnw.ch/personen/paul-raperhttp://www.fhnw.ch/personen/paul-raper https://fhnw.webex.com/meet/paul.raper ORCID iD @.***

@. @. @. @.http://www.turnitin.com/de/home @.***

@.**@*.**@*.**@.[Graphical user interface, text Description automatically generated] [Logo Description automatically generated][Logo Description automatically generated with low confidence][A picture containing text, sign, vector graphics Description automatically generated]

From: Andreas W. @.> Sent: 15 March 2022 12:58 To: jsxgraph/moodle-filter_jsxgraph @.> Cc: Paul Raper @.>; Author @.> Subject: Re: [jsxgraph/moodle-filter_jsxgraph] When you copy over a set of quiz questions in Moodle, the graph does not display. (Issue #25)

Unfortunately, the restore does not work. According to a quick internet search, a question type is missing in my Moodle installation. Can you perhaps first export just two standalone questions from the question bank in XML format and send them to me? Incidentally, you can also attach the files directly here in GitHub.

- Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjsxgraph%2Fmoodle-filter_jsxgraph%2Fissues%2F25%23issuecomment-1067903430&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Ce730db566be04c64d8e108da067b1503%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637829422945781752%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9oqOBmFTkE%2FqrSh52gsUa%2F702FIS5vUF6s3emhdFgoQ%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACHLNJXQPMNC3672HPSWMJDVAB3NDANCNFSM5PUFVN2A&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Ce730db566be04c64d8e108da067b1503%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637829422945781752%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6bnP0XrG0a8gQzWz6XwbVME87G39%2F%2BuzjJSSfvudKec%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Ce730db566be04c64d8e108da067b1503%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637829422945781752%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BretDgCf9X%2B6VPw9Ki0wTXAM%2B0xUqMk5bwdRJZfGPTs%3D&reserved=0 or Androidhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cpaul.raper%40fhnw.ch%7Ce730db566be04c64d8e108da067b1503%7C9d1a5fc8321e4101ae63530730711ac2%7C0%7C0%7C637829422945781752%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Zzv2lmQl1i73ZYqSTDHTnCzXSvMpWGZLcCXqVuswyW4%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

andreas-web commented 2 years ago

Have you found out anything new about the error yet?

andreas-web commented 1 year ago

Please reopen issue if the problem still exists!