Bug#597739: Salome: cannot load module salomeloader

Adam C Powell IV hazelsct at debian.org
Thu Sep 23 20:07:45 UTC 2010


clone 597739 -1
title -1 runSalome failed to narrow the root naming context
thanks

Hello,

It sounds like you've found another bug.  I'm afraid I don't know
Salomé's CORBA system well enough to recognize it right away, but can
confirm that the package starts correctly on my system.  Perhaps it is
missing a necessary dependency package, which I happen to have installed
on my system.

Regarding salomeloader, can you send the output of:

dpkg -S /usr/bin/salomeloader

Thanks,
Adam

On Thu, 2010-09-23 at 09:58 -0500, M. wrote:
> 
> 
> 2010/9/22 Adam C Powell IV <hazelsct at debian.org>
>         severity 597739 normal
>         thanks
>         
>         Thank you for your report.  The program should be started with
>         the
>         command runSalome not salomeloader, so the package is usable.
>         
> 
> 
> Ok, thank you. When I tried to run using runSalome I hit this error:
> 
> 
> ++++++++++++++++
> :~$ runSalome 
> runSalome running on beagle
> Configure parser: Warning : could not find user configuration file
> Searching for a free port for naming service: 2810 - OK
> Searching Naming Service ++++++++++Failed to narrow the root naming
> context
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/salome/runSalome.py", line
> 617, in useSalome
>     clt = startSalome(args, modules_list, modules_root_dir)
>   File "/usr/lib/python2.6/dist-packages/salome/runSalome.py", line
> 417, in startSalome
>     clt=orbmodule.client(args)
>   File "/usr/share/pyshared/salome/orbmodule.py", line 49, in __init__
>     self.initNS(args or {})
>   File "/usr/share/pyshared/salome/orbmodule.py", line 82, in initNS
>     sys.exit(1)
> SystemExit: 1
> 
> 
> 
> 
> --- Error during Salome launch ---
> +++++++++++++
> 
> 
> Not sure if it's my fault, if I missed some configuration.
>  
>         Also, 5.1.3-9 and newer versions should not
>         have /usr/bin/salomeloader
>         but /usr/lib/salome/bin/salomeloader.  Please check the
>         location of the
>         script, it should not be where you found it.
> 
> 
> I confirm that there is a /usr/bin/salomeloader:
> 
> 
>  :~$ ls /usr/bin/salome*
> /usr/bin/salomeloader
> 
> 
> 
> 
>         
>         When I run /usr/lib/salome/bin/salomeloader I get the same
>         error, so
>         this is a bug.  The salomeloader python module is distributed
>         in
>         /usr/share/pyshared/salome/salomeloader.py .
> 
> 
> I don't have a /usr/lib/bin/salome/bin/salomeloader, only
> salome.launch:
> 
> 
> ~$ ls /usr/lib/salome/bin/salome*
> /usr/lib/salome/bin/salome.launch
>  
>         
>         I'll investigate further when I get some more time.
> 
> 
> 
> 
> Thank you for your time. 
>         
>         -Adam
>         
>         On Wed, 2010-09-22 at 11:52 -0500, M. wrote:
>         > Package: salome
>         > Version: 5.1.3-10
>         > Severity: grave
>         > Justification: renders package unusable
>         >
>         >
>         > When trying to start the program with the command
>         >
>         > salomeloader
>         >
>         > The following error is returned:
>         >
>         > :~$ salomeloader
>         > Traceback (most recent call last):
>         >   File "/usr/bin/salomeloader", line 20, in <module>
>         >       import salomeloader
>         >       ImportError: No module named salomeloader
>         >
>         > Renders package unusable.
>         >
>         > -- System Information:
>         > Debian Release: squeeze/sid
>         >   APT prefers unstable
>         >   APT policy: (500, 'unstable'), (500, 'testing'), (500,
>         'stable'),
>         > (1, 'experimental')
>         > Architecture: amd64 (x86_64)
>         >
>         > Kernel: Linux 2.6.35.4-ispm (SMP w/2 CPU cores; PREEMPT)
>         > Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8
>         (charmap=UTF-8)
>         > Shell: /bin/sh linked to /bin/dash
>         >
>         > Versions of packages salome depends on:
>         > ii  libboost-signals1.42.0  1.42.0-4         managed signals
>         and slots
>         > library
>         > ii  libboost-system1.42.0   1.42.0-4         Operating
>         system (e.g.
>         > diagnostics
>         > ii  libboost-thread1.42.0   1.42.0-4         portable C++
>         > multi-threading
>         > ii  libc6                   2.11.2-6         Embedded GNU C
>         Library:
>         > Shared lib
>         > ii  libcos4-1               4.1.3-1+b1       omniORB CORBA
>         services
>         > stubs
>         > ii  libcppunit-1.12-1       1.12.1-1         Unit Testing
>         Library for
>         > C++
>         > ii  libexpat1               2.0.1-7          XML parsing C
>         library -
>         > runtime li
>         > ii  libgcc1                 1:4.5.0-4        GCC support
>         library
>         > ii  libgfortran3            4.5.0-4          Runtime library
>         for GNU
>         > Fortran ap
>         > ii  libgl1-mesa-glx [libgl1 7.7.1-4          A free
>         implementation of
>         > the OpenG
>         > ii  libglu1-mesa [libglu1]  7.7.1-4          The OpenGL
>         utility
>         > library (GLU)
>         > ii  libgvc5                 2.26.3-5         rich set of
>         graph drawing
>         > tools -
>         > ii  libhdf5-openmpi-1.8.4   1.8.4-patch1-2   Hierarchical
>         Data Format
>         > 5 (HDF5)
>         > ii  libmed1                 2.3.6-3          Library to
>         exchange
>         > meshed data (F
>         > ii  libmedimportcxx0        2.3.6-3          Library to
>         import old
>         > version file
>         > ii  libomniorb4-1           4.1.3-1+b1       omniORB core
>         libraries
>         > ii  libomnithread3c2        4.1.3-1+b1       C++ threading
>         library
>         > ii  libopencascade-foundati 6.3.0.dfsg.1-6   OpenCASCADE CAE
>         platform
>         > shared li
>         > ii  libopencascade-modeling 6.3.0.dfsg.1-6   OpenCASCADE CAE
>         platform
>         > shared li
>         > ii  libopencascade-ocaf-6.3 6.3.0.dfsg.1-6   OpenCASCADE CAE
>         platform
>         > shared li
>         > ii  libopencascade-ocaf-lit 6.3.0.dfsg.1-6   OpenCASCADE CAE
>         platform
>         > shared li
>         > ii  libopencascade-visualiz 6.3.0.dfsg.1-6   OpenCASCADE CAE
>         platform
>         > shared li
>         > ii  libopencascade-visualiz 6.3.0.dfsg.1-6   OpenCASCADE CAE
>         platform
>         > library d
>         > ii  libopenmpi1.3           1.4.2-4          high
>         performance message
>         > passing l
>         > ii  libpython2.6            2.6.6-5          Shared Python
>         runtime
>         > library (ver
>         > ii  libqscintilla2-5        2.4.3-1          The Qt4 port of
>         the
>         > Scintilla sour
>         > ii  libqt4-opengl           4:4.6.3-2        Qt 4 OpenGL
>         module
>         > ii  libqt4-xml              4:4.6.3-2        Qt 4 XML module
>         > ii  libqtcore4              4:4.6.3-2        Qt 4 core
>         module
>         > ii  libqtgui4               4:4.6.3-2        Qt 4 GUI module
>         > ii  libqwt5-qt4             5.2.0-1          Qt4 widgets
>         library for
>         > technical
>         > ii  libscotch-5.1           5.1.8a.dfsg-2    programs and
>         libraries
>         > for graph,
>         > ii  libssl0.9.8             0.9.8o-2         SSL shared
>         libraries
>         > ii  libstdc++6              4.5.0-4          The GNU
>         Standard C++
>         > Library v3
>         > ii  libvtk5.4               5.4.2-7+b2       Visualization
>         Toolkit - A
>         > high lev
>         > ii  libx11-6                2:1.3.3-3        X11 client-side
>         library
>         > ii  libxml2                 2.7.7.dfsg-4     GNOME XML
>         library
>         > ii  libxt6                  1:1.0.7-1        X11 toolkit
>         intrinsics
>         > library
>         > ii  omniorb4-nameserver     4.1.3-1          Transitional
>         package for
>         > the omniO
>         > ii  python                  2.6.6-1          interactive
>         high-level
>         > object-orie
>         > ii  python-central          0.6.16+nmu1      register and
>         build
>         > utility for Pyt
>         > ii  python-omniorb          3.3-1            Python bindings
>         for
>         > omniORB
>         > ii  python-vtk              5.4.2-7+b2       Python bindings
>         for VTK
>         > ii  salome-common           5.1.3-10         Numerical
>         simulation pre-
>         > and post
>         > ii  zlib1g                  1:1.2.3.5.dfsg-1 compression
>         library -
>         > runtime
>         >
>         > salome recommends no packages.
>         >
>         > Versions of packages salome suggests:
>         > ii  salome-doc                    5.1.3-10   Numerical
>         simulation pre-
>         > and post
>         > ii  salome-examples               5.1.3-10   Numerical
>         simulation pre-
>         > and post

-- 
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/20100923/3026fc08/attachment.pgp>


More information about the debian-science-maintainers mailing list