Last modified: 2008-01-22 11:09:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5463 - SVGs rendered as "empty" images
SVGs rendered as "empty" images
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: High major with 7 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: crosswiki
: 11364 11366 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-05 16:44 UTC by Wikipedia:en:User:Paddu
Modified: 2008-01-22 11:09 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Wikipedia:en:User:Paddu 2006-04-05 16:44:52 UTC
The given URL at the given anchor includes many PNGised reduced-resolution SVG
images, some of which render properly but some of which give an empty space. For
example,
http://upload.wikimedia.org/wikipedia/en/thumb/d/d9/California_State_Route_60.svg/25px-California_State_Route_60.svg.png
renders properly but
http://upload.wikimedia.org/wikipedia/en/thumb/0/02/California_State_Route_57.svg/25px-California_State_Route_57.svg.png
is "empty". However note that the second image is rendered correctly in its
image description page
http://en.wikipedia.org/wiki/Image:California_State_Route_57.svg as shown at
http://upload.wikimedia.org/wikipedia/en/thumb/0/02/California_State_Route_57.svg/469px-California_State_Route_57.svg.png.
Comment 1 Brion Vibber 2006-04-05 20:24:57 UTC
Use ?action=purge on the image pages, then make sure you've completely reloaded the small 
images (they may be cached).
Comment 2 Wikipedia:en:User:Paddu 2006-04-06 20:18:40 UTC
This procedure seems to work but do we have to do this with every other
reduced-resolution SVG? Any clue on what is this bug caused due to?
Comment 3 Stephen Kou 2006-04-08 10:48:02 UTC
Hello,
I have been having this problem as well.  If I upload an SVG, I oftentimes get a blank PNG version of the image (either of the acutal-size image itself or its reduced-res 
thumbnail).  However, if I action=purge it, it will appear (sometimes two action=purge is required).  Moreever, if the image was uploaded at the commons, i would have to action=purge 
at BOTH the image's page at commons AND wikipedia before i get a non-empty PNG thumb / fullsizepreview.  If i didn't purge at wikipedia after commons, i'd get a broken image.  I 
tried this on both my computer using firefox and IE, and my roommate's computer -- the images are indeed blank.  It's not my cache.

User:Atanamir at en-wiki.
Comment 4 Wikipedia:en:User:Paddu 2006-04-08 16:40:06 UTC
Update summary to include SVGs at original resolutions per Stephen's comment.
Comment 5 SPUI 2006-05-25 13:39:23 UTC
This is bloody fuck annoying when several pages have the image at different
sizes. I have to purge on commons, then purge each page, and repeat about 10-20
times until I luck out and each one loads properly.

For example, try getting the I-80 shields to show on these four pages:
* http://en.wikipedia.org/wiki/Interstate_80 (at the top of the infobox)
* http://en.wikipedia.org/wiki/Interstate_95 (in the infobox next to "I-80 near
New York, NY")
* http://en.wikipedia.org/wiki/Interstate_180_%28Nebraska%29 (in the infobox and
the auxiliary routes navbox)
* http://en.wikipedia.org/wiki/Interstate_80_in_New_Jersey (on its own floating
to the right)

