[Ifeffit] Artemis closes when I try to open a project file or import data

Bruce Ravel bravel at bnl.gov
Tue Oct 21 12:18:56 CDT 2014


Kurinji,

I cannot reproduce your problem on a computer running the same
installer version that you say you are using.  I can open the project
file you attached with no problem.

The error message from the log file suggests that the problem happens
when Artemis attempts to write to the %APPDATA%\demeter\demeter.mru
file.  That is the file that is used to manage the "Recent files"
menus in Artemis and Athena.  It would seem that the data in that file
has become corrupted.

It might be sufficient to simply delete the demeter.mru file.  That
would certainly be the easiest thing to try.

You said:

   The problem began to occur when I updated my operating system.

The evidence you have shared so far does not indicate that there is a
problem with Artemis.  I don't know why updating your computer would
damage one of Demeter's files, but I have no way of knowing what
happened when you did your update.

Here's what I would recommend:

   1. Delete the demeter.mru file and see if that solves the problem

   2. Delete the entire %APPDATA%\demeter folder (*just* the demeter
      folder, *not* all of %APPDATA%!) and let Demeter recreate it the
      next time you launch Artemis or Athena

I guess you could then try reinstalling Demeter, although the evidence
suggests that the problem is corruption of content in
%APPDATA%\demeter, which would not get fixed by reinstalling Demeter.

In the absence of a hint as to what caused the corruption of the
demeter.mru file, there isn't really anything else I can do to help
you, I'm afraid.

It would be helpful to me to have a copy of the corrupted demeter.mru
file for examination.  That way I might be able to teach Demeter to
detect and avoid the problem.

B


On 10/21/2014 12:04 PM, Kurinji Krishnamoorthy wrote:
> I am running Demeter 0.9.20(64 bit) on Windows 8.1. The error report in
> the log file when I try to open any project in Artemis is :
>
> Started at 2014-10-21T10:19:08
> Win8Home Premium (64-bit)6292002007681
>
> PATH:
> c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS
> Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
> Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files
> (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files\Intel\Intel(R)
> Management Engine Components\DAL;C:\Program Files\Intel\Intel(R)
> Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R)
> Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R)
> Management Engine Components\IPT;C:\Program Files (x86)\Windows
> Live\Shared;C:\Program
> Files\MATLAB\R2014a\bin;;C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;
>
> perl version: v5.18.2
>
> @INC:
> C:/strawberry/perl/site/lib
> C:/strawberry/perl/vendor/lib
> C:/strawberry/perl/lib
> .
>
> Syntax error at line 1: '
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>                                                  ' at
> C:/strawberry/perl/site/lib/Config/INI/Reader.pm line 268, <GEN717> line 1.
> Config::INI::Reader::handle_unparsed_line(Demeter::IniReader=HASH(0x13ca3490),
> "\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}"...,
> IO::File=GLOB(0x13ca34f0)) called at
> C:/strawberry/perl/site/lib/Config/INI/Reader.pm line 120
> Config::INI::Reader::read_handle("Demeter::IniReader",
> IO::File=GLOB(0x13ca34f0)) called at
> C:/strawberry/perl/site/lib/Mixin/Linewise/Readers.pm line 103
> Mixin::Linewise::Readers::__ANON__() called at
> C:/strawberry/perl/site/lib/Demeter/MRU.pm line 40
> Demeter::MRU::push_mru("Demeter", "artemis",
> "C:\\Users\\Kurinji\\Desktop\\Kurinji\\Data\\Artemis
> projects\\goldfo"...) called at
> C:/strawberry/perl/site/lib/Demeter/UI/Artemis/Project.pm line 473
> Demeter::UI::Artemis::Project::read_project(HASH(0xdacae48)) called at
> C:/strawberry/perl/site/lib/Demeter/UI/Artemis.pm line 966
> Demeter::UI::Artemis::OnMenuClick(Wx::Frame=HASH(0x133461e0),
> Wx::CommandEvent=SCALAR(0x13342bf8)) called at
> C:/strawberry/perl/site/lib/Demeter/UI/Artemis.pm line 425
> Demeter::UI::Artemis::__ANON__(Wx::Frame=HASH(0x133461e0),
> Wx::CommandEvent=SCALAR(0x13342bf8)) called at
> C:\strawberry\perl\site\bin\dartemis.bat line 51
> eval {...} called at C:\strawberry\perl\site\bin\dartemis.bat line 51
>
>
> The problem began to occur when I updated my operating system. Prior to
> the update, the program was running fine but after the update, it
> refused to open any project files( Both Artemis project files and Athena
> project files). I am attaching a project file which I am unable to open.
>
> Thank you!
>
>
>
> On Tue, Oct 21, 2014 at 8:51 AM, Matt Newville
> <newville at cars.uchicago.edu <mailto:newville at cars.uchicago.edu>> wrote:
>
>     Kurinji,
>
>     Could this be similar to the conversation discussed at
>     http://millenia.cars.aps.anl.gov/pipermail/ifeffit/2014-August/012075.html
>     ?
>
>     It does appear quite possible to "break" an Artemis project file in
>     such a way that it cannot be re-opened by Artemis.    This can
>     happen if one does a fit and then re-runs Feff.    I don't know
>     enough about the layout of the project files to know why this happens.
>
>     But, it would be most helpful if you gave more details (like, what
>     operating system and Artemis version your using) and included a
>     project file that showed the problem.
>
>     --Matt
>     /
>
>     /
>     On Mon, Oct 20, 2014 at 10:31 PM, Kurinji Krishnamoorthy
>     <kurinjikrishnamoorthy2013 at u.northwestern.edu
>     <mailto:kurinjikrishnamoorthy2013 at u.northwestern.edu>> wrote:
>
>         Hi,
>         Artemis had been working well on my laptop for a while. But
>         today when I attempted to open a saved project file ( with a
>         *.fpj extension), the program tried to open it for a while but
>         then ultimately closed without any error messages. A similar
>         thing occurred when I tried to import an Athena data file into
>         Artemis. I was wondering if anybody had any idea how to fix this
>         problem?
>
>         Thanks,
>         Kurinji
>
>         _______________________________________________
>         Ifeffit mailing list
>         Ifeffit at millenia.cars.aps.anl.gov
>         <mailto:Ifeffit at millenia.cars.aps.anl.gov>
>         http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
>
>
>     _______________________________________________
>     Ifeffit mailing list
>     Ifeffit at millenia.cars.aps.anl.gov
>     <mailto:Ifeffit at millenia.cars.aps.anl.gov>
>     http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
>
>
>
>
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
>


-- 
  Bruce Ravel  ------------------------------------ bravel at bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Building 535A
  Upton NY, 11973

  Homepage:    http://bruceravel.github.io/home/
  Software:    https://github.com/bruceravel
  Demeter:     http://bruceravel.github.io/demeter/



More information about the Ifeffit mailing list