The version 1.0 of Salome-Meca 2017 for Windows is available on our Download page. This new version integrates the corrections of AsterStudy’s bugs (fixed by Salome-Meca 2017.0.2 Linux version) and some Windows specific issues.

The version 1.0 of Salome-Meca 2017 for Windows is available on our Download page. This new version integrates the corrections of AsterStudy’s bugs (fixed by Salome-Meca 2017.0.2 Linux version) and some Windows specific issues.
Nice work, congratulations !
Note that on a virgin Windows OS you may need to install the Visual C++ 2010 redistributable library: https://www.microsoft.com/en-US/download/details.aspx?id=13523
LikeLiked by 1 person
Hi, I’ve some problem:
a) sometimes when I close and reopen a work I get a “Fatal error: ACCESS VIOLATION at address 0x0000000000000000 during ‘READ’ operation”
b) in AsterStudy, in model definition, when I “AFFE_CARA_ELEM” to a rectangular beam with the four value HY, HZ, EPY, EPZ and click OK in input CARA I obtain an
“Error: Invalid input in CARA. Do you want to save the changes any way? Y/N/ShowDetails”
and in details
What’s wrong?
Can someone help me?
Thanks
LikeLike
you can read the FAQ section Common issues: When editing a command in AsterStudy, I got an “Invalid input” error
LikeLike
This FAQ link is dead…
LikeLike
It is now fixed, sorry for the trouble
LikeLike
Sorry, for the previous post … in detail shows
Raw output message:
No validator is valid: [“Missing values: [‘H’]”, “Missing values: [‘HZ’]”]
thanks
LikeLike
i have a problem .
Run case “RunCase_1” calculations process started Starting “RunCase_1:Stage_1″… Stage “RunCase_1:Stage_1” start calculation (jobid=0) Copying result u’F:\\tutorial-software\\salome\\hasil-tutorial\\pipa-sambung-aster-hasil.med’ ERROR: Copy failed: [Errno 2] No such file or directory: u’F:/tutorial-software/salome/hasil-tutorial/elbow-modification-aster_Files\\RunCase_1\\Result-Stage_1\\pipa-sambung-aster-hasil.med’ 1 result file(s) has(have) not been copied to their destination. Following stages will probably fail. Stage “RunCase_1:Stage_1” calculation failed. Interruption
what should i do ?
LikeLike
you can read the FAQ section Common issues: At the end of a run, AsterStudy failed to copy the result file
LikeLike
The Common issues cannot be read!
Michele
LikeLike
It’s impossible to reach the FAQ session described: “At the end of a run, AsterStudy failed to copy the result file”. How can I reach this FAQ?
Thanks
Michele
LikeLike
It is now fixed, sorry for the trouble
LikeLike
Hello. I have the same problem.
How did you solve it?
thank you
LikeLike
The FAQ section has been deleted 😦
LikeLike
The FAQ section is back
LikeLike
Dear colleagues,
I am getting a constant message window saying “Sorry it failed again” and the details come as below:
———————————————————————————————————————–
ParseError(‘Failed to load JSON: No JSON object could be decoded.’,)
Traceback (most recent call last):
File “D:\Pessoais\Salome-2017-1\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\gui\study.py”, line 385, in _load_ajs
history = History.load(file_name, **args)
File “D:\Pessoais\Salome-2017-1\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\history.py”, line 297, in load
return AbstractDataModel.load(file_name, serializer, **kwargs)
File “D:\Pessoais\Salome-2017-1\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\abstract_data_model.py”, line 802, in load
model = serializer.load(file_name, **kwargs)
File “D:\Pessoais\Salome-2017-1\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\serializer.py”, line 91, in load
history = json2history(js_text, strict=self._strict, **kwargs)
File “D:\Pessoais\Salome-2017-1\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\serializer.py”, line 323, in json2history
bdocument = json2document(js_text)
File “D:\Pessoais\Salome-2017-1\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\serializer.py”, line 303, in json2document
json_format.Parse(js_text, bdocument)
File “D:\Pessoais\Salome-2017-1\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\google\protobuf\json_format.py”, line 368, in Parse
raise ParseError(‘Failed to load JSON: {0}.’.format(str(e)))
ParseError: Failed to load JSON: No JSON object could be decoded.
———————————————————————————————————————–
Would anyone give me a hint about what is happening? CAW used to work up to a few days ago, but is failing repeatedly now.
I thank you very much for any assistance.
Hélio C. Bortolon
LikeLike
PS: The command window says:
——————————————————————————–
Warning: python library for AsterStudy cannot be found
No module named ASTERSTUDY
No module named ASTERSTUDYGUI
——————————————————————————–
despite the fact that both are in the directories tree.
LikeLike
PS2: After the confirmation I received in another post, I have been using the 2017.0.2 version.
The most weird part is that it used to work fine and, all of a sudden, got somehow broken
Even a reinstallation didn’t worked.
LikeLike
It’s a warning, nothing to worry about
LikeLike
Same problem here:
File “C:\…\Tools\sm-2017-w64-1-0\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\google\protobuf\json_format.py”, line 368, in Parse
raise ParseError(‘Failed to load JSON: {0}.’.format(str(e)))
ParseError: Failed to load JSON: No JSON object could be decoded.
Cannot start AsterStudy module
LikeLike
I am getting the same error “Sorry, it failed again. The study will be loaded in failsafe mode”. This makes me impossible to build a case and opening few days after it.
A local screen showing problems with some JSON is also shown.
“ParseError(‘Failed to load JSON: No JSON object could be decoded.’,)
Traceback (most recent call last):
File “E:\SalomeMeca\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\gui\study.py”, line 385, in _load_ajs
history = History.load(file_name, **args)
File “E:\SalomeMeca\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\history.py”, line 297, in load
return AbstractDataModel.load(file_name, serializer, **kwargs)
File “E:\SalomeMeca\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\abstract_data_model.py”, line 802, in load
model = serializer.load(file_name, **kwargs)
File “E:\SalomeMeca\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\serializer.py”, line 91, in load
history = json2history(js_text, strict=self._strict, **kwargs)
File “E:\SalomeMeca\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\serializer.py”, line 323, in json2history
bdocument = json2document(js_text)
File “E:\SalomeMeca\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\datamodel\serializer.py”, line 303, in json2document
json_format.Parse(js_text, bdocument)
File “E:\SalomeMeca\MODULES\ASTERSTUDY\RELEASE\ASTERSTUDY_INSTALL\lib\python2.7\site-packages\asterstudy\google\protobuf\json_format.py”, line 368, in Parse
raise ParseError(‘Failed to load JSON: {0}.’.format(str(e)))
ParseError: Failed to load JSON: No JSON object could be decoded.
”
This problem occurs in AsterStudy with studies that were created and tried to re-open few days after the creation day.
When this happens, I can only close the study by using the kill script and closing the “black windows”, as the global environment doesn’t work more.
Reading in posts, I tried to dissable the UNDO/REDO feature, in order to avoid problems with the TMP directory.
The problem is not fixed by this way.
What is the problem and how can I fix it?
Thanks,
Alex
LikeLike
Hi, again.
Reading the on-screen messages kindly provided by Hélio Carlos Bortolon, it seems to be the same problem. Different folders, but the same error messages and links with JSON objects.
Regards,
LikeLike
Hi
I’got the same “JSON Perse Error” from Python as I try to activate Aster Module.
(both CAW2017 & 2018, tried on 2 windows PCs)
As tracing back the Error by reading original python script, it seems the Error occures when python try to read the “***_asterstudy.ajs” in “InstallDir\TMP\#####” folder.
(##### is 5digit number and differes every time.)
ajs file is created as you load hdf file which was saved before.
this ajs file is BLANK text file with “CRLF” line feed code.
I found some say python2.* fails to read JSON with CRLF and you have to use LF.
So changing this line feed code might solve the problem but I dont know how.
I hope this be helpful.
thanks.
LikeLike
Hello,
Did you solve this issue ? Same problem here.
Thanks,
LikeLike
I’m now getting the “sorry if failed again!” error.
Has there been any resolution to this problem?
Can the folks at code-aster-windows implement a real message board (or create a sub group at the code-aster.org forum) for these problems?
LikeLike
I’ve got the same problem. Did anything change according to this issue? It would be nice, if the software creators could take care of this, since it is nice program and the bug doesn’t let using it. Thank you in advance!
Damian
LikeLike
Unfortunately the software creators do not have resources to fix this issue yet. This is open source, so feel free to contribute as well by digging out or correcting bugs and by providing patches if you can.
LikeLike
Where is the source repository?
LikeLike
Found it: https://bitbucket.org/siavelis/codeaster-windows-src
LikeLike
As an alternative, one can use “File->Dump Study…” to save data from modules Geom and SMesh and “File->Load script…” to restore all data into a clean new Study. This may be an alternative to try opening corrupted hdf files.
LikeLike