Hi Jo, I am sorry this is proving so difficult. Just the other day, I installed everything on a machine with Ubuntu 19.10 and saw none of these problems. The problem you are seeing is not one I have ever run into, so it;s a bit hard to comment on. It is clearly a Wx problem. Your traceback identifies it as a Wx problem. If upgrading your machine to 19.10 is not an option (I /am/ pretty happy with the 19.10...) then I have a suggestion for you to try. This suggestion assumes that you let Demeter's build script install the perl/Wx interface for you. This will be a little hands-on -- sorry for that, but it's hard to do better from afar.... First uninstall some of the things that Demeter installed. I think the best way to do this will be: cpanp uninistall Wx "cpanp" is a program that comes with perl itself. Yo willprobably have to sudo that command. Now use Ubuntu's package manager to satisfy the wxperl requirement: sudo apt install libwx-perl say yes to all of the dependencies. Now try building and installing Demeter again. Do: ./Build dist-clean then perl -I. Build.PL ./Build ./Build test ./Build install No guarantee that this will actually improve the situation. Wx is a difficult thing to build. It seems more reliable to use the one already built by the Ubuntu package manager. Good luck! B On 11/13/19 4:12 PM, Jo Melville wrote:
Hello all,
I am having some troubles successfully building Demeter from source on my Linux machine. All dependencies appeared to install correctly -- a few errors pop up upon running ./Build test (full error report attached), but as best I could discern, the errors produced were the same as those reported in this recent message https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mail-2Darchive.com_ifeffit-40millenia.cars.aps.anl.gov_msg06782.html&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=mQnkrVIV2Z-eAGsJluRhYA&m=IaSZUA0YQgFHuROytrP1t0vIjJ10pUN78QW_Gs3g-PA&s=c0GXF30BDcFlQA9B2wsa2X32LwoEnm7_tv_tJgwglPc&e= (https://www.mail-archive.com/ifeffit@millenia.cars.aps.anl.gov/msg06782.html https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mail-2Darchive.com_ifeffit-40millenia.cars.aps.anl.gov_msg06782.html&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=mQnkrVIV2Z-eAGsJluRhYA&m=IaSZUA0YQgFHuROytrP1t0vIjJ10pUN78QW_Gs3g-PA&s=c0GXF30BDcFlQA9B2wsa2X32LwoEnm7_tv_tJgwglPc&e=).
Athena appear to install correctly and even start correctly, but upon attempting to import /any/ data file into Athena, the following error message pops up (screenshot also attached):
03:50:59 PM: Unknown warnings category 'experimental::script_run' at /usr/share/perl/5.22/warnings.pm https://urldefense.proofpoint.com/v2/url?u=http-3A__warnings.pm&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=mQnkrVIV2Z-eAGsJluRhYA&m=IaSZUA0YQgFHuROytrP1t0vIjJ10pUN78QW_Gs3g-PA&s=o4ndFNBkyFm6klWRR1prtPlPLRuxEzSfTjF0E2UEXwA&e= line 254. warnings::Croaker("Unknown warnings category 'experimental::script_run'") called at /usr/share/perl/5.22/warnings.pm https://urldefense.proofpoint.com/v2/url?u=http-3A__warnings.pm&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=mQnkrVIV2Z-eAGsJluRhYA&m=IaSZUA0YQgFHuROytrP1t0vIjJ10pUN78QW_Gs3g-PA&s=o4ndFNBkyFm6klWRR1prtPlPLRuxEzSfTjF0E2UEXwA&e= line 332 warnings::unimport("warnings", "experimental::script_run") called at (eval 2455) line 1 Pod::Simple::BlackBox::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 eval 'no warnings "experimental::script_run"; qr/(*script_run: ^ .* $ )/x' called at /usr/local/share/perl/5.22.1/Pod/Simple/BlackBox.pm line 74 require Pod/Simple/BlackBox.pm called at /usr/local/share/perl/5.22.1/Pod/Simple/LinkSection.pm line 7 Pod::Simple::LinkSection::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 require Pod/Simple/LinkSection.pm called at /usr/local/share/perl/5.22.1/Pod/Simple.pm line 9 Pod::Simple::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 require Pod/Simple.pm called at /usr/share/perl/5.22/Pod/Text.pm line 34 Pod::Text::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 require Pod/Text.pm called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena/PluginRegistry.pm line 13 Demeter::UI::Athena::PluginRegistry::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 require Demeter/UI/Athena/PluginRegistry.pm called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena.pm line 2114 Demeter::UI::Athena::make_page(Demeter::UI::Athena=HASH(0x28f21b0), "PluginRegistry") called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena/IO.pm line 260 Demeter::UI::Athena::IO::test_plugins(Demeter::UI::Athena=HASH(0x28f21b0), "/home/melville/Documents/XAFS/Sample Projects/Athena and Arte"...) called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena/IO.pm line 168 Demeter::UI::Athena::IO::Import(Demeter::UI::Athena=HASH(0x28f21b0)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena.pm line 890 Demeter::UI::Athena::OnMenuClick(Wx::Frame=HASH(0xab38570), Wx::CommandEvent=SCALAR(0xdaee6e0), Demeter::UI::Athena=HASH(0x28f21b0)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena.pm line 808 Demeter::UI::Athena::__ANON__(Wx::Frame=HASH(0xab38570), Wx::CommandEvent=SCALAR(0xdaee6e0)) called at /usr/local/bin/dathena line 35 eval {...} called at /usr/local/bin/dathena line 35
03:50:59 PM: Unknown warnings category 'experimental::script_run' at /usr/share/perl/5.22/warnings.pm https://urldefense.proofpoint.com/v2/url?u=http-3A__warnings.pm&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=mQnkrVIV2Z-eAGsJluRhYA&m=IaSZUA0YQgFHuROytrP1t0vIjJ10pUN78QW_Gs3g-PA&s=o4ndFNBkyFm6klWRR1prtPlPLRuxEzSfTjF0E2UEXwA&e= line 254. warnings::Croaker("Unknown warnings category 'experimental::script_run'") called at /usr/share/perl/5.22/warnings.pm https://urldefense.proofpoint.com/v2/url?u=http-3A__warnings.pm&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=mQnkrVIV2Z-eAGsJluRhYA&m=IaSZUA0YQgFHuROytrP1t0vIjJ10pUN78QW_Gs3g-PA&s=o4ndFNBkyFm6klWRR1prtPlPLRuxEzSfTjF0E2UEXwA&e= line 332 warnings::unimport("warnings", "experimental::script_run") called at (eval 2455) line 1 Pod::Simple::BlackBox::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 eval 'no warnings "experimental::script_run"; qr/(*script_run: ^ .* $ )/x' called at /usr/local/share/perl/5.22.1/Pod/Simple/BlackBox.pm line 74 require Pod/Simple/BlackBox.pm called at /usr/local/share/perl/5.22.1/Pod/Simple/LinkSection.pm line 7 Pod::Simple::LinkSection::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 require Pod/Simple/LinkSection.pm called at /usr/local/share/perl/5.22.1/Pod/Simple.pm line 9 Pod::Simple::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 require Pod/Simple.pm called at /usr/share/perl/5.22/Pod/Text.pm line 34 Pod::Text::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 require Pod/Text.pm called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena/PluginRegistry.pm line 13 Demeter::UI::Athena::PluginRegistry::BEGIN() called at (eval 2455) line 1 eval {...} called at (eval 2455) line 1 require Demeter/UI/Athena/PluginRegistry.pm called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena.pm line 2114 Demeter::UI::Athena::make_page(Demeter::UI::Athena=HASH(0x28f21b0), "PluginRegistry") called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena/IO.pm line 260 Demeter::UI::Athena::IO::test_plugins(Demeter::UI::Athena=HASH(0x28f21b0), "/home/melville/Documents/XAFS/Sample Projects/Athena and Arte"...) called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena/IO.pm line 168 Demeter::UI::Athena::IO::Import(Demeter::UI::Athena=HASH(0x28f21b0)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena.pm line 890 Demeter::UI::Athena::OnMenuClick(Wx::Frame=HASH(0xab38570), Wx::CommandEvent=SCALAR(0xdaee6e0), Demeter::UI::Athena=HASH(0x28f21b0)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Demeter/UI/Athena.pm line 808 Demeter::UI::Athena::__ANON__(Wx::Frame=HASH(0xab38570), Wx::CommandEvent=SCALAR(0xdaee6e0)) called at /usr/local/bin/dathena line 35 eval {...} called at /usr/local/bin/dathena line 35 BEGIN failed--compilation aborted at (eval 2455) line 1.
Ignoring this message allows Athena to import data correctly at first, but clicking some buttons will consistently and immediately cause the program to close, without even an error message popping up. Actions that will induce a crash range from selecting any Energy value besides 1 in column selection to things as innocuous as clicking Help>Show Tip.
As a result, though the program is (barely) usable, it is very unstable and prone to crashing without warning, causing frustrating data loss. I'm sure that this is due to some fault on my part during the installation process, and would welcome any guidance on how best to approach this issue.
Thanks, Jo Melville
-- Jonathan "Jo" Melville https://urldefense.proofpoint.com/v2/url?u=https-3A__stuff.mit.edu_-7Emelville_&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=mQnkrVIV2Z-eAGsJluRhYA&m=IaSZUA0YQgFHuROytrP1t0vIjJ10pUN78QW_Gs3g-PA&s=x0nX6TULEu6OlIjOGHtS6sSRBuXsHvogE3wCw3OAnfY&e= PhD Candidate, Surendranath Group https://urldefense.proofpoint.com/v2/url?u=http-3A__www.interphases.org_&d=DwMFaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=mQnkrVIV2Z-eAGsJluRhYA&m=IaSZUA0YQgFHuROytrP1t0vIjJ10pUN78QW_Gs3g-PA&s=mBzYL8QuiFU1uWt8zRXi4YNmEfijJ5VwUZE0pxEbffM&e= (2016-) Contact: (620)-842-8756
/“People think of education as something they can finish.”/
/--Isaac Asimov/
_______________________________________________ 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
-- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Lead Beamline Scientist, 6BM (BMM) Building 743, Room 114 Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Beamline: https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/