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

europa_universalis_iv_en is failing with Cannot read properties of undefined (reading 'general') #2161

Open
benoit74 opened this issue Feb 14, 2025 · 0 comments
Labels

Comments

@benoit74
Copy link
Contributor

Recipe: https://farm.openzim.org/recipes/europa_universalis_iv_en

Logs:

starting redis-server in the background…
[log] [2025-02-14T13:31:50.837Z] Starting mwoffliner v1.14.1...
[info] [2025-02-14T13:31:50.842Z] Using custom flavour: no
[log] [2025-02-14T13:31:51.374Z] Successfully logged in S3
[log] [2025-02-14T13:31:51.381Z] Getting text direction...
[log] [2025-02-14T13:31:51.382Z] Getting site info...
[log] [2025-02-14T13:31:51.383Z] Getting sub-title...
[info] [2025-02-14T13:31:51.385Z] Downloading [https://eu4.paradoxwikis.com//]
[info] [2025-02-14T13:31:51.391Z] Getting JSON from [https://eu4.paradoxwikis.com//api.php?action=query&meta=siteinfo&format=json&formatversion=2&siprop=general%7Cnamespaces%7Cstatistics%7Cvariables%7Ccategory%7Cwikidesc]
[info] [2025-02-14T13:31:51.395Z] Downloading [https://eu4.paradoxwikis.com//]
[error] [2025-02-14T13:31:51.447Z] FATAL - Failed to get MediaWiki Metadata
[error] [2025-02-14T13:31:51.448Z] Failed to run mwoffliner after [2s]: {
	"stack": "TypeError: Cannot read properties of undefined (reading 'general')\n    at MediaWiki.getSiteInfo (file:///tmp/mwoffliner/lib/MediaWiki.js:354:36)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 1)\n    at async MediaWiki.getMwMetaData (file:///tmp/mwoffliner/lib/MediaWiki.js:405:81)\n    at async Module.execute (file:///tmp/mwoffliner/lib/mwoffliner.lib.js:112:22)",
	"message": "Cannot read properties of undefined (reading 'general')"
}
[error] [2025-02-14T13:31:51.448Z] 

**********

Cannot read properties of undefined (reading 'general')

**********

I've double-checked paths and they seems to all be correctly configured, to be investigated

@benoit74 benoit74 added the bug label Feb 14, 2025
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

1 participant