trunk revision 725
during the last hours this bug was introduced
I had the same matplot lib error only with some graphs in 4.2.2 already
working Dashboards
* CRM Statistics
* Production
Connecting Dashboard crashes
IMHO must have something to do with values returned by the query
opening
Traceback (most recent call last):
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/modules/gui/window/tree.py", line 190, in sig_open
if not self.sig_action(widget, 'tree_but_open', warning=False):
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/modules/gui/window/tree.py", line 184, in sig_action
warning=warning)
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/modules/action/main.py", line 181, in exec_keyword
self._exec_action(action, data, context=context)
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/modules/action/main.py", line 128, in _exec_action
limit=datas['limit'], auto_refresh=datas['auto_refresh'])
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/modules/gui/window/__init__.py", line 51, in create
auto_refresh=auto_refresh)
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/modules/gui/window/form.py", line 77, in __init__
window=self.window, limit=limit, readonly=bool(auto_refresh))
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/screen/screen.py", line 100, in __init__
self.display()
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/screen/screen.py", line 501, in display
self.current_view.display()
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/view/form.py", line 342, in display
widget.display(model, state)
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/view/form.py", line 44, in display
self.widget.display(model, False)
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/view/form_gtk/action.py", line 106, in display
self.screen.load(res_id)
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/screen/screen.py", line 492, in load
self.display(ids[0])
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/screen/screen.py", line 501, in display
self.current_view.display()
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/view/graph.py", line 60, in display
self.view.display(self.screen.models)
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/widget/view/graph_gtk/graph.py", line 109, in display
tinygraph.tinygraph(self._subplot, self.attrs.get('type', 'pie'), self.axis, self.axis_data, datas, axis_group_field=self.axis_group, orientation=self.attrs.get('orientation', 'vertical'))
File "/hd/sdb1/daten/downloads/bzr/openobject-client/bin/tinygraph/__init__.py", line 78, in tinygraph
subplot.legend(aa, labels, shadow = True, loc = 'best', prop = font_property)
File "/usr/lib64/python2.5/site-packages/matplotlib/axes.py", line 3617, in legend
self.legend_ = mlegend.Legend(self, handles, labels, **kwargs)
File "/usr/lib64/python2.5/site-packages/matplotlib/legend.py", line 182, in __init__
self.legendHandles = self._get_handles(handles, self.texts)
File "/usr/lib64/python2.5/site-packages/matplotlib/legend.py", line 248, in _get_handles
for handle, label in safezip(handles, texts):
File "/usr/lib64/python2.5/site-packages/matplotlib/cbook.py", line 900, in safezip
raise ValueError(_safezip_msg % (Nx, i+1, len(arg)))
which version of matplotlib do you use ?