Issue464

Title stats cronjob on paulproteus@a6 is hitting an exception
Priority bug Status unread
Project Metrics Milestone
Superseder Nosy List nathan, nkinkade
Assigned To nathan Keywords

Created on 2009-09-24.19:38:54 by nkinkade, last changed 2009-09-24.19:38:54 by nkinkade.

Messages
msg1379 (view) Author: nkinkade Date: 2009-09-24.19:38:54
One of Asheesh's stats cronjobs on a6 is raising an exception.

Cron <paulproteus@a6> (cd stats ; cd reports ; python charts.py `date -I` >
/dev/null
 
Traceback (most recent call last):
 File "charts.py", line 786, in <module>
   main(max_date, nojuris)
 File "charts.py", line 769, in main
   generate_charts(y,m,d,jurismode=True)
 File "charts.py", line 625, in generate_charts
   charts.extend(map(show_png_chart, property_bar_chart()))
 File "charts.py", line 610, in property_bar_chart
   return for_search_engine(chart_fn, data_fn, db.simple)
 File "charts.py", line 461, in for_search_engine
   ret.append(chart_fn(data, engine))
 File "charts.py", line 609, in chart_fn
   return bar_chart(data, "%s property bar chart" % engine, 'Percent of
total','%1.1f%%')
 File "charts.py", line 175, in bar_chart
   yerr=[0] * len(values),xerr=[0] * len(values))
 File "/usr/lib/python2.5/site-packages/matplotlib/pyplot.py", line 1556, in bar
   ret =  gca().bar(*args, **kwargs)
 File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 3776, in bar
   fmt=None, ecolor=ecolor, capsize=capsize)
 File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 4254, in errorbar
   barcols.append( self.hlines(y, left, right, **lines_kw ) )
 File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 2816, in hlines
   minx = min(xmin.min(), xmax.min())
ValueError: zero-size array to ufunc.reduce without identity
History
Date User Action Args
2009-09-24 19:38:54nkinkadecreate