[Ifeffit] Athena crashing with "Larch_Server not found"

Frederik Eistrup frederikeis at hotmail.com
Mon Nov 14 14:29:20 CST 2016


Hello,


Thanks for the answers, Bruce and Matt.

I did some more desperat tries installing packages on my ubuntu - ending up with it crashing, no graphic interface, and forcing me to reinstall it - which show you my mastering of computers in general!


Now, followed again the instructions and ran into new problems. Can't get over the "./Build test" (terminal output: screen_message_Frederik_test.txt) and "./Build install" gives error (terminal output: screen_message_Frederik_install.txt).


What is the problem now? Im very sorry for not being able to solve it myself!


Thanks for all attention in first place.


Frederik


________________________________
De: Ifeffit <ifeffit-bounces at millenia.cars.aps.anl.gov> em nome de Bruce Ravel <bravel at bnl.gov>
Enviado: 14 de novembro de 2016 14:15
Para: XAFS Analysis using Ifeffit
Assunto: Re: [Ifeffit] Athena crashing with "Larch_Server not found"


Hi Frederik,

Also sorry for the slow response.  I was away from the lab all of last week.

As Matt said, he and I are working on transitioning Demeter from using
Ifeffit by default to using Larch by default.  If you were inclined to
help us out by installing Larch and testing Demeter with Larch, we would
be grateful.

I'll say that the benefits will pay off in the long run.  Having Larch
behind Demeter will enable a lot of new features in Athena and Artemis.
For example, I have some ideas for improving Athena's linear combination
fitting in ways that cannot be done (or at least not easily) with
Ifeffit.  It'll be cool.

That said, it is quite possible that the HEAD of the git repository
could have problems.  I haven't properly documented this yet, but it is
possible to force Demeter to skip the check for a Larch server and fall
back to using Ifeffit (which will continue to be available even after we
complete the switch to larch).

The easiest way to do so is to set a special environment variable.  Try
starting Athena with this command:

    DEMETER_FORCE_IFEFFIT=1 && dathena

or, more permanently within a bash session

    export DEMETER_FORCE_IFEFFIT=1

then a normal "dathena" command will fall back on using Ifeffit.

This behavior may change with notice, but I will try to keep the
documentation at the website up-to-date.

B


On 11/10/2016 02:02 PM, Frederik Eistrup wrote:
> Dear List,
>
> Recently installed Demeter on Ubuntu for a master's lab work at Bessy II
> (HZBerlin), with help from David Hughe's instructions
> (https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html).
David Hughes' guide to Demeter Installation on Ubuntu ...<https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html>
bruceravel.github.io
David Hughes' guide to Demeter Installation on Ubuntu¶ These instructions cover a non-root manual build of Bruce Ravel's Demeter package under Ubuntu 12.04.


