Dear Bruce & MacOS X Users,
Thanks for your help & your quick reply. I did not expect my altering one character in the code to fix the problem -- I had just hoped it would tell me if the Tip of the Day was indeed the culprit. I did as you suggested, and the problem is completely fixed. Thanks!

Per your comment regarding Issue 2 -- I have attached two files, one with the header removed (filename: '...NoHeader_exafsscan.dat'), and the other with the header left in with #s commenting it out (filename: '...Header_exafsscan.dat'). Note that these are transmission samples, with I0 in column 56, and I1 in column 57. 

Thank you in advance for your help!

Cheers,
Margaret Anne

------------------------------------
Margaret Anne G. Hinkle
Ph.D. Candidate
Earth and Planetary Sciences
Washington University in St. Louis
Rudolph Hall
Campus Box 1169
1 Brookings Drive
St. Louis, MO 63130
email: mhinkle@eps.wustl.edu
website: aqgeochem.wustl.edu


On Fri, Jul 4, 2014 at 7:41 AM, Bruce Ravel <bravel@bnl.gov> wrote:
On 07/03/2014 06:54 PM, Margaret Hinkle wrote:
Issue 1. With the new demeter-devel Macports download, Athena freezes
upon opening. Opening up Athena via Terminal brought up perl5.16 -- I
could see the GUI, the Tip of the Day, and the Athena startup box, but
the system just froze. I had to force quit every time, getting the
following notice in my Terminal: 'Terminated: 15'. I had a feeling it
was an issue with the Tip of the Day popping up, so I edited the
Athena.pm file (in the UI folder), and edited line 197 from
‘$app->show_tip ifDemeter->co->default('athena', 'tips');’ TO
  ‘$app->show_tip ifDemeter->co->default('athena', 'tip');’

(honestly, I don't know enough about this code to be able to give it a
real option that would turn off the Tip of the Day as the default, so I
just hoped this would make the program give me general error in the GUI
but that Athena could still load). Luckily, my not-fix fix worked. I get
an error every time I open it, but after clicking 'OK', Athena behaves
just like normal. I hope you can use this information to provide a real
fix to the problem!

It *is* surprising that removing random characters from the source code didn't fix the problem!

There is another way that you might have asked this question, something like, "I am having this problem with Athena and I am suspicious that the tips-of-the-day dialog is to blame.  Is there a way to disable it before starting Athena?"

Look for the '[athena]' section of demeter.ini, which should be in '$HOME/.horae'.  Set the "tips" parameter to "false".  That will suppress the tips dialog.



Issue 2. I can only load data files into Athena if there are no headers
of any sort -- commenting out each header line with a # or % does not
work. When I try to load in a .dat file with a commented-out header, I
get the following error message in Terminal:
'At line 436 of file iff_show.f
Fortran runtime error: End of record'
followed by Athena quitting itself.
This is an issue with both the regular Macports demeter download and the
demeter-devel download. These data files loaded in just fine to the old
iXAFS version of Athena, and on a PC. Is there a plugin I should be
using in the Demeter versions? If I delete the header, or load it in
from a .prj file, everything works just fine. So it is not huge issue,
as I do have a work around.

It is not reasonable to expect anyone on the list to understand your problem if you do not provide an example.  Without being able to reproduce a problem on my own computer, I can only speculate.

Perhaps it has something to do with very long lines in the data file... perhaps something having to do with non-ASCII characters...

B

--
 Bruce Ravel  ------------------------------------ bravel@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:    http://xafs.org/BruceRavel
 Software:    https://github.com/bruceravel
_______________________________________________
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit