[BUG-232618] Second Life Wiki — Broken ImageMagick installation? #9859
Comments
1hannah.actor commented at 2022-09-11T10:43:48Z +1 to this. This should be fixed, as the Wiki is an invaluable source of information for Residents; and SVG files are inherently more future-proof than raster-based formats. |
Chaser Zaks commented at 2022-09-11T11:50:26Z Confirmed. |
Gwyneth Llewelyn commented at 2022-09-11T14:18:45Z Thanks for the feedback, guys! I'm well aware that, based on my previous Jira tickets regarding the SL Wiki, it's clear that LL is aware that 'a lot' needs to be 'fixed' but that such work (namely, upgrading the MediaWiki software to a more recent version — the current one is beyond its End of Life support and will not receive patches or bug fixes) requires some time from whoever they have at LL to deal with the 'accessory' servers/Web services (i.e. those that are not critical for the Second Life Grid infrastructure). I expect that once the 'correct' Linden is assigned to the task of upgrading MediaWiki, all those errors and annoying things (such as a reliance upon Flash to show embedded videos, for example) may all get fixed all of a sudden. The only problem is to know when it happens. The actual process of migrating MediaWiki to a newer version will take just a few minutes to an hour; fixing all other tiny things will take a bit longer, but, as far as I can see, it's possible that they could fix everything in an afternoon... Unfortunately it's not the kind of work that can be crowdsourced from residents :) |
Spidey Linden commented at 2022-09-14T14:46:58Z Thank you for the bug report! We will investigate this issue. |
Gwyneth Llewelyn commented at 2022-11-01T18:45:40Z Hmm. It's still broken... I've tried to upload a very simple SVG just now, and the error is essentially the same as before:
Note that it's just the thumbnail that is broken; the SVG has been successfully uploaded: https://ll-pwiki-assets-production.s3.amazonaws.com/images/1/13/001-happy.svg It even shows briefly on the preview during the upload phase, correctly sized to 150x150 (while it's still a SVG). Then, after the upload, ImageMagick breaks, and from then onwards, anything linking to this file will show the error as above.
(Note: all other types of image, including WebP, work correctly, it's just the oh-so-very-useful SVG vector format that fails...) |
Gwyneth Llewelyn commented at 2022-12-16T00:31:24Z It seems that this issue, or something closely related to the resizing functionality of ImageMagick, has been around since 2015, as seen on this talk page that I stumbled upon by sheer coincidence. |
Gwyneth Llewelyn commented at 2023-01-27T17:13:14Z Bumping this comment thread, just to know if there was some progress :) It's annoying because there are so many pre-2015 SVGs on the SL Wiki, all of which are now broken (but you can still download the original SVGs — they just won't be displayed, you'll just get the multiple errors shown above). Guys, this is an easy fix. Probably just a permission or path error somewhere. It should take you only minutes to fix. I mean, it's not as if I'm asking you to upgrade MediaWiki to a more recent version (you should, due to security considerations). Or add the Lua engine, so that we can start doing templates just like on Wikipedia (which you also should install). Those are lengthy procedures for sure, requiring some testing, lest something get seriously broken. But viewing SVGs on the SL Wiki is already broken. It cannot get worse than this! |
What just happened?
When trying to convert from SVG to PNG/JPEG, the SL Wiki shows an error similar to the following:
Note that this error seems to be closely connected to either a missing ImageMagick delegate (namely,
[rsvg-convert|https://wiki.gnome.org/Projects/LibRsvg]
), or a lack of permissions for ImageMagick to create & write files on/tmp
.What were you doing when it happened?
I wanted to upload a SVG and got this error instead; so I searched around the SL Wiki and found some broken SVGs here and there, which I ultimately traced to this license template originally written by @SignpostMarv in August 2008, which was also broken.
It's possible that there are more examples scattered around the SL Wiki which are broken as well.
What were you expecting to happen instead?
Images uploaded as SVG should get a thumbnail as PNG — which is how MediaWiki works when properly configured using ImageMagick. This is how things have worked in the past, so I expected that they continue to work as before.
Other information
Just that you guys really need to take some time to take a look at the SL Wiki's infrastructure. If it weren't being used by many Lindens to quickly write some information regarding a lot of new features (such as Puppetry!) and document low-level protocols, I would suggest that you should give the community a chance to maintain the Wiki and keep its infrastructure operational; but since relevant Official Linden Lab/Second Life pages not only exist, but are being actively updated by some Lindens, it's up to you guys to do proper Wiki maintenance...
Original Jira Fields
The text was updated successfully, but these errors were encountered: