Sorry for the delay in responding. 

We're working on trying to get Demeter working with Larch server recently.  If you're using the master branch of demeter, you may also need to install the master branch of xraylarch.

--Matt


On Thu, Nov 10, 2016 at 1:02 PM, Frederik Eistrup <frederikeis@hotmail.com> 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).


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¶ 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@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit