[Ifeffit] problem running (D)Artemis on non-unicode machine

Bruce Ravel bravel at bnl.gov
Mon Dec 9 09:13:27 CST 2013


I think I know what the problem is.  I am in a meeting right now, but I 
think I can put together a potential solution that you can test later in 
the day, possibly tomorrow.


On 12/09/2013 09:48 AM, Andrei Shiryaev wrote:
> Dear colleagues,
> Again I have problems running (D)Artemis on two Win7 and on Win XP
> machines with non-unicode names. I've raised the issue in September and
> Matt Newville suggested some recipe (see IFEFFIT mailing list on Sept
> 6). The suggested solution was the following:
> =======
> Edit the file
>    C:/strawberry/perl/site/lib/Demeter/UI/Artemis.pm
> so that, near the top it reads:
> use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
> $Archive::Zip::UNICODE = 1;
> =======
> The solution was great in the sense that DEMETER at least starts (it was
> not the case before). However, when I try to fit anything imported from
> old or new Athena (importing old style Artemis project does not work,
> this was apparently already reported to the list) I am getting the
> following error message (also see attached screenshot):
> =======
> error writing zip-style project at
> C:/strawberry/perl/site/lib/Demeter/UI/Artemis/Project.pm line 104
>      Demeter::UI::Artemis::Project::save_project('HASH(0xaf38efc)',
> C:/Documents and setting/ NON-UNICODE NAME..........
> ==========
> I would be grateful if an idea how to solve this obstacle.
> All the best,
> Andrei Shiryaev
> PS In the example above DArtemis is installed on D:, but standard
> installation on C: gives exactly the same result.
> _______________________________________________
> 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 --- 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