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

All images are missing in ZIM #2088

Open
benoit74 opened this issue Sep 23, 2024 · 5 comments
Open

All images are missing in ZIM #2088

benoit74 opened this issue Sep 23, 2024 · 5 comments
Labels
Milestone

Comments

@benoit74
Copy link
Contributor

This week-end we ran the dev Docker image on a MediaWiki and resulting ZIM seems to have no image at all.

ZIM online: https://dev.library.kiwix.org/viewer#psychonautwiki_en_all_maxi_2024-09/

Zimfarm recipe: https://farm.openzim.org/recipes/psychonautwiki_en_all

ZIM request: openzim/zim-requests#634

Sorry if this is a duplicate (I didn't found such a precise issue in the backlog), but this might be an interesting issue for you since MediaWiki is quite small and all images seems to be broken.

@audiodude
Copy link
Member

Sorry if this is a naive observation, but when I go to the config tab of that Zimfarm recipe I see:

format | [ "nopic:nopic", "novid:maxi" ]

Does that make a difference?

@kelson42 kelson42 added this to the 1.14.0 milestone Sep 24, 2024
@kelson42
Copy link
Collaborator

kelson42 commented Sep 24, 2024

There is a problem indeed
image

Very interesting at https://dev.library.kiwix.org/viewer#psychonautwiki_en_all_maxi_2024-09/ because first picture is there but not the others.

My best guess:

  • There a particularism on this wiki
  • Shoukd be easy to fix.

@kelson42 kelson42 removed the question label Sep 24, 2024
@benoit74
Copy link
Contributor Author

format | [ "nopic:nopic", "novid:maxi" ]
Does that make a difference?

This means (sorry if you already know that, but your question is unclear so I prefer to give too much info) that we want two ZIMs, nopic without pictures (this one is OK) and novid (aliased to maxi) without videos (this is the broken one).

Having both formats in a single run is supposed to work well (but could be the source of the issue, didn't tried to reproduce with only novid)

@audiodude
Copy link
Member

Running the command from zimfarm on 1.14-dev, I get a lot of:

[info] [2024-09-25T00:08:47.941Z] Getting JSON from [https://psychonautwiki.org/w/api.php?action=query&format=json&prop=redirects%7Crevisions%7Ccoordinates&rdlimit=max&rdnamespace=0&formatversion=2&colimit=max&rawcontinue=true&generator=allpages&gapfilterredir=nonredirects&gaplimit=max&gapnamespace=0&gapcontinue=MiPLA&rdcontinue=Stomach_cramp%7C16614]
[warn] [2024-09-25T00:08:49.108Z] Got warning from MW Query {
	"main": {
		"warnings": "Unrecognized parameter: colimit."
	},
	"query": {
		"warnings": "Unrecognized value for parameter \"prop\": coordinates"
	}
}

Not sure if this is a problem (it's in the logs as just a warning).

@kelson42
Copy link
Collaborator

@audiodude unrelated.

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

3 participants