Last modified: 2008-12-10 11:43:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18085, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16085 - Timeline images either generated without text or even not at all. Sometimes also no map areas as well.
Timeline images either generated without text or even not at all. Sometimes a...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: High major with 10 votes (vote)
: ---
Assigned To: Brion Vibber
: shell
: 16131 16585 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-24 01:00 UTC by Danny B.
Modified: 2008-12-10 11:43 UTC (History)
7 users (show)

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


Attachments

Description Danny B. 2008-10-24 01:00:17 UTC
The timeline images are either generated without text (only graphs, no legends, no descriptions...) or the image is not generated at all.

Take first example timeline on http://www.mediawiki.org/wiki/Extension:EasyTimeline

original:
http://upload.wikimedia.org/wikipedia/mediawiki/timeline/d12a83ed39e720e3d4eb41241afdef3d.png  

slight change [shift:($dx,-12) to shift:($dx,-11)] - no text:
http://upload.wikimedia.org/wikipedia/mediawiki/timeline/785bb748606c385fec46d0d16b032390.png  

another slight change [some random playing with numbers] - no image at all
http://upload.wikimedia.org/wikipedia/mediawiki/timeline/c074568e9acc4b0d6f652a2ac2fbd648.png


Sometimes besides nonexistent image HTML source also contains only empty <map> tag without any <area> tags.
Comment 1 Danny B. 2008-10-24 01:08:12 UTC
Example of what I've got when I was tweaking some timeline on w:cs:

<p><map name="a6b0b5ecfd5e5b326f57f059bcac5a4e" id="a6b0b5ecfd5e5b326f57f059bcac5a4e"></map><img usemap="#a6b0b5ecfd5e5b326f57f059bcac5a4e" src="http://upload.wikimedia.org/wikipedia/cs/timeline/a6b0b5ecfd5e5b326f57f059bcac5a4e.png" /></p>
Comment 2 Matthias Becker 2008-10-26 14:23:37 UTC
See also following edit:
http://de.wikipedia.org/w/index.php?title=Pazifische_Hurrikansaison_2008&diff=next&oldid=52045170
(see both versions before and after the edit, near the end of the article)
Comment 3 str4nd 2008-10-26 16:47:47 UTC
*** Bug 16131 has been marked as a duplicate of this bug. ***
Comment 4 str4nd 2008-10-26 16:52:27 UTC
See bug 16131: missing FreeSans font: apt-get install ttf-freefont should work. :-)
Comment 5 Ilmari Karonen 2008-10-27 21:04:28 UTC
Changing product to Wikimedia and adding shell keyword per above.
Comment 6 JeLuF 2008-10-27 21:13:53 UTC
Installed the FreeSans font using "dsh -w srv43,srv44,srv45,srv46,srv47 apt-get
install ttf-freefont", can't notice any improvement
Comment 7 Hugh Parker 2008-10-28 00:30:15 UTC
More diffs, in case they're useful, to [[w:Template:Trivia progress]]:  [http://en.wikipedia.org/w/index.php?title=Template:Trivia_progress&oldid=246786064 This revision] works fine, but [http://en.wikipedia.org/w/index.php?title=Template:Trivia_progress&oldid=247664188 this one] doesn't. The only [http://en.wikipedia.org/w/index.php?title=Template%3ATrivia_progress&diff=247664188&oldid=246786064 difference] between the two is a single number that's been changed.
Comment 8 limowiki 2008-11-27 22:23:54 UTC
Same story here: this is entirely based on an existing timeline image, but simply isn't generated well, i.e. no text either 

http://nl.wikipedia.org/w/index.php?title=Ambt_Delden&oldid=14590784

This is really a severe bug, as it simply breaks a *lot* of content on the different Wikipedia's
Comment 9 Brion Vibber 2008-12-03 17:26:17 UTC
Ugh, our setup seems to be pretty broken here...

1) Ploticus isn't installed on a lot of newer machines. It has perhaps slipped out of the automated package installs.

2) Our config is setting the GD font path (GDFONTPATH env var) to... a directory which doesn't exist.

So 1) is causing no output frequently, and 2) means that most/all of the renders that do happen won't have fonts? Investigating the situation further...
Comment 10 Raimond Spekking 2008-12-07 20:58:40 UTC
*** Bug 16585 has been marked as a duplicate of this bug. ***
Comment 11 Brion Vibber 2008-12-09 23:38:48 UTC
Ok:

1) Ploticus was in fact installed, but with a different path and executable name. :P Now using the correct path for the server as detected at runtime.

2) Have created the font dir, copied in a bunch of fonts which didn't help, and finally copied in FreeSans.ttf which EasyTimeline is hardcoded to use.

New timelines appear to render correctly. Old ones will be re-rendered, and we're currently working out issues with fully expiring the old renderings.
Comment 12 Chris Sherlock 2008-12-10 11:43:25 UTC
I just wanted to say that I cannot tell you how happy I am that you have fixed this bug. Thanks Brion!!!!

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


Navigation
Links