Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2018-12-03 18:51:56

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 249

Error when switching from text mode to graphical mode

Hello,
there are some typing errors, for instance a missing bracket before a list of GROUP_MA:
GROUP_MA='gr01', 'gr02')
which lead to the following error when switching to graphical mode:

Traceback (most recent call last):
  File "/home/konyaro/salome_meca/V2018.0.1_public/modules/ASTERSTUDY_201801/lib/python2.7/site-packages/asterstudy/gui/study.py", line 181, in try_call_except
    result = function(self, *args, **kwargs)
  File "/home/konyaro/salome_meca/V2018.0.1_public/modules/ASTERSTUDY_201801/lib/python2.7/site-packages/asterstudy/gui/study.py", line 1405, in setStageGraphicalMode
    mbox.setDetailedText(stage.conversion_report.get_errors())
  File "/home/konyaro/salome_meca/V2018.0.1_public/modules/ASTERSTUDY_201801/lib/python2.7/site-packages/asterstudy/common/conversion.py", line 237, in get_errors
    exc = error.original_exception
AttributeError: 'exceptions.IndentationError' object has no attribute 'original_exception'

It's very annoying because the whole study is lost after this error.

Konyaro

Last edited by konyaro (2019-11-08 06:07:37)


失敗は成功のもと (L'échec est la base de la réussite)

Offline

#2 2019-11-08 06:08:27

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 249

Re: Error when switching from text mode to graphical mode

Hello,
for information, this bug does still exist in the 2019 version.

Regards,

Konyaro


失敗は成功のもと (L'échec est la base de la réussite)

Offline