Hello everyone, I tried to install demeter on my mac (running high Sierra) and it appeared everything went well. However when I run either Athena or Artemis I get an error shown below about Demeter::Templates: showing a error and I am not sure how I can correct this error. Any help would be appreciated. Thanks in advanced, Chris -- Dr. Christopher Patridge Assistant Professor of Chemistry Dept of Chemistry SASE 315 D'Youville College 320 Porter Ave., Buffalo, NY 14201 716-829-8096
Hi Chris,
On Mon, Apr 2, 2018 at 4:15 PM, Christopher Patridge
Hello everyone,
I tried to install demeter on my mac (running high Sierra) and it appeared everything went well. However when I run either Athena or Artemis I get an error shown below about Demeter::Templates: showing a error and I am not sure how I can correct this error. Any help would be appreciated.
Thanks in advanced,
I can confirm this. I just did a fresh install of Macports on 10.13.3 (high sierra). The MacPorts install was not super easy, but once it got to the demeter install, that part went fine. I see the same problem with athena from demeter 0.9.25. I think the warnings about "Demeter::Templates::F" and so forth are meant to be warnings only -- I think they may not be related to the crash of athena. For me, hephaestus gives the same sort of warnings, but runs fine. I can install and run Demeter 0.9.26 (including using Larch as a backend) using Macports, though there are definitely some Mac-specific weirdness. Anyway, I do not believe that "install from source" is a feasible approach for demeter on OSX. I do not know enough about Macports to update the existing package. I don't know that using some other system would be an improvement. We keep seeing problems with demeter on OSX. I'm not sure what the right answer is. Anyone have any suggestions? --Matt
Thank you for the input Matt. I am glad to hear that it is not “user error”. I tried it again and I need to correct my earlier statement because Artemis GUI will stay open after the warning however Athena closes/crashes. I will try on a different system. Thanks again, Chris Sent from my iPhone
On Apr 3, 2018, at 11:52 AM, Matt Newville
wrote: Hi Chris,
On Mon, Apr 2, 2018 at 4:15 PM, Christopher Patridge
wrote: Hello everyone, I tried to install demeter on my mac (running high Sierra) and it appeared everything went well. However when I run either Athena or Artemis I get an error shown below about Demeter::Templates: showing a error and I am not sure how I can correct this error. Any help would be appreciated.
Thanks in advanced,
I can confirm this. I just did a fresh install of Macports on 10.13.3 (high sierra). The MacPorts install was not super easy, but once it got to the demeter install, that part went fine.
I see the same problem with athena from demeter 0.9.25. I think the warnings about "Demeter::Templates::F" and so forth are meant to be warnings only -- I think they may not be related to the crash of athena. For me, hephaestus gives the same sort of warnings, but runs fine.
I can install and run Demeter 0.9.26 (including using Larch as a backend) using Macports, though there are definitely some Mac-specific weirdness. Anyway, I do not believe that "install from source" is a feasible approach for demeter on OSX. I do not know enough about Macports to update the existing package. I don't know that using some other system would be an improvement.
We keep seeing problems with demeter on OSX. I'm not sure what the right answer is. Anyone have any suggestions?
--Matt
_______________________________________________ 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
Hi All,
I see this error too. This is a bit of a bodge job, but if you replace:
/opt/local/lib/perl5/vendor_perl/5.26/Text/Template.pm
With the attached template.pm from p5.24, it seems to work fine. I’d just rename the old Template.pm in the same directory, rather than deleting it – since another program may end up needing the most recent one.
Cheers,
Luke
From: Ifeffit
Luke,
Many thanks Luke. Error is gone and Athena didn't crash on open. Bruce, I
am unsure how the two were related but I am good to go.
Thanks for everyone's comments,
Chris
On Tue, Apr 3, 2018 at 12:47 PM, Luke Higgins
Hi All,
I see this error too. This is a bit of a bodge job, but if you replace:
/opt/local/lib/perl5/vendor_perl/5.26/Text/Template.pm
With the attached template.pm from p5.24, it seems to work fine. I’d just rename the old Template.pm in the same directory, rather than deleting it – since another program may end up needing the most recent one.
Cheers,
Luke
*From: *Ifeffit
on behalf of Chris Patridge *Reply-To: *XAFS Analysis using Ifeffit *Date: *Tuesday, 3 April 2018 at 19:22 *To: *XAFS Analysis using Ifeffit
*Subject: *Re: [Ifeffit] install for mac error Thank you for the input Matt. I am glad to hear that it is not “user error”. I tried it again and I need to correct my earlier statement because Artemis GUI will stay open after the warning however Athena closes/crashes.
I will try on a different system.
Thanks again,
Chris
Sent from my iPhone
On Apr 3, 2018, at 11:52 AM, Matt Newville
wrote: Hi Chris,
On Mon, Apr 2, 2018 at 4:15 PM, Christopher Patridge
wrote: Hello everyone,
I tried to install demeter on my mac (running high Sierra) and it appeared everything went well. However when I run either Athena or Artemis I get an error shown below about Demeter::Templates: showing a error and I am not sure how I can correct this error. Any help would be appreciated.
Thanks in advanced,
I can confirm this. I just did a fresh install of Macports on 10.13.3 (high sierra). The MacPorts install was not super easy, but once it got to the demeter install, that part went fine.
I see the same problem with athena from demeter 0.9.25. I think the warnings about "Demeter::Templates::F" and so forth are meant to be warnings only -- I think they may not be related to the crash of athena. For me, hephaestus gives the same sort of warnings, but runs fine.
I can install and run Demeter 0.9.26 (including using Larch as a backend) using Macports, though there are definitely some Mac-specific weirdness. Anyway, I do not believe that "install from source" is a feasible approach for demeter on OSX. I do not know enough about Macports to update the existing package. I don't know that using some other system would be an improvement.
We keep seeing problems with demeter on OSX. I'm not sure what the right answer is. Anyone have any suggestions?
--Matt
_______________________________________________ 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
_______________________________________________ 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
-- Dr. Christopher Patridge Assistant Professor of Chemistry Math and Natural Science Dept BFAC 009 D'Youville College 320 Porter Ave., Buffalo, NY 14201 716-829-8096
On 04/03/2018 01:47 PM, Luke Higgins wrote:
I see this error too. This is a bit of a bodge job, but if you replace:
/opt/local/lib/perl5/vendor_perl/5.26/Text/Template.pm
With the attached template.pm from p5.24, it seems to work fine. I’d just rename the old Template.pm in the same directory, rather than deleting it – since another program may end up needing the most recent one.
Luke, It's better than a bodge. It seems to be a good idea. It seems there was a big change in Text::Template at version 1.48. Your attachment was version 1.47 -- i.e. before this significant change. This confuses me. I've read the relevant code and I don't understand why it's a problem. Even more, I don't understand how it can be a problem only on the Mac and not everywhere. Weird. Anyway, I think replacing Text::Template as Luke suggests is a good idea for anyone seeing this problem on the Mac. B -- Bruce Ravel ------------------------------------ bravel@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/ Beamline: https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
Hi Bruce, Just for clarification (or perhaps to confuse matters more!), I do not see these warnings or crash with Demeter from github master branch with Perl 5.26 from MacPorts, which is using Text::Template v 1.52 (not 1.47 as Luke attached). I did see the warnings and crash with Demeter 0.9.25 from MacPorts. --Matt
On 04/04/2018 02:07 PM, Matt Newville wrote:
Hi Bruce,
Just for clarification (or perhaps to confuse matters more!), I do not see these warnings or crash with Demeter from github master branch with Perl 5.26 from MacPorts, which is using Text::Template v 1.52 (not 1.47 as Luke attached). I did see the warnings and crash with Demeter 0.9.25 from MacPorts.
Hmmm... OK. Good to know. I owe Joe Fowler an email about his work on an update to the MacPorts package. I should really get on that..... B -- Bruce Ravel ------------------------------------ bravel@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/ Beamline: https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
On 04/03/2018 12:52 PM, Matt Newville wrote:
I see the same problem with athena from demeter 0.9.25. I think the warnings about "Demeter::Templates::F" and so forth are meant to be warnings only -- I think they may not be related to the crash of athena. For me, hephaestus gives the same sort of warnings, but runs fine.
Those are only warnings and should not be related to whatever is causing Athena to crash. I am confused why those warnings get reported. I am using the same version of perl as Chris (5.26), so presumably the same version of Text::Template. I don't see those warnings and don't understand why they would show up on a different system. That said, I can think of a couple ways to suppress those warnings, but it is something someone would have to volunteer to test for me. B -- Bruce Ravel ------------------------------------ bravel@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/ Beamline: https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
participants (5)
-
Bruce Ravel
-
Chris Patridge
-
Christopher Patridge
-
Luke Higgins
-
Matt Newville