Prewikka Statistics Internal Error
Colin Templer <[email protected]> Wed, 16 Jun 2010 14:24:54 +0100
| Newsgroups | gmane.comp.security.ids.prelude.user |
|---|---|
| Message-ID | <[email protected]> |
I get an "Internal Error" when accessing Prewikka Statistics, this is
running as a cgi on httpd:
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/prewikka/Core.py", line 335,
in process
getattr(view_object, view["handler"])()
File "/usr/local/lib/python2.5/site-packages/prewikka/views/stats.py",
line 503, in render
self._renderClassificationsTrend(criteria)
File "/usr/local/lib/python2.5/site-packages/prewikka/views/stats.py",
line 492, in _renderClassificationsTrend
"alert.classification.text", criteria, limit = 10,
zoom_type="classifications_trend")
File "/usr/local/lib/python2.5/site-packages/prewikka/views/stats.py",
line 447, in _addTimelineChart
timeline.render(title)
File "/usr/local/lib/python2.5/site-packages/prewikka/Chart.py", line 311,
in render
x_labels = self._labels, series_legend=True, series_colors=colors)
File "/usr/local/lib/python2.5/site-packages/prewikka/cairoplot.py", line
2003, in dot_line_plot
plot.render()
File "/usr/local/lib/python2.5/site-packages/prewikka/cairoplot.py", line
451, in render
self.calc_all_extents()
File "/usr/local/lib/python2.5/site-packages/prewikka/cairoplot.py", line
416, in calc_all_extents
self.calc_extents(HORZ)
File "/usr/local/lib/python2.5/site-packages/prewikka/cairoplot.py", line
393, in calc_extents
self.max_value[direction] = max(self.context.text_extents(item)[2] for
item in self.labels[direction])
File "/usr/local/lib/python2.5/site-packages/prewikka/cairoplot.py", line
393, in <genexpr>
self.max_value[direction] = max(self.context.text_extents(item)[2] for
item in self.labels[direction])
MemoryError
Prewikka and Prelude were compiled from source, version 1.0.0.
I'm using OpenBSD 4.7 with cairo installed from packages version:
cairo-1.8.8p0 vector graphics library
py-cairo-1.8.8 cairo bindings for Python
--
Colin
_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user