Missing images in Perseus exercises when the mastery model is changed on Studio
See original GitHub issueObserved behavior
(continues after #6564)
Since it was impossible to update the channel with the exercises whose mastery model I changed on Studio, when I deleted it and imported again from scratch, I got various 404 errors and missing images in the affected exercises.
Issue is confirmed by testing this workflow on two different Windows VMs, so not a fluke.
Could that be because of the mastery model change? In the same channel I have a control exercise with the unchanged mastery model, and no 404 errors in it… 🤔
Exercises are from Counting
topic on KA English imported to my testing channel nakav-mafak
.
Expected behavior
Correctly displayed images in exercises.
User-facing consequences
Inability to interact with the exercises
Errors and logs
No errors on Studio, and initially I only saw the usual 404 on an image inside the zipcontent (we’ve seen these Perseus errors before), and another error which appears intermittently:
TypeError: "state.core.logging.attempt.interaction_history is undefined"
currentInteractions index.vue:181
key vuex.esm.js:836
VueJS 3
beforeDestroy index.vue:270
invokeWithErrorHandling VueJS
vue.runtime.esm.js:1888:12
VueJS 37
SET_EMPTY_LOGGING_STATE logging.js:
Data load failed: http://127.0.0.1:8080/zipcontent/c9ad888fe4d4f271c15272f08b9128a1.perseus/images/cd7b86152d1ff093ac300a13e207d33ff159ef9e-data.json undefined
@jayoshih wrote:
Those are referencing certain svg/json information embedded in the perseus files, so it seems more related to the zips being generated than the mastery model change. It could be that something broke at some point, and the change in mastery model caused the zips to be regenerated
Steps to reproduce
Import the exercises from the KA EN sub-topic in the channel with nakav-mafak
token.
Context
- Kolibri version: 0.13.1b2
- Operating system: Windows 7 & 10
- Browser: Firefox & Chrome
cc @indirectlylit to review the labels and the milestone
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
Thank you for testing @pcenov & @metodimilevqa! 💯 As suspected, issue is long gone, will close it now!
@radinamatic @metodimilevqa Could you see if this is still an issue on the latest versions of Kolibri + Studio