5 thoughts on “A fix for Salome-Meca 2019 “Error on Save”

  1. Thanks Maxilien, this bug was a real bummer.
    Any chance you got to fix the bug with the interactive selection of GROUP_MA? There seemed to be some issue in asterstudy\gui\parameterpanel\views.py, line 2006. The structures of items in ‘names’ differs from a group to another : sometimes it has three items (name, size, occurs) but sometimes only two (name, size). It results in an error message.

    Like

    1. Hello Victor, thanks for you feedback! We don’t have time to investigate on it but since it is pure python, you can try to adapt the code and re-launch Salome. Let us know it you solve this we will be glad to integrate your contribution 🙂

      Like

      1. Maximilen,

        That is what I did. Here is the code to include at line 2006 :

        #for name, size, occurs in names:
        for grp in names:#
        if len(grp)==2:#
        name=grp[0]#
        size=grp[1]#
        occurs=1#
        else:#
        name=grp[0]#
        size=grp[1]#
        occurs=grp[2]#

        Kind of fix the problem, even if not perfect.

        Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s