wp1 icon indicating copy to clipboard operation
wp1 copied to clipboard

ZIM status polling from Selection list page seems broken

Open audiodude opened this issue 9 months ago • 5 comments

I'm seeing requests in the console for:

127.0.0.1 - - [23/Mar/2025 09:54:09] "GET /v1/builders/undefined/zim/status HTTP/1.1" 200 -

Obviously undefined should be the ID of the builder. This means that if a user is watching the Selection list page, their ZIM file will never update as "finished" unless they refresh the page.

Likely something to do with ID space changes in the Vue files.

audiodude avatar Mar 23 '25 16:03 audiodude

Hey, I am well versed with VueJS and can help with this issue can you assign it to me.

Jyo561 avatar Mar 24 '25 09:03 Jyo561

We don't assign issues, but feel free to submit a PR.

audiodude avatar Mar 25 '25 16:03 audiodude

@audiodude Worrying... and I guess this does not happen all the time, so not easy to reproduce :(

kelson42 avatar Mar 25 '25 18:03 kelson42

I would say it's minor. It doesn't affect the actual processing of the ZIM, just the status displayed in the UI. And if you refresh the page once the ZIM is ready, you get the proper download link. It's also mitigated by the fact that ZIM creating takes about a half hour, so it's questionable if people are staring at that page for that long.

audiodude avatar Mar 25 '25 18:03 audiodude

I can confirm it happens fairly systematically and that refreshing the page does the trick.

Popolechien avatar Mar 26 '25 09:03 Popolechien