Skip to content
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

Zimcheck failing for some articles #1931

Closed
VadimKovalenkoSNF opened this issue Oct 17, 2023 · 2 comments
Closed

Zimcheck failing for some articles #1931

VadimKovalenkoSNF opened this issue Oct 17, 2023 · 2 comments
Assignees
Labels
Milestone

Comments

@VadimKovalenkoSNF
Copy link
Collaborator

I noticed that zimcheck throws an error for some articles for different renders. There are a few examples to reproduce:

  1. Scrape article Canada from en.wikipedia.org using WikimediaDesktop render and run zimcheck on it:
  • npm start -- --mwUrl=https://en.wikipedia.org --adminEmail=mail@mail.com --articleList=Canada --forceRender=WikimediaDesktop

  • <your-path-to-zimcheck>/zimcheck <your-path-to-zim-out-folder>/wikipedia_en_canada_2023-10.zim

    Got error:

[ERROR] Invalid internal links found:
  The following links:
- ../-/File:&quot;O_Canada&quot;,_performed_by_the_United_States_Third_Marine_Aircraft_Wing_Band.oga-bg.vtt
(-/File:&quot;O_Canada&quot;,_performed_by_the_United_States_Third_Marine_Aircraft_Wing_Band.oga-bg.vtt) were not found in article A/Canada
  1. Scrape article User:Kelson/MWoffliner_CI_reference from en.wikipedia.org using WikimediaMobile render and run zimcheck on ti:
  • npm start -- --mwUrl=https://en.wikipedia.org --adminEmail=mail@mail.com --articleList=User:Kelson/MWoffliner_CI_reference --forceRender=WikimediaMobile

  • <your-path-to-zimcheck>/zimcheck <your-path-to-zim-out-folder>/wikipedia_en_mwoffliner_ci_reference_2023-10.zim

    Got error:

[ERROR] Invalid internal links found:
  The following links:
- ../-/wm_mobile_override_script.js
(A/-/wm_mobile_override_script.js) were not found in article A/User:Kelson/MWoffliner_CI_reference
@kelson42
Copy link
Collaborator

@VadimKovalenkoSNF This is an upstream bug with zimcheck. See openzim/zim-tools#378.

@kelson42 kelson42 changed the title zimcheck failing for some articles Zimcheck failing for some articles Oct 29, 2023
@kelson42 kelson42 added this to the 2.0.0 milestone Oct 29, 2023
@kelson42
Copy link
Collaborator

Upstream ticket has been fixed and zim-tools 3.3.0 have been released. Bug fixed.

@kelson42 kelson42 modified the milestones: 2.0.0, 1.14.0 Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants