[Ifeffit] IFEFFIT file saving issue

Bang, Shinhyo shinhyo.bang at wsu.edu
Tue Sep 7 20:25:43 CDT 2021


Dear Matthew,

I tried to save a project to "Desktop" which had no parent folder, but the same problem occurred. I think the non-ASCII character is not the only problem.
Still, I can save onto a usb from now on. Thank you very much.

Best,
Shinhyo
________________________________
보낸 사람: Matt Newville <newville at cars.uchicago.edu> 대신 Ifeffit <ifeffit-bounces at millenia.cars.aps.anl.gov>
보낸 날짜: 2021년 9월 7일 화요일 오후 6:06
받는 사람: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
제목: Re: [Ifeffit] IFEFFIT file saving issue

Hi Shinhyo,

Again, I would ask to check that the folder you are having trouble saving to has any non-ASCII characters. For sure, ifeffit and demeter are not going to be able to handle folder or file names with non-ASCII characters.

Larch is slightly better at this - it can work with files with names in non-ASCII text encodings.  To be clear, the situation with Larch is still not ideal, especially on Windows, because
   a) the base installation folder can contain only ASCII characters, and cannot contain any spaces (apparently this is some problem
       with other libraries or possibly some other variation on point b).
   b) the concept of "localization" on Windows machines is sort of a mess and many libraries (at least, from Python) don't handle this very well.  For Larch, we recently had to explicitly set locale to be "simple C / ASCII".  That sort (or should!?) mean that you can read/write files and folders with non-ASCII characters, though I'm not certain that will work for all character encoding sets.  It's possible this will get better with time, but it's not something that we can solve.

For ifeffit / demeter there is simply no hope for non-ASCII text to ever be handled.


On Tue, Sep 7, 2021 at 7:45 PM Bang, Shinhyo <shinhyo.bang at wsu.edu<mailto:shinhyo.bang at wsu.edu>> wrote:
Dear Matthew,

I tried to save the project onto a usb, and it WORKed! Thank you so much for your help.

Best,
Shinhyo
________________________________
보낸 사람: Matthew Marcus <mamarcus at lbl.gov<mailto:mamarcus at lbl.gov>> 대신 Ifeffit <ifeffit-bounces at millenia.cars.aps.anl.gov<mailto:ifeffit-bounces at millenia.cars.aps.anl.gov>>
보낸 날짜: 2021년 9월 7일 화요일 오후 4:11
받는 사람: ifeffit at millenia.cars.aps.anl.gov<mailto:ifeffit at millenia.cars.aps.anl.gov> <ifeffit at millenia.cars.aps.anl.gov<mailto:ifeffit at millenia.cars.aps.anl.gov>>
제목: Re: [Ifeffit] IFEFFIT file saving issue

There are other characters that Windoze doesn't like in filenames: |\/*":<>?
        mam

On 9/7/2021 3:58 PM, Matt Newville wrote:
> Hi Shinhyo, Liane,
>
> On Tue, Sep 7, 2021 at 5:39 PM Bang, Shinhyo <shinhyo.bang at wsu.edu<mailto:shinhyo.bang at wsu.edu>
> <mailto:shinhyo.bang at wsu.edu>> wrote:
>
>     Thank you for the response.
>     The OS is Windows 10.
>     In addition to the symptom that was described aforehand, Athena
>     freezes when I try to save the file.
>
>
> Is it possible that the folder or file you are saving to has a space or
> other non-ASCII character in it?  I believe that non-ASCII characters
> are known to cause problems.
> Can you check whether you can save a file anywhere (maybe even the
> top-level "C:\" folder)?
>
> --Matt
>
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov<mailto:Ifeffit at millenia.cars.aps.anl.gov>
> https://urldefense.com/v3/__http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit__;!!JmPEgBY0HMszNaDT!_9MKQWuqA2MOuT45VXoI-3HKCOtMuCieGeTJVnN_NT2ZWYzBJuzUu-6yy1MIcPr5-UY$
> Unsubscribe: https://urldefense.com/v3/__http://millenia.cars.aps.anl.gov/mailman/options/ifeffit__;!!JmPEgBY0HMszNaDT!_9MKQWuqA2MOuT45VXoI-3HKCOtMuCieGeTJVnN_NT2ZWYzBJuzUu-6yy1MIeXhr1XA$
>
_______________________________________________
Ifeffit mailing list
Ifeffit at millenia.cars.aps.anl.gov<mailto:Ifeffit at millenia.cars.aps.anl.gov>
https://urldefense.com/v3/__http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit__;!!JmPEgBY0HMszNaDT!_9MKQWuqA2MOuT45VXoI-3HKCOtMuCieGeTJVnN_NT2ZWYzBJuzUu-6yy1MIcPr5-UY$
Unsubscribe: https://urldefense.com/v3/__http://millenia.cars.aps.anl.gov/mailman/options/ifeffit__;!!JmPEgBY0HMszNaDT!_9MKQWuqA2MOuT45VXoI-3HKCOtMuCieGeTJVnN_NT2ZWYzBJuzUu-6yy1MIeXhr1XA$
_______________________________________________
Ifeffit mailing list
Ifeffit at millenia.cars.aps.anl.gov<mailto:Ifeffit at millenia.cars.aps.anl.gov>
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit<https://urldefense.com/v3/__http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit__;!!JmPEgBY0HMszNaDT!9u7SkKyebYTcuRlRxMEtjYr_1c-vqvANt2qOgqU76b15NNZHldffqmcREn5Em-PkZNU$>
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit<https://urldefense.com/v3/__http://millenia.cars.aps.anl.gov/mailman/options/ifeffit__;!!JmPEgBY0HMszNaDT!9u7SkKyebYTcuRlRxMEtjYr_1c-vqvANt2qOgqU76b15NNZHldffqmcREn5EDmVQoUs$>


--
--Matt Newville <newville at cars.uchicago.edu<https://urldefense.com/v3/__http://cars.uchicago.edu__;!!JmPEgBY0HMszNaDT!9u7SkKyebYTcuRlRxMEtjYr_1c-vqvANt2qOgqU76b15NNZHldffqmcREn5EvvVbj44$>> 630-327-7411
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20210908/bb3bb24a/attachment-0001.htm>


More information about the Ifeffit mailing list