I'm intermittently getting errors like this when trying to build HTML reports:
Creating html report: ...Traceback (most recent call last):
File "/project/.venv/bin/fl-build-report", line 7, in <module>
execfile(__file__)
File "/project/.venv/src/funkload/scripts/fl-build-report", line 26, in <module>
main()
File "/project/.venv/src/funkload/src/funkload/ReportBuilder.py", line 304, in main
css_file=options.css_file)()
File "/project/.venv/src/funkload/src/funkload/ReportRenderHtmlBase.py", line 131, in render
self.createRstFile()
File "/project/.venv/src/funkload/src/funkload/ReportRenderHtmlBase.py", line 88, in createRstFile
f.write(unicode(self).encode("utf-8"))
File "/project/.venv/src/funkload/src/funkload/ReportRenderRst.py", line 654, in __repr__
self.renderMonitors()
File "/project/.venv/src/funkload/src/funkload/ReportRenderRst.py", line 482, in renderMonitors
charts = self.createMonitorCharts()
File "/project/.venv/src/funkload/src/funkload/ReportRenderHtmlBase.py", line 162, in createMonitorCharts
charts[host]=self.createMonitorChart(host)
File "/project/.venv/src/funkload/src/funkload/ReportRenderHtmlGnuPlot.py", line 616, in createMonitorChart
gnuplot(gplot_path)
File "/project/.venv/src/funkload/src/funkload/ReportRenderHtmlGnuPlot.py", line 51, in gnuplot
"\n" + str(output))
RuntimeError: Failed to run gnuplot cmd: cd /results_path; gnuplot /results_path/33.33.33.34_MonitorNetwork.gplot
plot "/results_path/33.33.33.34_MonitorNetwork.data" u 1:2 title "Out" with lines lw 2, "" u 1:3 title "In" with lines lw 2
^
"/results_path/33.33.33.34_MonitorNetwork.gplot", line 10: warning: Skipping data file with no valid points
plot "/results_path/33.33.33.34_MonitorNetwork.data" u 1:2 title "Out" with lines lw 2, "" u 1:3 title "In" with lines lw 2
^
"/results_path/33.33.33.34_MonitorNetwork.gplot", line 10: warning: Skipping data file with no valid points
plot "/results_path/33.33.33.34_MonitorNetwork.data" u 1:2 title "Out" with lines lw 2, "" u 1:3 title "In" with lines lw 2
^
"/results_path/33.33.33.34_MonitorNetwork.gplot", line 10: x range is invalid
It seems to be due to my MonitorNetwork.data file looking like:
TIME NETOUT NETIN
11:55:44 None None
I have entries with receiveBytesreceivePackets etc in my stats.xml so I'm not sure right now where the None values are coming from, haven't looked too deep yet
I'm intermittently getting errors like this when trying to build HTML reports:
It seems to be due to my
MonitorNetwork.data
file looking like:I have entries with
receiveBytes
receivePackets
etc in mystats.xml
so I'm not sure right now where theNone
values are coming from, haven't looked too deep yet