8 January 2022
@cmaureir Here you can see why I don't love cross-posting over different apps. I was reading @RafaelTosta s error report in gitter, which looks like this:
<pysidebot> [telegram] <RafaelTosta> I'm packaging an app in pyside6 in flatpak and I came across the following error
<pysidebot> [telegram] <RafaelTosta>
<pysidebot> [telegram] <RafaelTosta> https://github.com/rafatosta/zapzap/blob/builder-flatpak/org.flatpak.zapzap.json
<pysidebot> [telegram] <RafaelTosta> Does anyone have any idea what I'm doing wrong?
<pysidebot> [telegram] <RafaelTosta> Thanks
@cmaureir What you can see is a link to a JSON file. The whole rest of the error report is missing. Which means, I have to read all channels anyway, because the bridge bots do change a lot.
@RafaelTosta Your post is only hardly readable here. You should not submit images but readable and pastable test if possible.
@RafaelTosta You seem to be unable to access the Shiboken binary. No idea what's the reason, we don't know flatpak.
@RafaelTosta can you mark your text with an editor and put it in a test file? _That_ is readable. Supplying just an image forces every reader to use that image, without the ability to use the text anywhere else. But this would be easy.
@RafaelTosta I tried an install. flatpak seems to be Linux, only. I'm a macOS user, please someone else might help.
Christian Tismer-Sperling@RafaelTosta Please send us your exact command line as well.
[tosta@fedora whatsapp]$ flatpak-builder --run build org.flatpak.zapzap.json run-app.sh
PySide6/__init__.py: Unable to import Shiboken from /app/src, /usr/lib/python38.zip, /usr/lib/python3.8, /usr/lib/python3.8/lib-dynload, /usr/lib/python3.8/site-packages, /app/lib/python3.8/site-packages
Traceback (most recent call last):
File "main.py", line 4, in <module>
from PySide6.QtWidgets import QApplication
File "/app/lib/python3.8/site-packages/PySide6/__init__.py", line 111, in <module>
_setupQtDirectories()
File "/app/lib/python3.8/site-packages/PySide6/__init__.py", line 60, in _setupQtDirectories
from shiboken6 import Shiboken
File "/app/lib/python3.8/site-packages/shiboken6/__init__.py", line 25, in <module>
from shiboken6.Shiboken import *
ImportError: libshiboken6.abi3.so.6.2: object file has no loadable segments
[tosta@fedora whatsapp]$