France-ioi / taskgrader

This simple tool manages every step of grading a contest task, from the generation of test data to the grading of a solution output
MIT License
13 stars 3 forks source link

Taskgrader change not updating in edX #103

Closed AadhyaKocha closed 2 years ago

AadhyaKocha commented 2 years ago

I tried updating a task statement in Taskgrader to update an edX quiz. Weirdly, I was able to push the new code and update it on Cspace but when I press save and import in Taskgrader and it goes to the Task Importer tab, I get the error that there is no index.html found. This also does not let the edX quiz get updated. Screenshot 2022-01-20 at 4 39 33 PM However, in Task Manager the index.html is still there. It is also weird because I don't think it should be trying an SVN checkout. This issue is also not task specific but is occurring for all the quizzes on TaskGrader.

mblockelet commented 2 years ago

Hi,

I can confirm the issue. A workaround for now is to click on "Display full interface", then "Use normal username / password authentication", then use github credentials (username + a token from https://github.com/settings/tokens).

I'm very busy right now so I don't have time to look into it right now, but I'll try to find some time in the next few days.

AadhyaKocha commented 2 years ago

hi @mblockelet No worries about fixing it in a few days. Can I ask where the option is for "Display Full Interface"? I couldn't find it on Taskgrader or on edX studio or live version.

mblockelet commented 2 years ago

Hello,

Sorry for the delay, I hadn't seen your message and forgot about the issue. I fixed it now, so it should work directly.

About the workaround, I just realized from your screenshot that the button "Display Full Interface" isn't displayed when the top navbar is over two lines, as the second line covers the button. Note that the embedded frame is https://svnimport.france-ioi.org/, so in case of issue you can access it through there (however you need to enter all the information of course).