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@cars.uchicago.edu> ´ë½Å Ifeffit <ifeffit-bounces@millenia.cars.aps.anl.gov>
º¸³½ ³¯Â¥: 2021³â 9¿ù 7ÀÏ È­¿äÀÏ ¿ÀÈÄ 6:06
¹Þ´Â »ç¶÷: XAFS Analysis using Ifeffit <ifeffit@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@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@lbl.gov> ´ë½Å Ifeffit <ifeffit-bounces@millenia.cars.aps.anl.gov>
º¸³½ ³¯Â¥: 2021³â 9¿ù 7ÀÏ È­¿äÀÏ ¿ÀÈÄ 4:11
¹Þ´Â »ç¶÷: ifeffit@millenia.cars.aps.anl.gov <ifeffit@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@wsu.edu
> <mailto:shinhyo.bang@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@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@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@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


--
--Matt Newville <newville at cars.uchicago.edu> 630-327-7411