Hello prodi.gy community ![]()
I am experiencing a weird error I’m not sure about its source.
Since I updated from 1.16 to 1.18 (same error with 1.17) I have the following issue:
Often no task details are available in the UI for the current example. This also happens when I rerun with the same dataset, so that sometimes an example has task details and sometimes it doesn’t.
The missing details result in my custom UI not rendering correctly.
When I start the Application with my custom recipe no prodigymount event is triggered (or not visible in the console) . When I answer the first question the console shows the following:
![]()
Note here the detail: null
Sometimes there are examples with the necessary detail (so basically the example itself) to render everything. In those cases prodigyupdate and prodigyanswer are triggered multiple times (up to 13 times per example).
What works is showing the text of the current example in the html I have to the left side of the UI.
With some debugging I came to the Idea, that prodigy might trigger the “prodigyupdate” event, before the stream is fully casted. Is that possible? Were there any changes in that regard since 1.16?
Thats the JS I use to listen to the event:
document.addEventListener("prodigyupdate", event => {
console.log("prodigyupdate", event);
this.setProdigyTaskConfig(event.detail.task);
});
after which I render my Interface:
setProdigyTaskConfig(taskConfig) {
this.#taskConfig = taskConfig;
this.#render();
}
I hope I gave enough detail to the problem. If there Is any other thing I could provide please let me know.
Thanks in advance!

