[pdfgui bug] I think I broke PDFGui

11 views
Skip to first unread message

dif...@diffpy.org

unread,
Nov 12, 2009, 12:22:35 PM11/12/09
to diffp...@googlegroups.com
reporter: jolle...@gmail.com

summary: I think I broke PDFGui

description: I'm running Ubuntu; a few days ago I tried upgrading from Hardy to Intrepid, and got some error messages related to NumPy. Since then I've removed and completely re-installed NumPy, but to no avail, apparently. The DiffPy website hasn't been working for the last few days, so I've been unable to check and see whether maybe there are other libraries I should be looking at replacing.

This error happened when, immediately after starting PDFgui, I tried creating a new fit. I get errors when I try to do pretty much anything now, which is what makes me think I have a bad library somewhere.


component: pdfgui

version: 1.0-r3067-20090410

traceback:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg/diffpy/pdfgui/gui/errorwrapper.py", line 60, in _f
return func(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg/diffpy/pdfgui/gui/plotpanel.py", line 207, in updateWidgets
self._check(None)
File "/usr/lib/python2.5/site-packages/diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg/diffpy/pdfgui/gui/plotpanel.py", line 268, in _check
self._plot(None)
File "/usr/lib/python2.5/site-packages/diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg/diffpy/pdfgui/gui/plotpanel.py", line 245, in _plot
self.mainFrame.control.plot(xval, yvals, refs, shift=offset, dry=(event is None))
File "/usr/lib/python2.5/site-packages/diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg/diffpy/pdfgui/control/pdfguicontrol.py", line 567, in plot
from diffpy.pdfgui.control.plotter import Plotter
File "/usr/lib/python2.5/site-packages/diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg/diffpy/pdfgui/control/plotter.py", line 18, in <module>
from diffpy.pdfgui.gui.extendedplotframe import ExtendedPlotFrame
File "/usr/lib/python2.5/site-packages/diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg/diffpy/pdfgui/gui/extendedplotframe.py", line 26, in <module>
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_wxagg.py", line 21, in <module>
File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line 9, in <module>
File "/usr/lib/python2.5/site-packages/matplotlib/artist.py", line 4, in <module>
File "/usr/lib/python2.5/site-packages/matplotlib/transforms.py", line 254, in <module>
ImportError: No module named _transforms

Pavol Juhas

unread,
Nov 12, 2009, 1:20:19 PM11/12/09
to diffp...@googlegroups.com, jolle...@gmail.com
On Thu, Nov 12, 2009 at 12:22:35PM -0500, dif...@diffpy.org wrote:
...
> description: I'm running Ubuntu; a few days ago I tried upgrading
> from Hardy to Intrepid, and got some error messages related to
> NumPy. Since then I've removed and completely re-installed NumPy,
> but to no avail, apparently. The DiffPy website hasn't been working
> for the last few days, so I've been unable to check and see whether
> maybe there are other libraries I should be looking at replacing.
>
> This error happened when, immediately after starting PDFgui, I tried
> creating a new fit. I get errors when I try to do pretty much
> anything now, which is what makes me think I have a bad library
> somewhere.

Hi Craig,

There seems to be some problem with the matplotlib library.
Your PDFgui is installed under Python 2.5, but Hardy comes with
Python 2.6 and it is possible that some libraries in the 2.5 tree
stopped working. Please, try to reinstall PDFgui under python 2.6.
Use "python -V" to verify what is your python version and make sure
all system packages required for PDFgui are installed:

sudo aptitude install \
python-wxtools python-numpy python-setuptools \
python-matplotlib python-dev libgsl0-dev g++

sudo easy_install diffpy.pdfgui

Hope this helps,

Pavol

--
Dr. Pavol Juhas
Applied Physics & Applied Mathematics
Columbia University
Room 200 Mudd Building, MC 4701
500 West 120th Street
New York, NY 10027
tel: +1-212-851-7428
fax: +1-212-854-8257

Craig Jolley

unread,
Nov 12, 2009, 12:59:20 PM11/12/09
to diffp...@googlegroups.com
Never mind -- after sending this in I tried re-installing matplotlib; now it works fine. 


--

You received this message because you are subscribed to the Google Groups "diffpy-dev" group.
To post to this group, send email to diffp...@googlegroups.com.
To unsubscribe from this group, send email to diffpy-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/diffpy-dev?hl=.





--
Craig Jolley
Postdoctoral Research Associate
Astrobiology Biogeocatalysis Research Center
Montana State University
http://capsid.msu.montana.edu/douglasgroup/index.php/postdocs/18-craig-jolley.html

Pavol Juhas

unread,
Nov 12, 2009, 1:29:03 PM11/12/09
to diffp...@googlegroups.com
On Thu, Nov 12, 2009 at 10:59:20AM -0700, Craig Jolley wrote:
> Never mind -- after sending this in I tried re-installing matplotlib; now it
> works fine.

No problem. BTW, diffpy.org should be up again. We will move
that server from MSU to Columbia soon, so there might be few
more hitches this month. Sorry about that. Cheers,

Pavol
Reply all
Reply to author
Forward
0 new messages