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

Why alecexposed.org is complaining about No available desktop renderer.? #2090

Open
benoit74 opened this issue Oct 5, 2024 · 2 comments
Open

Comments

@benoit74
Copy link
Contributor

benoit74 commented Oct 5, 2024

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

The last task (ran with dev right now, see close to a 1.14) fails with No available desktop renderer..

I don't get why, because all prerequisites are ok:

Working: https://www.alecexposed.org/w/api.php?action=parse&format=json&prop=text|modules|jsconfigvars|headhtml&formatversion=2&page=ALEC_Bills

Working with warning Unrecognized parameter: parsoid: https://www.alecexposed.org/w/api.php?action=parse&format=json&prop=text|modules|jsconfigvars|headhtml&formatversion=2&page=ALEC_Bills&parsoid=1

@audiodude
Copy link
Member

I added some logging and I'm getting the following:

====== Error checking API availability: https://www.alecexposed.org/api/rest_v1/page/html/ALEC_Exposed
====== Error checking API availability: https://www.alecexposed.org/api/rest_v1/page/mobile-html/ALEC_Exposed
====== Error checking API availability: https://www.alecexposed.org/w/rest.php/v1/page/ALEC_Exposed/html

In fact all of those URLs are 404s.

So I'm not sure if the site is misconfigured and the endpoints are not enabled, or if mwoffliner is misconfigured and we're not looking for them in the right places.

As far as "ActionParse API", I don't see any references to that in the mwoffliner code and I'm not sure it's an API we work with.

@benoit74
Copy link
Contributor Author

benoit74 commented Oct 8, 2024

Regarding "ActionParse API", I was refering to the name listed here.

REST API is indeed not available on this website, so it is normal these calls are returning 404.

But why none of the logs you get are referring to something like https://www.alecexposed.org/w/api.php?action=parse&format=json&...? Is there another place in the codebase to check?

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

3 participants