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
|