missing plot toolbar in xPDFsuite-PDFgui

74 views
Skip to first unread message

Pavol Juhas

unread,
Jun 2, 2017, 11:42:49 AM6/2/17
to diffpy...@googlegroups.com, rohani...@gmail.com
On Wed, May 31, 2017 at 12:23 AM Parham Rohani wrote:
...
> In the manual, I can see save icon, but not in my version.
> Please see the attachment. Please advise me.


Hi Parham,

Thank you for reporting this. I see the same problem on my
Mac workstation - after starting PDFgui from xPDFsuite the plot
windows appear without toolbar. This is because xPDFsuite
includes an older version of PDFgui with outdated toolbar code.
To my knowledge this afflicts only the Mac platform - if anyone has
plot-toolbar missing on Linux or Windows, please let me know.

We need to prepare an updated release of xPDFsuite.

In the meantime you can update PDFgui in xPDFsuite manually
using the following procedure. This assumes xPDFsuite is installed
in ~/Software/xpdfsuite folder. If it is elsewhere adjust the
instructions accordingly.

(1) navigate to the
~/Software/xpdfsuite/Python27/lib/python2.7/site-packages
directory and open the addon.pth file in TextEdit or any
other text editor (do not use Word).


(2) comment out lines referring to diffpy.pdfgui and diffpy.Structure
with a leading hash (#) character. Their new content
should be:

# ./diffpy.Structure-1.2-py2.7.egg
# ./diffpy.pdfgui-1.1a-py2.7.egg

Save the addon.pth file.


(3) open the Terminal and use following commands to upgrade PDFgui:

source ~/Software/xpdfsuite/Python27/bin/activate root
# verify that "which easy_install" shows
# ~/Software/xpdfsuite/Python27/bin/easy_install
which easy_install
easy_install -UN diffpy.structure diffpy.pdfgui


(4) start (or restart) xPDFsuite and then the included PDFgui.
Check the "Help --> About" menu and verify the version is 1.1.2.


Hope this works. Best,

Pavol


--
Dr. Pavol Juhas
Computational Science Initiative
Brookhaven National Laboratory
P.O. Box 5000
Upton, NY 11973-5000
pdfgui-plot-no-toolbar.png
Reply all
Reply to author
Forward
0 new messages