-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
English Wikivoyage run overdue (time sensitive) #1129
Comments
I will relaunch it with version dev (1.14.0) of MWoffliner, but we will have a ZIM which will be arounf 30% bigger, this is currently a regression we try to fix. |
@kelson42 Thank you. Let's see... |
The resulting ZIM size is fine at 875MB. However it breaks our Restricted mode (aka JQuery mode) because it has all the sections set with attribute This issue has been a longstanding one that was partially fixed: see openzim/mwoffliner#962, openzim/mwoffliner#838, openzim/mwoffliner#952 and (related) openzim/mwoffliner#1033. Another closely related: openzim/mwoffliner#1915. This regression (but it's worse, see next paragraph) has crept back in probably with the new endpoint. The logic should be: the HTML has all sections open by default, and they should only be closed by a script that will run when JS is enabled. This makes the most accessible ZIM type for mwOffliner. The regression is much worse now because each whole section containing a details-summary block is now hidden, instead of the block itself being closed. It should never use inline @kelson42, @audiodude Where should I report this regression? In mwOffliner Repo or wp1? I can work around this in the reader for the upcoming Wikivoyage release with a temporary patch to force-unhide, but it should be fixed in the scraper for a more universal solution. |
@Jaifroid We won't provide collapsablible sections anymore as this was a feature of older "mobile-section" API. This seems therefore some kind of leftover which shoukd be removed IMHO. Please open tocket in MWoffliner. |
@kelson42 OK. I suppose openzim/mwoffliner#1915 should be closed as won't fix in that case. I mean, it's not hard to substitute the sections and headers for detail-summary tags in case there's any desire to keep that feature, but to be honest I never found it useful to have all the sections closed, even in the mobile version. |
@kelson42 The English Wikivoyage recipe has been running on Is there anything we can do about this? I'm keen to get a new Wikivoyage out especially because the last version had some issues in KJS / PWA that I hadn't fully caught and now they are fixed, so it would be a buch better UX than the currently published app version. I looked at the logs on https://farm.openzim.org/pipeline/53d49603-fd60-4933-b7f3-5b8130b29805/debug, and the failure seems to be reported as:
|
This doesn't look like a problem with
Looks bad. I'll try running it locally and see if I can send you a ZIM. |
It ran fine for me on 1.14-dev. Here's the ZIM: https://www.dropbox.com/scl/fi/idcb6c96gzigmc5mcm45x/wikivoyage_en_all_maxi_2024-10.zim?rlkey=e5q52jymxxa5fu316edl3bwit&st=l2wjaik0&dl=0 This is clearly some kind of operational/environment issue with zimfarm. |
At least Could it be that the container itself has improper ntc clock and get slowly skewed as it progress?I don't think so, it seems weird a container can "loose" ~20 mins during a 3 hours job. What I see in the logs are many message like To me this is the root cause of the problem, and it is a software bug. I understand this message as the software has started many HTTP requests and they are getting delayed. And hence the skew time between request time and server time from my PoV. Classic async issue in Node.JS from my PoV, where one can easily get bitten by all this asynchronous logic which has many advantages but some drawbacks. And of course this problem occur randomly since it depends on your connectivity with the upstream. Travis connectivity to AWS is probably better than the connectivity from I'll open another issue to track this problem. |
Upstream issue: openzim/mwoffliner#2092 |
Thanks, guys, for diagnosing this, and @audiodude for the updated ZIM file. I've downloaded and done some quick tests on this, and it looks fine. Would anyone have any objections to my uploading it to download.kiwix.org (Wikivoyage folder) so I can build the Wikivoyage app (via GH Actions)? |
No objection on my side. |
OK, it seems my credentials only give me access to the nightly and release directories (for software), but not to the zim directory, so I can't in fact upload the new Wikivoyage ZIM to download.kiwix.org. @benoit74 Is this something you could kindly do for me? The ZIM to upload to |
File is available in production at https://download.kiwix.org/zim/wikivoyage/wikivoyage_en_all_maxi_2024-10.zim It will soon be automatically indexed in the catalog. |
@benoit74 Thank you very much indeed! |
The periodicity of the ZIM Farm recipe https://farm.openzim.org/recipes/wikivoyage_en_all is set to monthly, but the last run was 16th June 2024.
Ideally, I need a new version for the Wikivoyage by Kiwix app update before the code-signing certificate expires in a couple of weeks... (to buy time in adapting to the new code-signing reigime). Thanks.
The text was updated successfully, but these errors were encountered: