Re: [Ifeffit] No plot window in Athena/Demeter on Mac OS X Yosemite
Bruce, I did what you suggested.
* Can you run gnuplot from the command line?
Yes.
* If so, what is the default terminal? To find out, do this at the gnuplot command line: "show terminal”
“aqua” is the default terminal.
* If the default terminal is something other than "X11", "wxt", or "qt", can you reset it? That is done at the gnuplot command line by, for instance, "set terminal wxt”
I reset as suggested. gnuplot is working fine. The plot is generated. Even with “aqua”, the plot is visualized.
* Can you make a plot? To find out, plot a sine wave at the gnuplot command line with "plot sin(x)”
Yes. I just tested and left the gnuplot window opened and ran “athena” in another terminal, but there is no communication with gnuplot. Still, no data is plotted.
Em 22/09/2015, à(s) 16:53, ifeffit-request@millenia.cars.aps.anl.gov escreveu:
Send Ifeffit mailing list submissions to ifeffit@millenia.cars.aps.anl.gov
To subscribe or unsubscribe via the World Wide Web, visit http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit or, via email, send a message with subject or body 'help' to ifeffit-request@millenia.cars.aps.anl.gov
You can reach the person managing the list at ifeffit-owner@millenia.cars.aps.anl.gov
When replying, please edit your Subject line so it is more specific than "Re: Contents of Ifeffit digest..."
Today's Topics:
1. Re: No plot window in Athena/Demeter on Mac OS X Yosemite (Raimundo Lora Serrano) 2. Re: No plot window in Athena/Demeter on Mac OS X Yosemite (Bruce Ravel)
----------------------------------------------------------------------
Message: 1 Date: Tue, 22 Sep 2015 16:38:40 -0300 From: Raimundo Lora Serrano
To: ifeffit@millenia.cars.aps.anl.gov Subject: Re: [Ifeffit] No plot window in Athena/Demeter on Mac OS X Yosemite Message-ID: <1F27C0D9-A926-490A-A33B-2A46DB8FCEDD@infis.ufu.br> Content-Type: text/plain; charset="utf-8" Hi again, I just reinstalled ?xorg-server demeter?, now I get: /private/tmp/com.apple.launchd.lXiE4HyZ2W/org.macports:0
but there is no plot window. The problem remains.
Em 22/09/2015, ?(s) 14:00, ifeffit-request@millenia.cars.aps.anl.gov escreveu:
Send Ifeffit mailing list submissions to ifeffit@millenia.cars.aps.anl.gov
To subscribe or unsubscribe via the World Wide Web, visit http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit or, via email, send a message with subject or body 'help' to ifeffit-request@millenia.cars.aps.anl.gov
You can reach the person managing the list at ifeffit-owner@millenia.cars.aps.anl.gov
When replying, please edit your Subject line so it is more specific than "Re: Contents of Ifeffit digest..."
Today's Topics:
1. Re: No plot window in Athena/Demeter on Mac OS X Yosemite (George Sterbinsky)
----------------------------------------------------------------------
Message: 1 Date: Tue, 22 Sep 2015 10:05:29 -0500 From: George Sterbinsky
To: XAFS Analysis using Ifeffit Subject: Re: [Ifeffit] No plot window in Athena/Demeter on Mac OS X Yosemite Message-ID: Content-Type: text/plain; charset="utf-8" Hi All,
The result I get is /private/tmp/com.apple.launchd.a2i2wnuP2l/org.macosforge.xquartz:0 and Athena is working fine on my system.
George
On Tue, Sep 22, 2015 at 6:50 AM, Alison Tebo
wrote: Hi Raimundo (and R?mi),
I'm not a pro here but, have you installed xorg-server? It seems like your $DISPLAY variables are not being set correctly. The problem might be XQuartz. The demeter build from Macports doesn't know to use that X windows server (everything is installed in different places) and is looking for the macports version. Your $DISPLAY variable should be something with org.macports rather than org.macosforge.xquartz:0. FWIW, xorg-server is maintained by and updated with XQuartz.
Good luck,
Alison
On Mon, Sep 21, 2015 at 10:15 PM, Raimundo Lora Serrano < rloraserrano@infis.ufu.br> wrote:
Dear all,
I have the same problems installing Athena/Demeter on Yosemite (10.10.5) as Remi. Also in my case (as for R?mi) - I use the R?mi?s message edited as required to my softwares? versions:
Athena launches well from the Terminal, I have the main window (perl5.22), I can import data or load former athena projects etc, but there is no plot window. No error message shows up in the terminal.
I?ve *carefully* installed Macports 2.3.3, i.e., installed Xcode Version 7.0 (7A220), agreed to Xcode licence, and installed Macports for OS X 10.10 Yosemite. I runned the "sudo port -v selfupdate" command Then "sudo port install demeter-devel?
And port upgrade outdated to ensure everything is up to date Plus, I have XQuartz 2.7.7 installed.
I also uninstalled and reinstalled macports (and Xcode, xquartz) but the problem remains.
By typing echo $DISPLAY /private/tmp/com.apple.launchd.RgzrDheMAp/org.macosforge.xquartz:0
Any guess? Many thanks in advance. Raimundo
Em 21/09/2015, ?(s) 14:00, ifeffit-request@millenia.cars.aps.anl.gov escreveu:
Send Ifeffit mailing list submissions to ifeffit@millenia.cars.aps.anl.gov
To subscribe or unsubscribe via the World Wide Web, visit http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit or, via email, send a message with subject or body 'help' to ifeffit-request@millenia.cars.aps.anl.gov
You can reach the person managing the list at ifeffit-owner@millenia.cars.aps.anl.gov
When replying, please edit your Subject line so it is more specific than "Re: Contents of Ifeffit digest..."
Today's Topics:
1. No plot window in Athena/Demeter on Mac OS X Yosemite (R?mi BELISSONT)
----------------------------------------------------------------------
Message: 1 Date: Mon, 21 Sep 2015 14:57:34 +0200 From: R?mi BELISSONT
To: ifeffit@millenia.cars.aps.anl.gov Subject: [Ifeffit] No plot window in Athena/Demeter on Mac OS X Yosemite Message-ID: <6D35429A-8B4F-42FA-BA4D-92407447F7A9@univ-lorraine.fr> Content-Type: text/plain; charset="utf-8" Hello,
I?m currently using Athena using the iXAFS 3.0.3 application, which is ? if I?ve well understood ? an old version no longer updated ( http://cars9.uchicago.edu/ifeffit/Downloads < http://cars9.uchicago.edu/ifeffit/Downloads>).
So, today I tried to install the current version by installing Demeter, following the procedure detailed at http://bruceravel.github.io/demeter/ http://bruceravel.github.io/demeter/.
I?ve *carefully* installed Macports 2.3.3, i.e., installed Xcode 6.4, agreed to Xcode licence, and installed Macports for OS X 10.10 Yosemite. I runned the sudo port -v self update command Then sudo port install xorg-server demeter And port upgrade outdated to ensure everything is up to date Plus, I have XQuartz 2.7.7 installed.
Here is my problem. Athena launches well from the Terminal (in home directory), I have the main window (pearl5.22), I can import data or load former athena projects etc, but there is no plot window. No error message shows up in the terminal. However I can still produce a PNG of the plot I?m desperately trying to see via Plots/Save last plot as...
I?ve seen a similar thread concerning such an issue in OS X Mavericks but couldn?t solve it from what was explained there ( http://millenia.cars.aps.anl.gov/pipermail/ifeffit/2014-January/011644.html < http://millenia.cars.aps.anl.gov/pipermail/ifeffit/2014-January/011644.html>). I guess the issue comes from the DISPLAY environment but I don?t have any clue to solve that.
Thank you in advance for your help, I think it may be useful for other users,
Kind regards,
R?mi
??????????????????????????????????????? R?mi Belissont Ph.D. Student | Universit? de Lorraine ? Labex R21
GeoRessources CNRS-UMR 7359, Facult? des Sciences BP 70239, 54506 Vandoeuvre-l?s-Nancy Cedex, France Phone +33 (0)3 83 68 47 14
Centre de Recherches P?trographiques et G?ochimiques CNRS-UMR 7358, 15 Rue Notre Dame des Pauvres BP 20, 54501 Vandeuvre-l?s-Nancy Cedex, France
On 09/22/2015 05:03 PM, Raimundo Lora Serrano wrote:
* Can you make a plot? To find out, plot a sine wave at the gnuplot
command line with "plot sin(x)” Yes. I just tested and left the gnuplot window opened and ran “athena” in another terminal, but there is no communication with gnuplot. Still, no data is plotted.
That's not how the communication works. Demeter needs to start its own instance of gnuplot. I'm afraid I don't know where to go from there. Perhaps Joe or someone else can advise. B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 535A Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
In the Athena preferences menu, the "gnuplot-->terminal" parameter is set
to "x11" on my system. If yours is set to something else you might try
changing it to x11.
George
On Tue, Sep 22, 2015 at 4:18 PM, Bruce Ravel
On 09/22/2015 05:03 PM, Raimundo Lora Serrano wrote:
* Can you make a plot? To find out, plot a sine wave at the gnuplot
command line with "plot sin(x)”
Yes. I just tested and left the gnuplot window opened and ran “athena” in another terminal, but there is no communication with gnuplot. Still, no data is plotted.
That's not how the communication works. Demeter needs to start its own instance of gnuplot.
I'm afraid I don't know where to go from there. Perhaps Joe or someone else can advise.
B
-- Bruce Ravel ------------------------------------ bravel@bnl.gov
National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 535A Upton NY, 11973
Homepage: http://bruceravel.github.io/home/ Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/ _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Sorry for not keeping up with the "Athena on OS X" details. Here's my experience (OS X 10.10.5, up to date patches from Apple) which might be helpful to some. Athena from macports was working fine for me, but was many months old. This evening I did sudo port -v selfupdate sudo port install xorg-server This installed many updates -- it had been awhile. I then did sudo port uninstall demeter sudo port install demeter athena ran, but would not plot, in the way many had seen. The gnuplot program was set to "gnuplot", but terminal was "qt". Setting this to "wxt", plotting worked fine. Not sure why that happened (I'm pretty sure it had been "wxt" previously), but it was easy to fix. And I'm still very impressed that the macports solution works so well! --Matt
I've found that if the terminal value is set to wxt, it is reset to qt upon
restarting Athena, and Athena will not plot. This does not happen if the
terminal value is set to x11 or aqua.
George
On Tue, Sep 22, 2015 at 9:32 PM, Matt Newville
Sorry for not keeping up with the "Athena on OS X" details. Here's my experience (OS X 10.10.5, up to date patches from Apple) which might be helpful to some.
Athena from macports was working fine for me, but was many months old. This evening I did
sudo port -v selfupdate sudo port install xorg-server
This installed many updates -- it had been awhile. I then did sudo port uninstall demeter sudo port install demeter
athena ran, but would not plot, in the way many had seen. The gnuplot program was set to "gnuplot", but terminal was "qt". Setting this to "wxt", plotting worked fine.
Not sure why that happened (I'm pretty sure it had been "wxt" previously), but it was easy to fix. And I'm still very impressed that the macports solution works so well!
--Matt
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
participants (4)
-
Bruce Ravel
-
George Sterbinsky
-
Matt Newville
-
Raimundo Lora Serrano