Bloody fuck.
Comment 6 Wikipedia:en:User:Paddu 2006-05-27 12:49:48 UTC
Upgrading severity to "major" since the workaround doesn't always look "easy"
(http://bugzilla.wikimedia.org/page.cgi?id=fields.html#severity).
Comment 7 LpAngelRob 2006-05-31 07:41:47 UTC
It works infrequently enough that I would just as well call it not a fix. I've
posted to the Village pump twice about it making sure I had the instructions
right, and I'm 0 for 4 so far. 
Comment 8 Rory 2006-06-04 03:53:40 UTC
There are JS tools to give you a quick link to purge the cache, SPUI.
Comment 9 Wikipedia:en:User:Paddu 2006-06-08 04:46:08 UTC
Usually what happens is that I have to keep purging the Commons image page until
the image disappears in that page (if that never happens, tough luck -- have to
randomly keep purging the image pages in Commons and Wikipedia), purge once
more, then purge the Wikipedia image page once and then shift+reload (on
Moz/Ffox) the article using the image.
Comment 10 imeowbot 2006-06-13 13:04:47 UTC
I don't know it this is truly related, but there has been a similar problem with
PNG images over the past two days or so.  The only difference is that there are
missing thumbnails instead of empty ones, but the purge-a-million-times problem
seems identical.
Comment 11 SPUI 2006-06-24 07:22:33 UTC
I tried doing it to http://commons.wikimedia.org/wiki/Image:Stop_hand.svg and
couldn't get it to happen. It's been suggested that it only affects SVGs made in
Adobe Illustrator, not in Inkscape, and that the <!ENTITY> tags cause it.
Comment 13 Brion Vibber 2006-06-25 05:26:00 UTC
This has (hopefully) been resolved now. Final purging might be
necessary on those that were already broken.
Comment 14 Arian Kriesch 2006-08-06 16:09:57 UTC
Excuse me. I have a problem that seems to be of the same kind as the discussed
one. I have updated and corrected a svg some months after the first upload to
commons. But this time, the svg is not rendered to png any more. There is simply
no image shown in the image description at
http://commons.wikimedia.org/wiki/Image:Epsilontensor.svg but on the other hand,
the svg itself seems to be
intact:http://upload.wikimedia.org/wikipedia/commons/7/71/Epsilontensor.svg . I
have tried it on Linux and Windows with a number of different browsers. The svg
is generated as plain-svg by the use of Inkskape.
I am really sorry... could anyone help me please?
I excuse that I didn't understand where I should add ?action=purge as mentioned
above. The image itself is used on several pages allother different
language-types of wikipedia.org .

I have already asked for help at the Commons helpdesk but nobody could help me
more than quoting this discussion:
http://commons.wikimedia.org/wiki/Commons:Help_desk#Help:_Upload_new_version_problem


User: Akriesch at commons.wiki
Comment 15 SPUI 2006-08-06 17:06:44 UTC
This doesn't seem related, as this bug always shows the right size but blank.
Maybe your SVG size paramaters are busted?
Comment 16 NE2 2006-10-26 21:47:23 UTC
I have no idea what happened, but this bug seems to be back:
http://en.wikipedia.org/wiki/User:NE2/shields
Comment 17 NE2 2007-02-23 06:01:35 UTC
It appears that opening and saving in Inkscape fixes the problem, but this
shouldn't be necessary:
http://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_U.S._Roads#Re-upload_all_shields.3F
Comment 18 Wikipedia:en:User:Paddu 2007-02-23 22:00:39 UTC
As I mentioned at
http://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_U.S._Roads#Re-upload_all_shields.3F
http://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/I-476.svg/62px-I-476.svg.png
never works, even after multiple purges and a reupload of the image at
[[commons:Image:I-476.svg]].
Comment 20 Charli(e) (vishwin/O) 2007-07-08 18:16:13 UTC
Are the devs still figuring out this problem?  If not, I might tag it as WONTFIX, as Jeff G's solution is proven to work.
Comment 21 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-08 19:53:15 UTC
Please do not tag anything WONTFIX unless you're a developer or are otherwise really sure you know what you're doing.  What Jeff G. gave is a workaround.  That is not a fix, and the issue still exists.  No one is currently working on this issue, but that doesn't mean it's not still an issue that should be fixed at some point in the future if practical.
Comment 22 LpAngelRob 2007-07-09 13:15:27 UTC
Downloading the image and re-saving it in Inkscape is also another proven workaround. Fixing the original bug isn't a bad idea either, though. :-D
Comment 23 Jeff G. 2007-08-13 14:19:40 UTC
(In reply to comment #22)
> Downloading the image and re-saving it in Inkscape is also another proven
> workaround. Fixing the original bug isn't a bad idea either, though. :-D

Yes, fixing the original bug would certainly be a good idea. :)
Comment 24 Jesse Viviano 2007-09-16 02:29:09 UTC
I noticed that this bug only seems to plague images in the Commons while browsing the English Wikipedia. It is not affecting SVGs on the English Wikipedia itself, like [[Image:Linksyslogo.svg]]. Therefore, I am adding the crosswiki keyword because this involves both the English Wikipedia and the Wikimedia Commons. I do not know if it affects other Wikimedia wikis. I also noticed that Commons is currently having trouble rendering images like [[commons:Image:Flag of the United States.svg]], which it used to have no trouble with. Could it be possible that the processes that render SVGs on the Commons have gotten corrupt?
Comment 25 Jesse Viviano 2007-09-16 02:50:07 UTC
It seems that this might have nothing to do with SVGs. On [[User:AZPR]] (Sorry if this bothers you if my using of your bot's user page as an example bothers you, AndyZ!), a PNG that is hosted on the Wikimedia Commons is not resizing correctly.
Comment 26 Casey Brown 2007-09-16 16:00:50 UTC
*** Bug 11364 has been marked as a duplicate of this bug. ***
Comment 27 Brion Vibber 2007-09-17 14:08:26 UTC
*** Bug 11366 has been marked as a duplicate of this bug. ***
Comment 28 Jeff G. 2007-09-17 21:11:52 UTC
"Some image thumbnails are not rendering correctly."  On Wikimedia Commons.  This became a much more visible problem on 2007-09-15.  "On irc://irc.freenode.net/wikimedia-tech it was mentioned MANY times. The first thing that was discovered was that the disk array for the thumbnails was full. This in turn, caused all subsequent re-sizings to render zero-byte images. The disk space was quickly expanded, but a considerable amount of residual damage lingers." per edit http://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&diff=7560187&oldid=7558257 .  More info is available at http://commons.wikimedia.org/wiki/Commons:Village_pump#Image_Problems .  I continue to disagree with the marking of the new problems from 2007-09-15 as duplicates of this bug 5463.
Comment 29 NE2 2008-01-22 11:09:58 UTC
It appears that this bug has been fixed for a while. Cheers.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links