Re: UnicodeDecodeError

Hello,I have the same problem again. I thought that I have solved it by changing my OS an keyboard to English (US). Everything has been OK, until now... I tried to open file that I have created on the another computer (with the same configuration). Copied it via dropbox (if it is important). When I try to run the calculations in AsterStuty I see "UnicodeDecodeError". When I close and open again the .hdf file, all setting form AsterStudy dissipated and I have a blank design. It seems that everything is lost.

In debug mode the error appears when I try to activate AsterStudy (in normal mode there is no error): "Failed to activate module AsterStudy". Please find attached report from console. There are "UnicodeDecodeError" errors.

I know that this is the next problem I am writing on this forum... I do not know why I have such troubles when I try to do something in Salome-Meca. I believe these are the effect that I have no enough experience yet.

Re: UnicodeDecodeError

Hello Marcin,

MarcinX wrote:

I have the same problem again. I thought that I have solved it by changing my OS an keyboard to English (US). Everything has been OK, until now...

Well, the explanation may be a little funny. This may indeed come from the fact that in Polish, there are two weekdays that have non ASCII characters in their first three letters, e.g. Wednesday and Friday (https://en.wiktionary.org/wiki/Category … f_the_week).As some Python timestamps are used to mark the calculations (e.g. 'Thu-02-13:33:45.796'), this may lead to the aforementioned error when encountering these non-ASCII characters.This might also explain why you have this problem every now and then.

MarcinX wrote:

In debug mode the error appears when I try to activate AsterStudy (in normal mode there is no error): "Failed to activate module AsterStudy". Please find attached report from console. There are "UnicodeDecodeError" errors.

This is because timestamps are used even more in DEBUG mode, yielding an error sooner.

The workaround in the meantime would be to switch to an English locale. For example, launching Salome-Meca in the following way :

Re: UnicodeDecodeError

Hello Thomas!Yes, You're right! Today my Salome is working without coding issues. I would never think this will be caused by our native names of the weekdays. Thank You for help. I have permanently changed all time/zone info to British and now everything should be OK.Best regards,Marcin

Re: UnicodeDecodeError

Re: UnicodeDecodeError

Hello,

I had this problem with Ubuntu 18.04 and Salome_Meca_2017_0.2. I had two languages in my setup, english (US) and greek. The solution for me was to go to Settings->Region&Language and set Language->English(United States) and Formats->United States.

Re: UnicodeDecodeError

I'm having the same problem. This is the very first time in my life I see problem in software due to week days' names. It's I think because Salome prevents us from working on Fridays It seems that weekend has extended