[Ifeffit] dartemis crash

Bruce Ravel bravel at bnl.gov
Tue Nov 19 08:50:10 CST 2013


Rene,

Thank you for a very clear and useful bug report.

I understand the problem, which almost certainly is not a linux-only
problem.  It will be fixed in the next release.

I will make a post to the mailing list when I have checked a fix into
github so that you can update your machine.

Thanks,
B


On 11/18/2013 04:13 PM, René Genz wrote:
> Hi Bruce, hi Matt,
>
> the other day a colleague encountered a problem.
>
> He measured a ZnO standard.
> I have the ZnO.fpj project file and can share the data. It is about 1.2
> MB in size though.
> Shall I upload it to a public file hoster or sent it to your email account?
>
>
> At first I thought this is a problem with my installation steps on
> Fedora 18 x86_64, but I could reproduce the problem with Ubuntu 12.04 i686.
> The line numbers match, so I will post only the output from dartemis on
> Ubuntu.
> Note: this file was created with the Windows version of Demeter on
> Windows 7 Enterprise 32bit (running on Fedora 18 x86_64 as VirtualBox
> 4.2.18 virtual machine). Demeter crashes in the Windows version as well
> using the steps below.
>
>
>
> steps to reproduce:
> * start dartemis from a terminal
>
> * open project file in dartemis through 'Artemis [EXAFS data analysis]'
> window: File -- open project
>
> * in the 'Artemis [Plot]' window click on [R] button
>
> * in 'Artemis [Data] ZnO' window click on the bull's eye sign to the
> right of rmax window
>
> * wait about 10 seconds; dartemis will crash with the below error message
>
>
>
>
>
> ### Ubuntu 12.04 i686
> test at test2:~$ dartemis
> Attribute (bft_rmax) does not pass the type constraint because: Num is
> not larger than 0 at accessor Demeter::Data::bft_rmax (defined at
> /home/test/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/Demeter/Data.pm
> line 406) line 7.
>          Demeter::Data::bft_rmax(Demeter::Data=HASH(0x106540d8),
> -100000.000) called at
> /home/test/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/Demeter/UI/Artemis/Data.pm
> line 909
>
> Demeter::UI::Artemis::Data::fetch_parameters(Demeter::UI::Artemis::Data=HASH(0x1085c3f4))
> called at
> /home/test/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/Demeter/UI/Artemis/Data.pm
> line 662
>
> Demeter::UI::Artemis::Data::Pluck(Demeter::UI::Artemis::Data=HASH(0x1085c3f4),
> Wx::CommandEvent=SCALAR(0x101c7ff8), "rmax") called at
> /home/test/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/Demeter/UI/Artemis/Data.pm
> line 362
>
> Demeter::UI::Artemis::Data::__ANON__(Demeter::UI::Artemis::Data=HASH(0x1085c3f4),
> Wx::CommandEvent=SCALAR(0x101c7ff8)) called at
> /home/test/perl5/bin/dartemis line 39
>          eval {...} called at /home/test/perl5/bin/dartemis line 39
>
>
>
>
>
>
> The installation steps on Ubuntu 12.04 i686 were:
>
> sudo apt-get install -y openssl-server # for my own pleasure
>
> sudo apt-get install -y gcc gfortran libx11-dev libncurses5
> libncurses5-dev libpng3 libpng3-dev libgif4 libwxgtk2.8-dev git
> build-essential gnuplot perl
>
> cd
> git clone https://github.com/newville/ifeffit.git
> cd ifeffit
> sudo ./PGPLOT_install
> ./configure
> make
> sudo make install
>
>
> cd
> git clone git://github.com/bruceravel/demeter.git
> cd demeter
>
> sudo apt-get install -y liblocal-lib-perl
> sudo apt-get install -y libnet-ssleay-perl
> sudo apt-get install -y libssl-devl # due to 'SSLeay.xs:153:25: fatal
> error: openssl/err.h: No such file or directory' at Net::SSLeay
> sudo apt-get install -y libsoap-lite-perl # automatic installation fails
> due to missing/not installable dependencies, hence using package from repo
>
>
> sudo cpan
> o conf build_requires_install_policy yes
> o conf prerequisites_policy follow
> o conf commit
>
> perl ./Build.PL
> sudo ./Build installdeps
>
> perl ./Build.PL
> sudo ./Build installdeps
>
>
> perl Build.PL
> ./Build
> ./Build test
> sudo ./Build install
>
>
>
>
> If I should test something, let me know, please.
>
>
> Thanks a lot for your help :)
>


-- 
  Bruce Ravel  ------------------------------------ bravel at 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



More information about the Ifeffit mailing list