>
>
> When I run  Athena ("dathena" in comand line) the interface window
> appears but command line has output:
>
>
> //
>
> /$ dathena
> Trying Larch server:
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/share/ini/larch_server.ini
> Trying Larch server:  larch_server -p 4966 start
> Can't exec "larch_server": No such file or directory at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Larch.pm
> line 66.
> /
>
>
> Later, when i try to import a data-file, column selection windows shows
> up as it should, but after i've chosen numerator and press OK, the whole
> Athena crashes. Message on terminal (sorry I know its massive...)://
>
> /
> /
>
> //
>
> /Attribute (bkg_pre1) does not pass the type constraint because:
> Validation failed for 'LaxNum' with value 9997,000 at accessor
> Demeter::Data::bkg_pre1 (defined at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/Data.pm
> line 258) line 7
>     Demeter::Data::bkg_pre1('Demeter::Data=HASH(0xd91e330)', '9997,000')
> called at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/Data/Defaults.pm
> line 48
>
>  Demeter::Data::Defaults::resolve_defaults('Demeter::Data=HASH(0xd91e330)')
> called at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/Data/Mu.pm
> line 290
>     Demeter::Data::Mu::initialize_e0('Demeter::Data=HASH(0xd91e330)')
> called at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/Data/Mu.pm
> line 270
>     Demeter::Data::Mu::put_data('Demeter::Data=HASH(0xd91e330)') called
> at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/Data.pm
> line 734
>     Demeter::Data::_update('Demeter::Data=HASH(0xd91e330)', 'all')
> called at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Athena/IO.pm
> line 648
> //
>  Demeter::UI::Athena::IO::_group('Demeter::UI::Athena=HASH(0xbcd018)',
> 'Demeter::UI::Athena::ColumnSelection=HASH(0xd949d08)',
> 'Demeter::Data=HASH(0xd91e330)', 'HASH(0xd91a8e8)',
> '/home/frederik/Desktop/Spectroscopy with Synchrothron
> Radiation/Praktikum_results/nanoXANES/Prakt_W_XANES_E_d70_1.log',
> '/home/frederik/Desktop/Spectroscopy with Synchrothron
> Radiation/Praktikum_results/nanoXANES/Prakt_W_XANES_E_d70_1.log', 0, 0)
> called at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Athena/IO.pm
> line 531
> //
>  Demeter::UI::Athena::IO::_data('Demeter::UI::Athena=HASH(0xbcd018)',
> '/home/frederik/Desktop/Spectroscopy with Synchrothron
> Radiation/Praktikum_results/nanoXANES/Prakt_W_XANES_E_d70_1.log',
> '/home/frederik/Desktop/Spectroscopy with Synchrothron
> Radiation/Praktikum_results/nanoXANES/Prakt_W_XANES_E_d70_1.log', 1, 0)
> called at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Athena/IO.pm
> line 193
>
>  Demeter::UI::Athena::IO::Import('Demeter::UI::Athena=HASH(0xbcd018)')
> called at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Athena.pm
> line 862
> //    Demeter::UI::Athena::OnMenuClick('Wx::Frame=HASH(0x9a617f0)',
> 'Wx::CommandEvent=SCALAR(0xc3a9480)',
> 'Demeter::UI::Athena=HASH(0xbcd018)') called at
> /home/frederik/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Athena.pm
> line 784
>     Demeter::UI::Athena::__ANON__('Wx::Frame=HASH(0x9a617f0)',
> 'Wx::CommandEvent=SCALAR(0xc3a9480)') called at
> /home/frederik/perl5/bin/dathena line 31
> //    eval {...} at /home/frederik/perl5/bin/dathena line 31/
>
> So, where is the problem? Can anyone helo with this?
>
> Made sure larch was installed through sudo apt-get install, but all
> stays the same.
>
>
> Thanks for any help!
>
>
> Frederik
>
> David Hughes' guide to Demeter Installation on Ubuntu ...
> <https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html>
David Hughes' guide to Demeter Installation on Ubuntu ...<https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html>
bruceravel.github.io
David Hughes' guide to Demeter Installation on Ubuntu¶ These instructions cover a non-root manual build of Bruce Ravel's Demeter package under Ubuntu 12.04.


> bruceravel.github.io
> David Hughes' guide to Demeter Installation on Ubuntu¶ These
> instructions cover a non-root manual build of Bruce Ravel's Demeter
> package under Ubuntu 12.04.
>
> Found out that Athena
>
>
>
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Ifeffit Info Page - Argonne National Laboratory<http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit>
millenia.cars.aps.anl.gov
The Ifeffit Mailing list is intended for the discussion of Ifeffit, Athena, Artemis, and SixPack, as well as related XAFS Analysis Programs such as Feffit, Atoms, and ...


> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
>


--
  Bruce Ravel  ------------------------------------ bravel at bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Building 743, Room 114
  Upton NY, 11973

  Homepage:    http://bruceravel.github.io/home/
[http://bruceravel.github.io/home/images/x23a2.jpg]<http://bruceravel.github.io/home/>

Bruce Ravel's homepage<http://bruceravel.github.io/home/>
bruceravel.github.io
contact info; Coordinates: Building 743, Room 114 Brookhaven National Laboratory Upton NY 11973 USA: Shipping: Bruce Ravel/BMM/6BM NSLS-II, Building 743


  Software:    https://github.com/bruceravel
[https://avatars1.githubusercontent.com/u/638186?v=3&s=400]<https://github.com/bruceravel>

bruceravel (Bruce Ravel) · GitHub<https://github.com/bruceravel>
github.com
bruceravel has 23 repositories available. Follow their code on GitHub.


  Demeter:     http://bruceravel.github.io/demeter/
Demeter : XAS Data Processing and Analysis - GitHub Pages<http://bruceravel.github.io/demeter/>
bruceravel.github.io
The content of this page is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Many of the documents linked to on this page are ...


_______________________________________________
Ifeffit mailing list
Ifeffit at millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Ifeffit Info Page - Argonne National Laboratory<http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit>
millenia.cars.aps.anl.gov
The Ifeffit Mailing list is intended for the discussion of Ifeffit, Athena, Artemis, and SixPack, as well as related XAFS Analysis Programs such as Feffit, Atoms, and ...


Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161114/e1fbeeda/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: screen_message_Frederik_install.txt
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161114/e1fbeeda/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: screen_message_Frederik_test.txt
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20161114/e1fbeeda/attachment-0003.txt>


More information about the Ifeffit mailing list