Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profiles: add redirect from matrix-mirage to mirage #3854

Merged
merged 2 commits into from
Dec 29, 2020
Merged

Conversation

reinerh
Copy link
Collaborator

@reinerh reinerh commented Dec 29, 2020

In Debian mirage is packaged as matrix-mirage (as mirage was already taken by a different program).
This creates a redirect profile.

It also adds ldconfig to private-bin (and noblacklists /sbin), as otherwise some Python/Qt related modules were not loading:

! 18:17:41 | QSystemTrayIcon::setVisible: No Icon set
~ 18:17:42 | "PyOtherSide error: Traceback (most recent call last):\n\n  File \"qrc:/src/backend/qml_bridge.py\", line 27, in <module>\n    from .pyotherside_events import CoroutineDone, LoopException\n\n  File \"qrc:/src/backend/pyotherside_events.py\", line 8, in <module>\n    from .utils import serialize_value_for_qml\n\n  File \"qrc:/src/backend/utils.py\", line 26, in <module>\n    import magic\n\n  File \"/usr/lib/python3/dist-packages/magic/__init__.py\", line 361, in <module>\n    add_compat(globals())\n\n  File \"/usr/lib/python3/dist-packages/magic/__init__.py\", line 325, in add_compat\n    from magic import compat\n\n  File \"/usr/lib/python3/dist-packages/magic/compat.py\", line 61, in <module>\n    _open = _libraries['magic'].magic_open\n\n  File \"/usr/lib/python3.9/ctypes/__init__.py\", line 387, in __getattr__\n    func = self.__getitem__(name)\n\n  File \"/usr/lib/python3.9/ctypes/__init__.py\", line 392, in __getitem__\n    func = self._FuncPtr((name_or_ordinal, self))\n\nAttributeError: matrix-mirage: undefined symbol: magic_open\n"
! 18:17:42 | Unhandled PyOtherSide error: Cannot import module: backend.qml_bridge (Traceback (most recent call last):

  File "qrc:/src/backend/qml_bridge.py", line 27, in <module>
    from .pyotherside_events import CoroutineDone, LoopException

  File "qrc:/src/backend/pyotherside_events.py", line 8, in <module>
    from .utils import serialize_value_for_qml

  File "qrc:/src/backend/utils.py", line 26, in <module>
    import magic

  File "/usr/lib/python3/dist-packages/magic/__init__.py", line 361, in <module>
    add_compat(globals())

  File "/usr/lib/python3/dist-packages/magic/__init__.py", line 325, in add_compat
    from magic import compat

  File "/usr/lib/python3/dist-packages/magic/compat.py", line 61, in <module>
    _open = _libraries['magic'].magic_open

  File "/usr/lib/python3.9/ctypes/__init__.py", line 387, in __getattr__
    func = self.__getitem__(name)

  File "/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))

AttributeError: matrix-mirage: undefined symbol: magic_open
)
~ 18:17:42 | "PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'BRIDGE' is not defined\n"
! 18:17:42 | Unhandled PyOtherSide error: Function not found: 'BRIDGE.call_backend_coro' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'BRIDGE' is not defined

Copy link
Collaborator

@rusty-snake rusty-snake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (except of the failing sort.py / profile-sort)

@reinerh reinerh merged commit 2da62c2 into master Dec 29, 2020
@reinerh reinerh deleted the mirage_profile branch December 29, 2020 21:45
@matu3ba matu3ba mentioned this pull request Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants