Daniel Shoemaker
unread,Nov 23, 2009, 1:48:26 PM11/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to diffpy-dev
Hi all, thanks for all of your work so far! I'm running Ubuntu 9.10
(Karmic) and everything works great, but I ran into a snag when PDFgui
wouldn't close, either by the close button or ctrl-Q. I got this
error:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/
diffpy.pdfgui-1.0_r3067_20090410-py2.6.egg/diffpy/pdfgui/gui/
errorwrapper.py", line 60, in _f
return func(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/
diffpy.pdfgui-1.0_r3067_20090410-py2.6.egg/diffpy/pdfgui/gui/
mainframe.py", line 2217, in onQuit
self.updateConfiguration()
File "/usr/local/lib/python2.6/dist-packages/
diffpy.pdfgui-1.0_r3067_20090410-py2.6.egg/diffpy/pdfgui/gui/
errorwrapper.py", line 60, in _f
return func(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/
diffpy.pdfgui-1.0_r3067_20090410-py2.6.egg/diffpy/pdfgui/gui/
mainframe.py", line 992, in updateConfiguration
self.cP.set("STRUCTUREVIEWER", key, value)
File "/usr/lib/python2.6/ConfigParser.py", line 668, in set
"position %d" % (value, percent_index))
ValueError: invalid interpolation syntax in '%s' at position 0
It's a nuisance since it would not save any preferences or recent
files, and I would have to kill the process. Changing the argument
string from %s to "%s" fixed it, and still works for viewing in VESTA.