[Ifeffit] problem with Demeter on non-unicode machine

Matt Newville newville at cars.uchicago.edu
Fri Sep 6 13:36:13 CDT 2013


Hi Andrei,

This might be relevant:

http://search.cpan.org/~adamk/Archive-Zip-1.31_01/lib/Archive/Zip.pm#Archive::Zip_Global_Variables

While I understand "I am not an expert in programming", one of the key
features of Demeter is that you can edit the source. Armed with the log
message you sent, and the documentation above, here's a suggestion: 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;

That should tell the Zip module (which seems to be what is unable to handle
the unicode string for your path) to use unicode for the path.  The
document linked above suggests it might not work, which we can choose to
read it optimistically as "it might work".

Of course, let Bruce know if that works.
Cheers,

--Matt



On Fri, Sep 6, 2013 at 11:17 AM, Andrei Shiryaev <a_shiryaev at mail.ru> wrote:

> Dear Bruce,
>
> I have a problem with running Demeter on non-unicode Win7/64 bit computer.
> The log file is attached. I am using the latest update and it is better
> than previous versions since at least something is happening, when I've
> tried previous Demeter versions, they just crashed immediately.
>
> I am not an expert in programming, but I suspect that similar problem
> existed in one of the old version of IFEFFIT as was discussed with you in
> July 2008 in the mail list:
>
> ===============
>
> A followup to the unicode issue:
>
> I use a tool called PerlApp to build stand-alone windows executables
> of my codes.  While researching how it handles temporary directory
> creation, I came across the following:
>
>   http://bugs.activestate.com/show_bug.cgi?id=43697
>
> It would seem that the issue Kleper and Shiryaev are seeing is the
> result of that bug, which has been resolved in recent versions of
> PerlApp.  I was certainly using a version of PerlApp that showed this
> problem when the previous installer was made.
>
> I am now using version 7.2, so things should work fine for non-ascii
> language speakers.  I will communicate with Kleper and Shiryaev off
> the list to ask them to test the new installer.
>
> Regards,
> B
>
> ==============
>
> I would appreciate some advice how to handle the problem.
> Regards,
> Andrei
>
> ------------------------------
>
> --
> Andrei Shiryaev
>
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
>
>


-- 
--Matt Newville <newville at cars.uchicago.edu> 630-252-0431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20130906/f9cd0b19/attachment.html>


More information about the Ifeffit mailing list