-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Comments
I added some logging and I'm getting the following:
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. |
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 |
I confirm this, reason is that (Wikipedia) main page used to look so ugly in mobile view... maybe this could/should be reconsidered because:
|
I still don't get it sorry. The logs you're pushing are speaking only about REST API and VisualEditor API. This website has none of them, so it is not a surprise those calls are failing. This website however has an ActionParse activated and this does not seems to be tested at all given the logs you're pushing here. Why? Is the documentation wrong/outdated? I.e. on a non-wikimedia instance, you need either REST API or VisualEditor? |
I've updated the logs, and I'm interested in checking in the messages, because it makes it more clear the URL that was checked so that when a failure like this occurs, we can easily manually check:
I believe that the docs are, in fact, out of date, because these are the only APIs that mwoffliner 1.14-dev is able to use (along with the names that they're referred to as in the code). |
Cool, I will update the doc then |
It is probably not that simple, see #1899. Would probably great to have an update on this Pabricator ticket (from us). It's pity I don't have open an issue our side for more clarity... I feel a bit lost. |
Why can't we update the docs with the actual APIs that are used by the code? Why does it depend on an old PR that adds parsoid support? |
I have no problem with updating the doc. I just say that we migh still or will still rely on the action=parse API... and that actually the phabricator issue linked in that PR is a serious concern for the WMF. |
If you look at the logs I pasted, we use |
Based on a quick grep, the only place we use But that method itself doesn't seem to be called from anywhere. So from what I can tell, when we release 1.14, that phabricator ticket will be resolved. Though, when I looked through the code for 1.13, it seemed that |
Zimfarm recipe: https://farm.openzim.org/recipes/alec_exposed
The last task (ran with
dev
right now, see close to a 1.14) fails withNo 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=1The text was updated successfully, but these errors were encountered: