[pdfgui bug] clicked "new fit"

1 view
Skip to first unread message

dif...@diffpy.org

unread,
Feb 11, 2008, 4:22:58 PM2/11/08
to diffp...@googlegroups.com
reporter: anonymous

summary: clicked "new fit"

description:

component: pdfgui

version: 1.0b.1833

traceback:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/pdfpanel.py", line 64, in _f
return func(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/plotpanel.py", line 203, in updateWidgets
self._check(None)
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/plotpanel.py", line 257, in _check
self._plot(None)
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/plotpanel.py", line 240, in _plot
self.mainFrame.control.plot(xval, yvals, refs, shift=offset, dry=(event is None))
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/control/pdfguicontrol.py", line 527, in plot
from plotter import Plotter
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/control/plotter.py", line 17, in <module>
from diffpy.pdfgui.gui.extendedplotframe import ExtendedPlotFrame
File "/usr/lib/python2.5/site-packages/diffpy/pdfgui/gui/extendedplotframe.py", line 22, in <module>
matplotlib.use('WXAgg')
File "/usr/lib/python2.5/site-packages/matplotlib/__init__.py", line 750, in use
raise RuntimeError(_use_error_msg)
RuntimeError: matplotlib.use() must be called *before* pylab
or matplotlib.backends is imported for the first time.

Pavol Juhas

unread,
Feb 11, 2008, 5:37:13 PM2/11/08
to diffpy-dev
Fixed in r1883 - http://danse.us/trac/diffraction/changeset/1883
Avoided import of pylab.
Reply all
Reply to author
Forward
0 new messages