Artemis closes when I try to open a project file or import data
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
I cannot solve a problem that I cannot reproduce on my own computer. Please read and follow these hints on submitting a useful bug report: http://bruceravel.github.io/demeter/pods/bugs.pod.html#The_basic_rules_to_go... In particular note the location of the error message -- something that has been discussed dozens of times on this mailing list -- which I will need to see. In this case, you seem to be saying that one day Artemis worked and the next day Artemis didn't work. What changed on your computer in the interim? B -- Bruce Ravel ------------------------------------ bravel@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 ________________________________ From: ifeffit-bounces@millenia.cars.aps.anl.gov [ifeffit-bounces@millenia.cars.aps.anl.gov] on behalf of Kurinji Krishnamoorthy [kurinjikrishnamoorthy2013@u.northwestern.edu] Sent: Monday, October 20, 2014 11:31 PM To: ifeffit@millenia.cars.aps.anl.gov Subject: [Ifeffit] Artemis closes when I try to open a project file or import data 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
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@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@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
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
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@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@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
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 11:04 AM, Kurinji Krishnamoorthy < kurinjikrishnamoorthy2013@u.northwestern.edu> 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
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@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@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
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
mailto:newville@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
mailto:kurinjikrishnamoorthy2013@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@millenia.cars.aps.anl.gov mailto:Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov mailto:Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
-- Bruce Ravel ------------------------------------ bravel@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/
Hi,
I deleted the demeter.mru file and that seems to have done the trick! I can
now open project files without having Artemis crash. Thank you so much for
your help! I did not anticipate such an easy or quick fix.
I have attached the corrupted .mru file as you have requested and hope this
issue is resolved soon.
Once again, I really appreciate your assistance.
Thank you,
Kurinji
On Tue, Oct 21, 2014 at 12:18 PM, Bruce Ravel
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
mailto:newville@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
mailto:kurinjikrishnamoorthy2013@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@millenia.cars.aps.anl.gov mailto:Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov mailto:Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
-- Bruce Ravel ------------------------------------ bravel@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/
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
On 10/22/2014 01:11 AM, Kurinji Krishnamoorthy wrote:
I deleted the demeter.mru file and that seems to have done the trick! I can now open project files without having Artemis crash. Thank you so much for your help! I did not anticipate such an easy or quick fix.
I have attached the corrupted .mru file as you have requested and hope this issue is resolved soon.
Well, I am glad that solved the problem. While I don't have any clue how that file got corrupted (it's supposed to be an ini file, yours was filled with about 300 NUL characters -- weird!), I was able to craft a solution to that problem. Since Demeter uses several ini files, I found a solution that deals gracefully with any of them being corrupted in that way and pops up a window with a fairly useful error message (see attached screenshot). This fix will be included in the next release. Until then, if the log file in %APPDATA%\demeter complains about a problem in "C:/strawberry/perl/site/lib/Config/INI/Reader.pm", then the work-around is what I suggested to Kurinji. Kurinji, thanks again for reporting this bug. Cheers, B -- Bruce Ravel ------------------------------------ bravel@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/
participants (4)
-
Bruce Ravel
-
Kurinji Krishnamoorthy
-
Matt Newville
-
Ravel, Bruce