Probleme with med_test1.py
-
Hello,
I can run the script med_test1.py (in MED_install/bin/salome) with the python interpreter lauched with runSession.
It works fine.
When I try to use the python interpreter from the Desktop, it stops when checking the
families at line: print " -Name:",familyName
and give me back the python prompt.
I am not smart enough to understand why !
If somebody could help me ?
Michel-
Hello, Michel
I have no problem with the script med_test1.py in my Salome version.I launch script in such way:
- Start Salome runSalome –g
- in terminal start script execfile(“…MED_install/bin/Salome/ med_test1.py”

Script finishes without errors
Regards,
Grigory-
That is not good for me.
It seems that the method getName() returns bad characters in the variable familyName.
If I filter familyName, keeping only ascii characters, it works fine.
I am new to programming (python, C++, idl, ...) and also to CAO. Help is very important for me.
Thank you very much Grigory !
- Start Salome runSalome –g
-
Powered by
Ploneboard
