mherrmann / mherrmann/fman

fman doesn't start

Open
#848 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

linux
Dominant language
Python
Stars
275
Forks
16
PR merge metrics
No merged PRs in 30d

Description

os: Fedora 35 compat-openssl10 installed

/opt/fman/fman
Traceback (most recent call last):
  File "PyInstaller/loader/pyiboot01_bootstrap.py", line 149, in __init__
  File "ctypes/__init__.py", line 343, in __init__
OSError: /lib64/libgio-2.0.so.0: undefined symbol: g_module_open_full

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "fman/main.py", line 21, in <module>
  File "fman/main.py", line 6, in main
  File "fman/impl/application_context.py", line 62, in run
  File "fman/impl/application_context.py", line 84, in _load_plugins
  File "fman/impl/application_context.py", line 143, in main_window
  File "fman/impl/application_context.py", line 201, in mother_fs
  File "fman/impl/application_context.py", line 205, in _get_icon_provider
  File "fman/impl/model/icon_provider.py", line 52, in __init__
  File "fman/impl/model/icon_provider.py", line 63, in _init_pgi
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "/root/fman/venv/lib64/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
  File "pgi/__init__.py", line 10, in <module>
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "/root/fman/venv/lib64/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
  File "pgi/importer.py", line 15, in <module>
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "/root/fman/venv/lib64/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
  File "pgi/clib/gir/__init__.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "/root/fman/venv/lib64/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
  File "pgi/clib/gir/gibaseinfo.py", line 12, in <module>
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "/root/fman/venv/lib64/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
  File "pgi/clib/gir/gitypelib.py", line 16, in <module>
  File "pgi/clib/_utils.py", line 99, in find_library
  File "ctypes/__init__.py", line 421, in LoadLibrary
  File "PyInstaller/loader/pyiboot01_bootstrap.py", line 151, in __init__
PyInstallerImportError: Failed to load dynlib/dll 'libgirepository-1.0.so.1'. Most probably this dynlib/dll was not found when the application was frozen.
[19163] Failed to execute script main

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce /opt/fman/fman on Fedora 35 with compat-openssl10 installed and begin with the reported libgio-2.0.so.0 traceback. Read fman/impl/model/icon_provider.py, especially _init_pgi, and the plugin-loading path in fman/impl/application_context.py. Done means the packaged application starts without the reported PyInstaller and dynamic-library errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
fedora, python
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.