A frequently asked question on this mailing list.... Here's one solution to the problem: Find the file Demeter.pm where ever it is installed on your computer. Open it in a text editor (not a word processor, if you use Word, you will make more problems for yourself) and scroll down to about line 1000. You should find a couple of lines that say: __PACKAGE__->meta->make_immutable; 1; Add the following three lines: package Demeter::Templates; use vars qw($S $D $P $C $F $DS $T $PT); 1; It should end up looking like this: https://github.com/bruceravel/demeter/blob/master/lib/Demeter.pm#L991-L997 To the best of my understanding, that will fix the problem. B On 6/12/19 4:52 PM, Gaëlle Creff wrote:
I have some troubles with the installation of Demeter on my mac (under OS Mojave since this week end). Athena crashed after the following message: "21:48:34: Name "Demeter::Templates::T" used only once: possible typo at /opt/local/lib/perl5/vendor_perl/5.28/Text/Template.pm line 572, <DATA> line 236.
21:48:34: Name "Demeter::Templates::F" used only once: possible typo at /opt/local/lib/perl5/vendor_perl/5.28/Text/Template.pm line 572, <DATA> line 236.
21:48:34: Name "Demeter::Templates::DS" used only once: possible typo at /opt/local/lib/perl5/vendor_perl/5.28/Text/Template.pm line 572, <DATA> line 236.
21:48:34: Name "Demeter::Templates::PT" used only once: possible typo at /opt/local/lib/perl5/vendor_perl/5.28/Text/Template.pm line 572, <DATA> line 236.
21:48:34: Name "Demeter::Templates::S" used only once: possible typo at /opt/local/lib/perl5/vendor_perl/5.28/Text/Template.pm line 572, <DATA> line 236.
21:48:34: Name "Demeter::Templates::D" used only once: possible typo at /opt/local/lib/perl5/vendor_perl/5.28/Text/Template.pm line 572, <DATA> line 236. »
-- 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/