Page MenuHomePhabricator

Check and delete empty tex images
Closed, ResolvedPublic

Description

Author: cbm.wikipedia

Description:
For reasons that nobody seems to understand, quite a few images generated by texvc have come out as 0 byte files. Whenever I check one of these empty images, the server returns a last-modified date of Sunday Nov 9 for the image. Shell access is needed to investigate further.

Requests:

  1. Verify if all the empty math images were actually made on Nov 9. If so, this may have been some sort of transient bug. If empty images are still being created that's a bigger issue.
  1. Delete all the 0 byte math images that currently exist, so they can be regenerated.

Version: unspecified
Severity: enhancement

Details

Reference
bz16440

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 10:27 PM
bzimport set Reference to bz16440.

What might be handy is some way for end users to purge broken tecvc images on a page, so that we don't have to keep bugging developers about it. Perhaphs make the purge action do a forced rebuild of latex images.

cbm.wikipedia wrote:

I agree that might be handy, but it should be filed as a separate bug, since this one can be resolved without implementing any new code. The reason I didn't file that one is that I don't know about the performance implications.

hardy wrote:

This problem has certainly NOT resolved itself and should be considered to be of the highest urgency. I've been editing Wikipedia mathematics articles for more than six years. I've never seen this until within the last couple of weeks or so (unless it was something ephemeral and trivial). Purging caches isn't working.

Please see http://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Mathematics#LaTeX_bug .

This is urgent.

r43964 and r43965 should fix this; 0-byte images are now deleted, and newly rendered images should clear the old ones from the caches. Now to find why things are breaking... :P