openzim / openzim/javascript-libzim

Fix failure to load split ZIM archives

Open
#16 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug build help wanted
Dominant language
JavaScript
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

As mentioned in https://github.com/kiwix/kiwix-js/pull/934, an error is thrown when attempting to load split ZIM archives in the wasm build. Mossroy had also mentioned this somewhere.

image

It would be great to have any thoughts on whether this issue is inherent in the parts of libzim that have been exposed here, or whether it has something to do with the way in which the archives parts are being presented to the WASM. The issue may well be in the wrapper code. Who might have some insight into this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the failure described in the issue and the linked kiwix-js pull request 934, then trace how split ZIM archive parts are exposed to the WASM build through the JavaScript wrapper. Determine whether the problem lies in libzim's exposed interfaces or in presenting archive parts to WASM. Done means split ZIM archives load successfully in the WASM build.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wasm
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.