29 thoughts on “New version of Salome-Meca for Windows

  1. 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

    Like

  2. Sorry, for the previous post … in detail shows

    Raw output message:
    No validator is valid: [“Missing values: [‘H’]”, “Missing values: [‘HZ’]”]

    thanks

    Like

  3. 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 ?

    Like

      1. 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

        Like

  4. 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

    Like

  5. 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.

    Like

    1. 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.

      Like

      1. 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

        Like

  6. 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

    Like

  7. 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,

    Like

    1. 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.

      Like

  8. 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?

    Like

  9. 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

    Like

Leave a reply to Maximilien Siavelis Cancel reply