-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Zimfarm task should fail if upload fails #192
Comments
Ah and when trying to download https://mirror.download.kiwix.org/zim/.hidden/dev/wearesaudis.com_ar_all_2024-05.zim I get a 404 error. |
Having a space at the beginning of ZIM name is probably not a good idea 🤷🏻♂️ Proper download link is https://mirror.download.kiwix.org/zim/.hidden/dev/%20wearesaudis.com_ar_all_2024-05.zim This emphasis again the need to put much stronger constraints on ZIM names ^^ |
But proper link also gives a 404 ... looks like ZIM is lost somewhere |
Upload of the ZIM simply failed:
ZIM is simply gone ... Please fix the recipe and run it again |
Closing this as "won't fix" since this is not supposed to happen and the proper solution to avoid this to happen is tracked in openzim/zimfarm#783 anyway |
Re-opening this ticket as I get the same issue with https://farm.openzim.org/pipeline/1e280982-39dd-4844-892f-d164e5df1204 (my second run actually, recipe is here: https://farm.openzim.org/recipes/bmi.gv.at_de_all ) |
@Popolechien ZIM files containing spaces are not allowed in the zimfarm (cannot be uploaded). See ZIMs-Naming-Convention. |
@rgaudin @benoit74 The answer given to @Popolechien seems to short IMHO. If a ZIM file can not be handled in the library, we need a clear error, even if the root cause is somewhere around a scraper or a recipe. |
Maybe the solution is to put a task in fail status if ZIM file(s) are not successfuly uploaded? |
The zimfarm clearly shows that it created a ZIM but did not upload it. Hence the ticket. |
We already have a ticket for this |
What is there to do at infra level (this is k8s repo) about this? |
@rgaudin It does not sound wrong to open this issue here at first. If the discussion leads to an agreement that something has to be changed in Zimfarm then we will move it obviously. We don't have reached this stage yet IMHO. Many reasons can lead to an upload failure, the closed tickets at Zimfarm give many examples. It is misleading to let believe the Zimfarm user that things wen well. @benoit74 Could we agree on this? |
The fact that Zimfarm task should fail if upload fails is already tracked in openzim/zimfarm#684 The fact that we should prevent to create ZIM file with bad names is tracked in openzim/zimfarm#783 I'm strongly supportive of these two issues, one of them is prio1 (will be solved soon hopefully), the other one seems to still be a the "question" stage. I don't see what's left to be done at kiwix/operations side. |
I created a zim file in arabic whose run is now complete but it fails to appear in dev.library.kiwix.org
Not sure it's related to #181 one way or the other, but here we are.
The text was updated successfully, but these errors were encountered: