[Ifeffit] dartemis crash
René Genz
liebundartig at freenet.de
Mon Nov 18 15:13:43 CST 2013
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 :)
--
Kind regards,
René
More information about the Ifeffit
mailing list