[Ifeffit] Problem with Demeter installation on mac OS Mojave

Gaëlle Creff gaelle.creff at unice.fr
Thu Jun 13 11:49:13 CDT 2019


Hi,
it seems to work for athena now! 
Another question concerning artemis that also crashed at the opening, with this message: 
"Restore from an autosave file"
Can you help me again?
Thanks a lot!!
Gaëlle


> Le 13 juin 2019 à 00:29, Ravel, Bruce <bravel at bnl.gov> a écrit :
> 
> 
> 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 at 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/
> 
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
> 




More information about the Ifeffit mailing list