AttributeError for RenderHtmlGnuPlot
apurvvkumaria opened this issue · 3 comments
I am getting the following error on RHEL 6.2. I have installed gnuplot and python-docutils.
Report is building perfectly on the mac but not on the CI server agent.
fl-build-report some-bench.xml --html -o /tmp
Creating html report: ...Traceback (most recent call last):
File "/usr/local/bin/fl-build-report", line 9, in
load_entry_point('funkload==1.16.1', 'console_scripts', 'fl-build-report')()
File "/usr/local/lib/python2.7/site-packages/funkload/ReportBuilder.py", line 290, in main
xml_parser.monitorconfig, options)()
File "/usr/local/lib/python2.7/site-packages/funkload/ReportRenderHtmlBase.py", line 136, in render
self.createCharts()
File "/usr/local/lib/python2.7/site-packages/funkload/ReportRenderHtmlBase.py", line 148, in createCharts
for step_name in self.steps:
AttributeError: RenderHtmlGnuPlot instance has no attribute 'steps'
It might appear when your bench test result file is corrupted.
Same happens for me when I try to create a report, after running the tests in distributed mode.
Since I had some issues with running the tests in distributed mode (please see issue #80 ), I had modified the Distributed.py file, so that it looks for fl-run-bench script in /usr/bin (I'd manually installed Funkload on the workers prior to this).
It might have something to do with this....
Since I'm getting this error constantly I would appreciate someone looking into it:) I see this is hanging in issues for over a year, so "bump".