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

Bruce Ravel bravel at bnl.gov
Wed Mar 19 15:44:08 CDT 2014


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  ------------------------------------ bravel at 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



More information about the Ifeffit mailing list