Bug#598480: salome: Import .MED file failed -> mprint_version not found

Adam C Powell IV hazelsct at debian.org
Wed Sep 29 14:44:08 UTC 2010


On Wed, 2010-09-29 at 10:44 +0000, thomas.dallapiazza at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100929/3dc18034/attachment.pgp>


More information about the debian-science-maintainers mailing list