Page MenuHomePhabricator

graphs need GD::Graph installed
Closed, ResolvedPublic

Description

The functionality to produce graphs (https://bugzilla.wikimedia.org/query.cgi?format=report-graph) should either be disabled or made to work.

Attempts to use it fail. Looking at the response from the chart's url, I can see this error message:

<font size="+2">plugin error - Died at /usr/share/perl/5.8/base.pm line 84.

BEGIN failed--compilation aborted at lib/Template/Plugin/GD/Graph/bars.pm line 5.
Compilation failed in require at lib/x86_64-linux-gnu-thread-multi/Template/Plugins.pm line 207.

</font>

(The URL was https://bugzilla.wikimedia.org/report.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bugidtype=include&chfieldfrom=&chfieldto=Now&chfieldvalue=&cumulate=0&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&keywords=&keywords_type=allwords&longdesc=&longdesc_type=allwordssubstr&query_format=report-graph&resolution=WONTFIX&resolution=LATER&resolution=---&short_desc=&short_desc_type=allwordssubstr&type0-0-0=noop&value0-0-0=&votes=&x_axis_field=bug_severity&y_axis_field=bug_status&z_axis_field=bug_status&format=bar&ctype=png&action=plot&bug_status=CLOSED&width=600&height=350 if that helps anything)


Version: unspecified
Severity: enhancement

Details

Reference
bz22178

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:49 PM
bzimport set Reference to bz22178.

pdhanda wrote:

Graphs should be working now. I tested a few.