hello @NabilG
after the new update of tuxedo (tuxedos 4) which was rebased on ubuntu 24.04, salome stoped working again,
if I run
./mesa_salome
Traceback (most recent call last):
File "/home/franco/Programs/Salome/SALOME-9.13.0/./mesa_salome", line 77, in main
from salomeContext import SalomeContext, SalomeContextException
File "/home/franco/Programs/Salome/SALOME-9.13.0/BINARIES-CO7/KERNEL/bin/salome/salomeContext.py", line 26, in <module>
from parseConfigFile import parseConfigFile
File "/home/franco/Programs/Salome/SALOME-9.13.0/BINARIES-CO7/KERNEL/bin/salome/parseConfigFile.py", line 49, in <module>
class MultiOptSafeConfigParser(configparser.SafeConfigParser):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/franco/Programs/Salome/SALOME-9.13.0/./mesa_salome", line 1351, in <module>
main(args)
File "/home/franco/Programs/Salome/SALOME-9.13.0/./mesa_salome", line 1343, in main
except SalomeContextException as e:
^^^^^^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'SalomeContextException' where it is not associated with a value
also for info:
from distro import linux_distribution
print(linux_distribution())
('TUXEDO OS', '24.04', 'noble')
cat /etc/os-release
NAME="TUXEDO OS"
VERSION="24.04.1 LTS"
ID=tuxedo
ID_LIKE="ubuntu debian"
PRETTY_NAME="TUXEDO OS"
VERSION_ID="24.04"
HOME_URL="https://tuxedocomputers.com/"
SUPPORT_URL="https://support.tuxedocomputers.com/"
BUG_REPORT_URL="https://gitlab.com/tuxedocomputers/development/tuxedo_os/os"
PRIVACY_POLICY_URL="https://www.tuxedocomputers.com/en/Privacy-policy.tuxedo"
VERSION_CODENAME=noble
UBUNTU_CODENAME=noble
in /home/franco/Programs/Salome/SALOME-9.13.0/sat/src/internal_config/distrib.pyconf
I have "tuxedo os" : "UB"
lastly
sudo apt install python-is-python3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python-is-python3 is already the newest version (3.11.4-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
this is with salome 9.13.0 universal distribution
also, if I try salome 9.13 ubuntu 24.04 version I get (with ./salome and ./mesa_salome
SALOME_Session_Server_No_Server: error while loading shared libraries: libgdal.so.34: cannot open shared object file: No such file or directory
then it does nothing, and when I stop the command (ctr+C)
I get:
^CTraceback (most recent call last):
File "/home/franco/Desktop/SALOME-9.13.0-native-UB24.04-SRC/BINARIES-UB24.04/SALOME/bin/salome/salomeContext.py", line 747, in <module>
status = context._startSalome(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/franco/Desktop/SALOME-9.13.0-native-UB24.04-SRC/BINARIES-UB24.04/SALOME/bin/salome/salomeContext.py", line 328, in _startSalome
res = getattr(self, command)(options) # run appropriate method
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/franco/Desktop/SALOME-9.13.0-native-UB24.04-SRC/BINARIES-UB24.04/SALOME/bin/salome/salomeContext.py", line 419, in _sessionless
runSalome.runSalome()
File "/home/franco/Desktop/SALOME-9.13.0-native-UB24.04-SRC/BINARIES-UB24.04/KERNEL/bin/salome/runSalome.py", line 338, in runSalome
foreGround(args, ior_fakens_filename)
File "/home/franco/Desktop/SALOME-9.13.0-native-UB24.04-SRC/BINARIES-UB24.04/KERNEL/bin/salome/runSalome.py", line 252, in foreGround
sleep(dt)
KeyboardInterrupt
Traceback (most recent call last):
File "/home/franco/Desktop/SALOME-9.13.0-native-UB24.04-SRC/./mesa_salome", line 1075, in <module>
main(args)
File "/home/franco/Desktop/SALOME-9.13.0-native-UB24.04-SRC/./mesa_salome", line 1064, in main
out, err, status = context.runSalome(args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/franco/Desktop/SALOME-9.13.0-native-UB24.04-SRC/BINARIES-UB24.04/KERNEL/bin/salome/salomeContext.py", line 151, in runSalome
out, err = proc.communicate()
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1201, in communicate
self.wait()
File "/usr/lib/python3.12/subprocess.py", line 1264, in wait
return self._wait(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 2053, in _wait
(pid, sts) = self._try_wait(0)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 2011, in _try_wait
(pid, sts) = os.waitpid(self.pid, wait_flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt