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

mwoffliner dev missing article in error message #2009

Open
tim-moody opened this issue Mar 21, 2024 · 4 comments
Open

mwoffliner dev missing article in error message #2009

tim-moody opened this issue Mar 21, 2024 · 4 comments
Assignees
Milestone

Comments

@tim-moody
Copy link
Contributor

running docker mwoffliner-dev against mdwiki.org with medicine.tsv list I get

[error] [2024-03-20T17:31:00.314Z] Unable to retrieve js/css dependencies for article '[object Object]': internal_api_error_MWException

[object Object] looks like an unassigned variable

I can supply the full log if it helps. (was too large for pastebinit)

@tim-moody
Copy link
Contributor Author

To be clear, the mwoffliner I am running is ghcr.io/openzim/mwoffliner:dev

The log says Starting mwoffliner v1.13.0...

@kelson42
Copy link
Collaborator

kelson42 commented Apr 7, 2024

@tim-moody What is your exact command?

@kelson42 kelson42 added this to the 1.14.0 milestone Apr 7, 2024
@tim-moody
Copy link
Contributor Author

mwoffliner
--adminEmail="info@iiab.me"
--articleList="http://offline.mdwiki.org/nonwiki/lists/mdwikimed.tsv"
--customMainPage="App/IntroPage"
--customZimTitle="MDWiki Medical Encyclopedia"
--customZimDescription="Collection of Healthcare Content mdwiki.org."
--customZimFavicon="https://en.wikipedia.org/static/images/project-logos/enwiki.png"
--filenamePrefix="mdwiki_en_all"
--format="novid:maxi" --format=""
--mwUrl="https://mdwiki.org/"
--osTmpDir="/dev/shm"
--outputDirectory="/output"
--requestTimeout="300"
--speed="1"
--webp
--verbose

The article list has changed since this was run.

@tim-moody
Copy link
Contributor Author

Here is a piece of the log

root@iiab-content:/Scrapes/mwoffliner-dev# grep Object failed-2024-03-21.log
[info] [2024-03-21T14:23:45.341Z] Getting JSON from [https://mdwiki.org/w/api.php?action=query&format=json&prop=redirects%7Crevisions%7Ccoordinates&rdlimit=max&rdnamespace=0%7C3000%7C3002&redirects=true&formatversion=2&titles=Ober%27s_test%7CObesity_and_fertility%7CObesity_in_Brazil%7CObesity_in_China%7CObesity_in_the_Republic_of_Ireland%7CObesity_medicine%7CObesity_paradox%7CObesogen%7CObetrol%7CObex%7CObexelimab%7CObicetrapib%7CObicularis_oculi%7CObidoxime%7CObject_recognition_%28cognitive_science%29%7CObjective_structured_clinical_examination%7CObligate_aerobe%7CObligate_anaerobe%7CObligate_carrier%7CObligate_nasal_breathing%7CObligatory_synergies%7COblimersen%7COblique_arytenoid%7COblique_arytenoid_muscle%7COblique_arytenoid_muscles%7COblique_auricular_muscle%7COblique_auricular_muscles%7COblique_cord%7COblique_cords%7COblique_dendrite%7COblique_dendrites%7COblique_fissure%7COblique_fissures%7COblique_line_of_the_thyroid_cartilage%7COblique_line_of_the_thyroid_cartilages%7COblique_line_of_thyroid_cartilage%7COblique_lines_of_the_thyroid_cartilage%7COblique_lines_of_the_thyroid_cartilages%7COblique_lines_of_thyroid_cartilage%7COblique_lines_of_thyroid_cartilages%7COblique_muscle%7COblique_muscle_of_abdomen%7COblique_muscle_of_auricle%7COblique_muscle_of_auricles%7COblique_muscle_of_eye%7COblique_muscle_of_the_abdomen%7COblique_muscle_of_the_auricle%7COblique_muscle_of_the_auricles%7COblique_muscle_of_the_eye%7COblique_muscles&colimit=max]
[error] [2024-03-21T14:59:49.713Z] Unable to retrieve js/css dependencies for article '[object Object]': missingtitle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants