On Wed, 2010-09-29 at 10:44 +0000, thomas.dallapia...@bluewin.ch wrote: > Package: salome > Version: 5.1.3-11 > Severity: normal > > While trying to import a med file, I got the following error: > > > bash: /usr/bin/salome/mprint_version: Aucun fichier ou dossier de ce type > Follow exception was occured in: > ../../../.. > /../MED_SRC_5.1.3/src/MEDWrapper/Factory/MED_Factory.cxx[125]::MED::CrWrapper > - theFileName = > > '/home/thomas/OpenFOAM/thomas-1.6.x/run/Aster_test/Aster_test.resu.med' > (../../../../VISU_SRC_5.1.3 > /src/VISU_I/VISU_Result_i.cc [559]) > > Checking MED_Factory.cxx at line 60 gives: > aStr<<"bash -c \""<<getenv > ("MED_ROOT_DIR")<<"/bin/salome/mprint_version > > In my case, MED_ROOT_DIR is /usr and mprint_version is located in > > /usr/lib/salome/bin/mprint_version so it's not surprising if the file is not > found... > Patching the file should not be a > big issue replacing "/bin/salome/" with > "/lib/salome/bin/" but I don't know how to do it... (in a clean way like > commit > > a patch in git repo)
Thank you for identifying the source of this problem, it looks very easy to patch. I'll reply to you and the bug when it's fixed in the git repository. [Do you know how to build from git?] -Adam -- GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Engineering consulting with open source tools http://www.opennovation.com/
signature.asc
Description: This is a digitally signed message part