From: PASCALE NOYRET Date: Mon, 30 May 2022 08:35:55 +0000 (+0200) Subject: oubli push X-Git-Tag: merge_uncertainty_odysee_1210~77 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=38cc19e95ba0e6a23725c81733b64cd6d7e29634;p=tools%2Feficas.git oubli push --- diff --git a/Ihm/I_JDC.py b/Ihm/I_JDC.py index e308f4d6..74b8a488 100644 --- a/Ihm/I_JDC.py +++ b/Ihm/I_JDC.py @@ -573,7 +573,19 @@ class JDC(I_OBJECT.OBJECT): #print ('analyseXML') #print (self.procedure) self.setCurrentContext() - self.analyseFromXML() + try : + self.analyseFromXML() + except Exception as e : + print ('Erreur a la generation du fichier comm ') + import traceback + traceback.print_stack() + # Erreur lors de la conversion + l=traceback.format_exception(sys.exc_info()[0],sys.exc_info()[1], + sys.exc_info()[2]) + self.cr.exception(tr("Impossible de convertir le fichier XML\n %s", ''.join(l))) + print (e) + return + def registerParametre(self,param): """