Добрый день, коллеги!
При попытке запуска ГИС Аксиома 6.0 на Astra Linux из под среды разработки возникает ошибка:
/opt/axioma-gis6/python/bin/python3 /home/..../start_axioma.py
Traceback (most recent call last):
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/sitecustomize/__init__.py", line 14, in <module>
_add_dependencies_to_pythonpath()
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/sitecustomize/_init_app_data.py", line 14, in _add_dependencies_to_pythonpath
deps_folder = _get_axioma_python_dependencies_location()
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/sitecustomize/_get_app_data.py", line 31, in _get_axioma_python_dependencies_location
axioma_app_data_location = _get_axioma_app_data_location()
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/sitecustomize/_get_app_data.py", line 23, in _get_axioma_app_data_location
app_data_location = _get_writable_app_data_location()
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/sitecustomize/_get_app_data.py", line 7, in _get_writable_app_data_location
from PySide2.QtCore import QStandardPaths, QDir
ImportError: libicui18n.so.50: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/sitecustomize/__init__.py", line 19, in <module>
import axipy
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/axipy/__init__.py", line 7, in <module>
from .settings import * # no dependencies
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/axipy/settings.py", line 9, in <module>
from PySide2.QtGui import QColor
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
ImportError: libicui18n.so.50: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/GENPLAN/..../start_axioma.py", line 3, in <module>
import axipy
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/axipy/__init__.py", line 7, in <module>
from .settings import * # no dependencies
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/axipy/settings.py", line 9, in <module>
from PySide2.QtGui import QColor
File "/opt/axioma-gis6/python/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
ImportError: libicui18n.so.50: cannot open shared object file: No such file or directory
Process finished with exit code 1
стандартно Axioma запускается
[Info ] 14:44:26.588 <void axioma::Core::installTranslators()> "Load localization for language: Russian"
[Info ] 14:44:26.589 <void axioma::Core::installTranslators()> "Localization loaded: qt"
[Info ] 14:44:26.589 <void axioma::Core::installTranslators()> "Localization loaded: qt_help"
[Warning] 14:44:26.589 <void axioma::Core::installTranslators()> "Could not load localization: axioma"
[Info ] 14:44:26.589 <void axioma::Core::initialize()> Инициализация ядра
[Info ] 14:44:26.589 <void axioma::Core::printSystemInfo()> Текущие дата и время: 02.07.2024 14:44:26
[Info ] 14:44:26.589 <void axioma::Core::printSystemInfo()> Архитектура: x86_64
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> buildAbi: x86_64-little_endian-lp64
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> kernelType: linux
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> kernelVersion: 5.15.0-70-generic
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> Current OS: Astra Linux
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> Build OS: CentOS Linux 7
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> Версия: 6.0 (64 бит)
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> Дата и время сборки: Jun 25 2024 06:40:08
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> "7f01b395dd230a4e0bbb2f07554379f645ded64c"
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> Qt version: 5.15.10
[Info ] 14:44:26.590 <void axioma::Core::printSystemInfo()> "Бесплатная лицензия"
[Info ] 14:44:26.642 <void axioma::Core::printSystemInfo()> HWID: pMnCq7EsJbCTbduWahRXMA==
[Info ] 14:44:26.643 <void axioma::Core::printSystemInfo()> AXIOMA_HOME: /opt/axioma-gis6/sbin
[Info ] 14:44:26.643 <void axioma::Core::printSystemInfo()> AXIOMA_DATA: /opt/axioma-gis6/share/axioma
[Info ] 14:44:26.643 <void axioma::Core::printSystemInfo()> Application file path: /opt/axioma-gis6/bin/Axioma.GIS
[Info ] 14:44:26.643 <void axioma::Core::printSystemInfo()> Settings file: /home/...../.local/share/ESTI/Axioma.GIS/v6/settings.ini
[Info ] 14:44:26.643 <void axioma::Core::printSystemInfo()> Resource catalog: /opt/axioma-gis6/share/axioma
Axioma 6.0 ошибка запуска start_axioma.py
Re: Axioma 6.0 ошибка запуска start_axioma.py
Для запуска Аксиомы из среды разработки под Linux, необходимо удостовериться в том, чтобы в переменной среды LD_LIBRARY_PATH, находились пути /opt/axioma-gis6/bin и /opt/axioma-gis6/bin/lib. Например, export LD_LIBRARY_PATH=/opt/axioma-gis6/bin:/opt/axioma-gis6/bin/lib
Актуальные инструкции по настройке среды разработки, находятся в документации axipy, по ссылке: https://axipy.axioma-gis.ru/6.0/user_gu ... index.html
Настройка PyCharm - https://axipy.axioma-gis.ru/6.0/user_gu ... linux.html
Настройка Visual Studio Code - https://axipy.axioma-gis.ru/6.0/user_gu ... linux.html
Актуальные инструкции по настройке среды разработки, находятся в документации axipy, по ссылке: https://axipy.axioma-gis.ru/6.0/user_gu ... index.html
Настройка PyCharm - https://axipy.axioma-gis.ru/6.0/user_gu ... linux.html
Настройка Visual Studio Code - https://axipy.axioma-gis.ru/6.0/user_gu ... linux.html
Re: Axioma 6.0 ошибка запуска start_axioma.py
Спасибо большое!