Topic on Talk:OOUI

Image generation failed

7
184.20.10.253 (talkcontribs)

w/load.php?modules=oojs-ui.styles.icons-movement&image=next&format=rasterized&lang=en&skin=moonlight&version=1fr1rkk


I'm migrating a wiki via upgrade. The new installation uses ooui. It's images aren't rendering. I don't know what the requirement is. They appear as invisible user interfaces like with this (wiki/Sword_of_Moonlight/installing) slideshow. I finally realized they weren't showing at all, where previously I thought they were text labels only.


Wiki is en (dot) swordofmoonlight (dot) org


Volker E. (WMF) (talkcontribs)

Could you clarify what you mean by “not rendering”. Can you access one of the images directly? If not there could be several issues involved including a ResourceLoader issue. Are any icons shown. The URL you've provided doesn't seem to use an updated MediaWiki yet.

184.20.10.253 (talkcontribs)

The link is a direct link, that prints the error "Image generation failed". The wiki is upgraded to 1.33.1. The skin is based on an earlier version of MonoBook that I had to transfer to the new version. I think the new version is based on BaseTemplate instead of QuickTemplate but I didn't change that. I don't see anything in BaseTemplate that seems like OOUI would depend on its being there. But that's a possibility. I expect it's more likely something about my environment, but I'm open to anything.


BTW: I hacked in some Unicode triangles so that the slideshow buttons are visible, but those are unrelated to OOUI. Also there's a serious (unrelated) but in the slideshow I've reported here (Topic:Vcppuzq1pmnea4z3) that seems like staff should take very seriously and fix ASAP.

184.20.10.253 (talkcontribs)

*bug. Also, thank you for replying :)

MSchottlender-WMF (talkcontribs)

This sounds like there's a problem of the webserver itself to produce an image (png?) from the original svg. Could you check into whether imageMagick (or whatever library is set up?) works for you in general?

184.20.10.253 (talkcontribs)

ImageMagick is available and in use elsewhere. The upgrade web installer indicated it's in working order. I could try to do a test with an SVG file to see if can convert to a PNG for example... if you think that's a possibility. I don't know how to do that off the top of my head (I don't want to spend an afternoon figuring it out unless necessary.)

MSchottlender-WMF (talkcontribs)

The fact you're getting an empty message "Image generation failed" indicates to me that it's something about the server operation. I can be (very possibly) wrong, but I thought I'd point to this direction as something to verify, since I am not sure what else could prevent this other than making sure you run `composer update` and potentially `npm install`

Reply to "Image generation failed"