Re: [Ifeffit] Problem with Demeter installation on mac OS Mojave

2019-06-13 Thread Matt Noerpel
Hello Gaëlle,

This solution was proposed a few weeks ago on the list:

1. search “ *.autosave” file in your computer and delete the autosave file.
it is probably in the $home/horae/stash directory
2. open $home/.horae/demeter.ini file and change ‘autosave’ = false if this
problem keeps showing.

If UI does not response, click your terminal again before going back to UI
window.

If that doesn't work, delete the $home/.horae directory.

This happened to me a while ago and my memory is a bit fuzzy on which
method i used.

The ifeffit list is searchable at:
https://www.mail-archive.com/ifeffit@millenia.cars.aps.anl.gov/ and is an
invaluable resource.

Good Luck,

Matt

On Thu, Jun 13, 2019 at 12:49 PM Gaëlle Creff  wrote:

> 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  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, 
> >> 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, 
> >> 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, 
> >> 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, 
> >> 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, 
> >> 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, 
> >> line 236. »
> >>
> >
> >
> > --
> >  Bruce Ravel   bra...@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@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
>
___
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


Re: [Ifeffit] Problem with Demeter installation on mac OS Mojave

2019-06-13 Thread Gaëlle Creff
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  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,  
>> 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,  
>> 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,  
>> 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,  
>> 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,  
>> 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,  
>> line 236. »
>> 
> 
> 
> -- 
>  Bruce Ravel   bra...@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@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


Re: [Ifeffit] Problem with Demeter installation on mac OS Mojave

2019-06-12 Thread Ravel, Bruce

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,  
> 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,  
> 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,  
> 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,  
> 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,  
> 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,  
> line 236. »
> 


-- 
  Bruce Ravel   bra...@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@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit