Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-06-25 Thread Bruce Ravel

On 06/25/2014 02:31 AM, Badari Rao wrote:

The new release is working fine in windows 7 64 bit. I was able to
re-open a saved file. Thank you very much.


Great!


However, there is one more problem happening. When I re-open a previous
file and simply press on save and then close it (I did not do anything
else at all), all the data is lost. My file size which was 179KB,
reduced to 1KB and when I re-opened it, there was nothing stored in it.
There is no problem if I do more fitting and then save the data. This is
a minor problem but a dangerous as one might lose all his hard-work done
in fitting the data.


Well, you are correct saying that it is surprising behavior for imported 
data to be lost if you save before having done a fit.  I'll look into 
it.  However, if you have done a lot of hard work, you have probably 
hit the fit button at least once.


B

--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:http://xafs.org/BruceRavel
 Software:https://github.com/bruceravel
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-06-25 Thread Bruce Ravel

On 06/25/2014 04:03 PM, Bruce Ravel wrote:

However, there is one more problem happening. When I re-open a previous
file and simply press on save and then close it (I did not do anything
else at all), all the data is lost. My file size which was 179KB,
reduced to 1KB and when I re-opened it, there was nothing stored in it.
There is no problem if I do more fitting and then save the data. This is
a minor problem but a dangerous as one might lose all his hard-work done
in fitting the data.


Well, you are correct saying that it is surprising behavior for imported
data to be lost if you save before having done a fit.  I'll look into
it.  However, if you have done a lot of hard work, you have probably
hit the fit button at least once.


The situation where the data is lost if you save a project before doing 
a fit will be fixed in the next release.


This afternoon, I have been working on setting up a computer to make a 
32-bit build of Demeter.  Once that is ready and tested, I will properly 
release 0.9.20.


B


--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:http://xafs.org/BruceRavel
 Software:https://github.com/bruceravel
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-06-24 Thread Matt Newville
I'd guess that the empty  fits/ folder is causing the  restore_fit()
function in Demeter/UI/Artemis/Project.pm to fail to restore any fits.

It's easy enough to reproduce:   Start Artemis, open any Feff input file,
run feff, load no data.   Save the project, and quit.  The project cannot
be reopened.

Don't know what the best solution is

--Matt


On Tue, Jun 24, 2014 at 11:21 AM, Badari Rao badari@gmail.com wrote:

 Hello Sir,
 I wanted to report that I am facing the same problem as the one faced by
 Mengling Stuckman (dated: Wed, 19 Mar 2014 11:53:10 -0700.)
 It does not appear to be problem with the operating system because I am
 facing the same problem in systems with windows 7 as well as windows xp.
 I have tried a fresh install on a new system with windows 7 os, and the
 same problem occurred. Even a simple artemis file in which I have just
 imported and saved the processed file from athena cannot be re-opened in
 artemis.
 Kindly sort out the problem.
 I have attached one sample artemis file which is giving the problem and
 also the demeter log file from %APPDATA%\demeter.

 https://www.mail-archive.com/search?l=ifeffit%40millenia.cars.aps.anl.govq=from:%22Mengling+Stuckman%22o=newest

 Thanking You,
 -- Yours Sincerely,
 Badari Narayana. A. R.
 Ph.D Student, Nanoscience and Nanotechnology,
 c/o Prof Rajeev Ranjan,
 Electroceramics Lab,
 Department of Materials Engineering,
 Indian Institute of Science.


 ___
 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


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-06-24 Thread Bruce Ravel

On 06/24/2014 12:21 PM, Badari Rao wrote:

I wanted to report that I am facing the same problem as the one faced by
Mengling Stuckman (dated: Wed, 19 Mar 2014 11:53:10 -0700.)
It does not appear to be problem with the operating system because I am
facing the same problem in systems with windows 7 as well as windows xp.
I have tried a fresh install on a new system with windows 7 os, and the
same problem occurred. Even a simple artemis file in which I have just
imported and saved the processed file from athena cannot be re-opened in
artemis.
Kindly sort out the problem.
I have attached one sample artemis file which is giving the problem and
also the demeter log file from %APPDATA%\demeter.



Here is an early look at the next release.  Could you give it a try and 
let me know if it solves the problem for you.  (It works for me on your 
example project file.)


https://s3.amazonaws.com/demeter4xas/Demeter_Installer_for_Windows_0.9.20_pre5.exe

B

--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:http://xafs.org/BruceRavel
 Software:https://github.com/bruceravel
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-06-24 Thread Matt Newville
 Here is an early look at the next release.  Could you give it a try and
let me know if it
 solves the problem for you.  (It works for me on your example project
file.)


https://s3.amazonaws.com/demeter4xas/Demeter_Installer_for_Windows_0.9.20_pre5.exe
https://s3.amazonaws.com/demeter4xas/Demeter_Installer_for_Windows_0.9.20_pre5.exe



On a 32-bit Windows 7 system, this isn't working for me.With a fresh
install I get


   C:\strawberry\perlbin\perl5.16.3.exe
   This version of C:\strawberry\perl\bin\perl5.16.3.exe is not compatible
with the version of
   Windows you're running. Check your computer's system information to see
whether you
   need a x86 (32-bit) or x64 (64-bit) version of the program, and then
contact the software
   publisher.


--Matt
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-06-24 Thread Bruce Ravel

On 06/24/2014 02:28 PM, Matt Newville wrote:

  Here is an early look at the next release.  Could you give it a try
and let me know if it
  solves the problem for you.  (It works for me on your example project
file.)
 
 
https://s3.amazonaws.com/demeter4xas/Demeter_Installer_for_Windows_0.9.20_pre5.exe
https://s3.amazonaws.com/demeter4xas/Demeter_Installer_for_Windows_0.9.20_pre5.exe
 


On a 32-bit Windows 7 system, this isn't working for me.With a fresh
install I get


Good point.  The thing on the other end of that link will only work on a 
64 bit system.


I am going to build a 32-bit version as well, but haven't gotten around 
to it yet.


B

--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:http://xafs.org/BruceRavel
 Software:https://github.com/bruceravel
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-06-24 Thread Shoaib Muhammad
Dear all,

Just want to add, on a 64bit Windows 8 it installed without any problem.

 (If I have understood the problem being discussed here correctly), I have
performed following steps:

1- Opened Artemis
2- Imported Atoms file and run Feff Calculation
3- Saved the project
4- Opened the saved project file, it opens with previous Feff Calculations
along with a nice message It seems that you have not actually performed a
fit in this fitting project

Regards,
/Shoaib 


-Original Message-
From: ifeffit-boun...@millenia.cars.aps.anl.gov
[mailto:ifeffit-boun...@millenia.cars.aps.anl.gov] On Behalf Of Bruce Ravel
Sent: Wednesday, June 25, 2014 3:33 AM
To: XAFS Analysis using Ifeffit
Subject: Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

On 06/24/2014 02:28 PM, Matt Newville wrote:
   Here is an early look at the next release.  Could you give it a try 
 and let me know if it   solves the problem for you.  (It works for me 
 on your example project
 file.)
  
  
 https://s3.amazonaws.com/demeter4xas/Demeter_Installer_for_Windows_0.9
 .20_pre5.exe 
 https://s3.amazonaws.com/demeter4xas/Demeter_Installer_for_Windows_0.
 9.20_pre5.exe
  


 On a 32-bit Windows 7 system, this isn't working for me.With a fresh
 install I get

Good point.  The thing on the other end of that link will only work on a
64 bit system.

I am going to build a 32-bit version as well, but haven't gotten around to
it yet.

B

--
  Bruce Ravel   bra...@bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
  Building 535A
  Upton NY, 11973

  Homepage:http://xafs.org/BruceRavel
  Software:https://github.com/bruceravel
___
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


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-03-25 Thread Bruce Ravel

On 03/20/2014 09:29 AM, Bruce Ravel wrote:

On 03/20/2014 09:22 AM, Mengling Stuckman wrote:


I'm sending a couple. One is new that I didn't do any fit. The other is
old that contained my fitting. Both of them can't open in my Artemis.


I'll take a look.

B



Mengling,

I haven't forgotten about your problem, but I also haven't yet found a 
free moment to take a look.


B


--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:http://xafs.org/BruceRavel
 Software:https://github.com/bruceravel
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-03-20 Thread Bruce Ravel

On 03/20/2014 09:22 AM, Mengling Stuckman wrote:


I'm sending a couple. One is new that I didn't do any fit. The other is
old that contained my fitting. Both of them can't open in my Artemis.


I'll take a look.

B

--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:http://xafs.org/BruceRavel
 Software:https://github.com/bruceravel
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-03-20 Thread Bruce Ravel

On 03/20/2014 09:33 AM, Mengling Yi Stuckman wrote:

Sorry I think my attachment didn't go through. Maybe the zip file will work.


They did.  You can stop sending things now ;)

I see the same problem on my computer with your AZTCLP file.

*That's* why you send an example.  Now I have a fighting chance of 
figuring out the problem.


B


--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:http://xafs.org/BruceRavel
 Software:https://github.com/bruceravel
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-03-19 Thread Bruce Ravel

On 03/19/2014 04:19 PM, Mengling Stuckman wrote:


Again, the message showing in the log file is:
Can't call method workspace without a package or object reference at
C:/strawberry/perl/site/lib/Demeter/Fit.pm line 1550.

or sometimes:

Can't call method group on an undefined value at
C:/strawberry/perl/site/lib/Demeter/UI/Artemis/Project.pm line 466.



Are you quite sure that is the only text in the log file?

Demeter first writes several lines about the environment in which
Demeter is operating.  The error message is almost always followed by
several lines of backtrace.  All of that provides context for me to
understand the proximal cause of the problem.  If you extract a part
of the log file, then that context is lost to me.


Demeter also seemed to work fine last week and only stopped working
yesterday. I didn't update anything on my work computer, so I don't
know what is causing the problem.


Artemis worked on that computer last week and does not work this week?
And you did nothing to change the computer?  Something doesn't add up.

Did your anti virus software update?  Did your institution's system
administrators perform an update?  Did you install any new software?
Anything?  It's hard for me to understand how the behavior of the
program can change simply by walking away for a few days.

Without being able to watch this on one of my computers, I can only
guess what the problem might be by examining the two lines of code you
cite.

My best guess is that something is preventing you from unpacking the
project file.  An .fpj file is nothing more than a zip file with a
different file extension.  It gets unpacked in %APPDATA%\stash (where
%APPDATA% is the location of the log file).  That means that you have
to have permission to write files to that location.  So, my best guess
is that something is preventing you from writing to that space.  I
have no guess for what the cause of that is.

So, check the permission of that folder.  Try making a file in that
folder by hand.  Try extracting a zip file buy hand into that folder.

If not that, then I'm afraid I'm out of ideas.

B


--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
 Building 535A
 Upton NY, 11973

 Homepage:http://xafs.org/BruceRavel
 Software:https://github.com/bruceravel
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-03-19 Thread Mengling Stuckman
Thank you, Bruce,

This is the complete log file:

Started at 2014-03-19T14:26:09
Win7Enterprise (64-bit) Service Pack 1 Service Pack 16176012102561

PATH:
C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;C:\strawberry1\perl\bin;C:\strawberry1\perl\site\bin;C:\strawberry1\c\bin;\\
admin.netl.doe.gov\it\Oracle11g\product\11.2.0\client_1\bin;

perl version: v5.12.3

@INC:
C:/strawberry/perl/site/lib
C:/strawberry/perl/vendor/lib
C:/strawberry/perl/lib
.

Can't call method workspace without a package or object reference at
C:/strawberry/perl/site/lib/Demeter/Fit.pm line 1550.

 or this very last sentence will change to

Can't call method group on an undefined value at
C:/strawberry/perl/site/lib/Demeter/UI/Artemis/Project.pm line 466.
if I open a different .fpj file.

Because the first few lines were similar to what I saw in Athena log file
when Athena is working, I didn't cite these.

Thank you very much for double-checking it!

I did try to check the permission of that folder by adding a file into that
folder and extracting a zip file into that folder. Neither had any problem.
I do have permission of that folder.

I also tried to open my files in Artemis installed on several other
computers in my workplace. Other computers didn't work as well. I guess it
might be a problem with the operating system/software conflict in my
workplace? I didn't install any other software by myself. All the other
updates for antivirus or Windows 7 are automatic through workplace system
management that I don't have control. I might be able to call IT support
tomorrow to see if they know anything about the system that might have
conflict with Demeter.

Without being able to watch this on one of my computers, I can only
guess what the problem might be by examining the two lines of code you
cite.

I am wondering how to examine the two lines of code I cited. Maybe I could
talk to IT support about the code and see if there is anything they or we
can do to fix that.

Really appreciated for your replies! I know this is a very personalized
computer problem, not related to your software, which might be beyond your
duty to fix. So really thankful for your help!

Mengling


On Wed, Mar 19, 2014 at 4:44 PM, Bruce Ravel bra...@bnl.gov wrote:

 On 03/19/2014 04:19 PM, Mengling Stuckman wrote:


 Again, the message showing in the log file is:
 Can't call method workspace without a package or object reference at
 C:/strawberry/perl/site/lib/Demeter/Fit.pm line 1550.

 or sometimes:

 Can't call method group on an undefined value at
 C:/strawberry/perl/site/lib/Demeter/UI/Artemis/Project.pm line 466.


 Are you quite sure that is the only text in the log file?

 Demeter first writes several lines about the environment in which
 Demeter is operating.  The error message is almost always followed by
 several lines of backtrace.  All of that provides context for me to
 understand the proximal cause of the problem.  If you extract a part
 of the log file, then that context is lost to me.


  Demeter also seemed to work fine last week and only stopped working
 yesterday. I didn't update anything on my work computer, so I don't
 know what is causing the problem.


 Artemis worked on that computer last week and does not work this week?
 And you did nothing to change the computer?  Something doesn't add up.

 Did your anti virus software update?  Did your institution's system
 administrators perform an update?  Did you install any new software?
 Anything?  It's hard for me to understand how the behavior of the
 program can change simply by walking away for a few days.

 Without being able to watch this on one of my computers, I can only
 guess what the problem might be by examining the two lines of code you
 cite.

 My best guess is that something is preventing you from unpacking the
 project file.  An .fpj file is nothing more than a zip file with a
 different file extension.  It gets unpacked in %APPDATA%\stash (where
 %APPDATA% is the location of the log file).  That means that you have
 to have permission to write files to that location.  So, my best guess
 is that something is preventing you from writing to that space.  I
 have no guess for what the cause of that is.

 So, check the permission of that folder.  Try making a file in that
 folder by hand.  Try extracting a zip file buy hand into that folder.

 If not that, then I'm afraid I'm out of ideas.


 B


 --
  Bruce Ravel   bra...@bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
  Building 535A
  Upton NY, 11973

  Homepage:http://xafs.org/BruceRavel
  Software:https://github.com/bruceravel
 ___
 Ifeffit mailing list
 Ifeffit@millenia.cars.aps.anl.gov
 http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit




Re: [Ifeffit] Bug report: Artemis cannot re-open saved projects

2014-03-19 Thread Bruce Ravel


Can you humor me and send me one of your .fpj files?  I would like to 
examine its contents.


B

On 03/19/2014 05:36 PM, Mengling Stuckman wrote:

Thank you, Bruce,

This is the complete log file:

Started at 2014-03-19T14:26:09
Win7Enterprise (64-bit) Service Pack 1Service Pack 16176012102561

PATH:
C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;C:\strawberry1\perl\bin;C:\strawberry1\perl\site\bin;C:\strawberry1\c\bin;\\admin.netl.doe.gov
http://admin.netl.doe.gov\it\Oracle11g\product\11.2.0\client_1\bin;

perl version: v5.12.3

@INC:
C:/strawberry/perl/site/lib
C:/strawberry/perl/vendor/lib
C:/strawberry/perl/lib
.

Can't call method workspace without a package or object reference at
C:/strawberry/perl/site/lib/Demeter/Fit.pm line 1550.

  or this very last sentence will change to

Can't call method group on an undefined value at
C:/strawberry/perl/site/lib/Demeter/UI/Artemis/Project.pm line 466.
if I open a different .fpj file.

Because the first few lines were similar to what I saw in Athena log
file when Athena is working, I didn't cite these.

Thank you very much for double-checking it!

I did try to check the permission of that folder by adding a file into
that folder and extracting a zip file into that folder. Neither had any
problem. I do have permission of that folder.

I also tried to open my files in Artemis installed on several other
computers in my workplace. Other computers didn't work as well. I guess
it might be a problem with the operating system/software conflict in my
workplace? I didn't install any other software by myself. All the other
updates for antivirus or Windows 7 are automatic through workplace
system management that I don't have control. I might be able to call IT
support tomorrow to see if they know anything about the system that
might have conflict with Demeter.

Without being able to watch this on one of my computers, I can only
guess what the problem might be by examining the two lines of code you
cite.

I am wondering how to examine the two lines of code I cited. Maybe I
could talk to IT support about the code and see if there is anything
they or we can do to fix that.

Really appreciated for your replies! I know this is a very personalized
computer problem, not related to your software, which might be beyond
your duty to fix. So really thankful for your help!

Mengling


On Wed, Mar 19, 2014 at 4:44 PM, Bruce Ravel bra...@bnl.gov
mailto:bra...@bnl.gov wrote:

On 03/19/2014 04:19 PM, Mengling Stuckman wrote:


Again, the message showing in the log file is:
Can't call method workspace without a package or object
reference at
C:/strawberry/perl/site/lib/__Demeter/Fit.pm line 1550.

or sometimes:

Can't call method group on an undefined value at
C:/strawberry/perl/site/lib/__Demeter/UI/Artemis/Project.pm line
466.


Are you quite sure that is the only text in the log file?

Demeter first writes several lines about the environment in which
Demeter is operating.  The error message is almost always followed by
several lines of backtrace.  All of that provides context for me to
understand the proximal cause of the problem.  If you extract a part
of the log file, then that context is lost to me.


Demeter also seemed to work fine last week and only stopped working
yesterday. I didn't update anything on my work computer, so I don't
know what is causing the problem.


Artemis worked on that computer last week and does not work this week?
And you did nothing to change the computer?  Something doesn't add up.

Did your anti virus software update?  Did your institution's system
administrators perform an update?  Did you install any new software?
Anything?  It's hard for me to understand how the behavior of the
program can change simply by walking away for a few days.

Without being able to watch this on one of my computers, I can only
guess what the problem might be by examining the two lines of code you
cite.

My best guess is that something is preventing you from unpacking the
project file.  An .fpj file is nothing more than a zip file with a
different file extension.  It gets unpacked in %APPDATA%\stash (where
%APPDATA% is the location of the log file).  That means that you have
to have permission to write files to that location.  So, my best guess
is that something is preventing you from writing to that space.  I
have no guess for what the cause of that is.

So, check the permission of that folder.  Try making a file in that
folder by hand.  Try extracting a zip file buy hand into that folder.

If not that, then I'm afraid I'm out of ideas.


B


--
  Bruce Ravel  --__-- bra...@bnl.gov
mailto:bra...@bnl.gov