openzim / zim-requests

Want a new ZIM file? Propose ZIM content improvements or fixes? Here you are!
https://farm.openzim.org
38 stars 2 forks source link

New request: Encyclopedia of math #964

Open DmitriyAvdeev opened 5 months ago

DmitriyAvdeev commented 5 months ago

Please use the following format for a ZIM creation request (and delete unnecessary information)

RavanJAltaie commented 4 months ago

Recipe created https://farm.openzim.org/recipes/encyclopediaofmath.org_en_all I'll update the library file once ready

Popolechien commented 4 months ago

Duplicate of #92 (they say they have moved and updated their site, so the request was legit) but @RavanJAltaie can you please make sure that we don't have two recipes pointing at the same site?

RavanJAltaie commented 4 months ago

@benoit74 the recipe failed with the error below:

(node:13) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
[error] [2024-05-08T08:59:50.796Z] Failed to run mwoffliner after [4s]: {
    "stack": "Error: Input buffer contains unsupported image format",
    "message": "Input buffer contains unsupported image format"
}
[error] [2024-05-08T08:59:50.796Z] 

**********

Input buffer contains unsupported image format

**********

I didn't but an image in the recipe, what does that mean?

benoit74 commented 4 months ago

This looks like a scraper bug, or at least I can't tell what's wrong with your recipe configuration.

I will open a ticket on upstream.

benoit74 commented 4 months ago

The problem is that the logo detected in MediaWiki configuration is in fact not available.

Please set a "ZIM favicon" in the recipe configuration, this will workaround the bug (no need at all to do it on all recipes, just this one where the MediaWiki instance seems to have an issue and the workaround is mostly straightforward).