seifunaru / SIA

Installer application for third party mods and tools.
GNU General Public License v3.0
6 stars 0 forks source link

Non-default path segfault #1

Open LazyMechanic opened 4 months ago

LazyMechanic commented 4 months ago

Hello. I'm having issue with the non-default path. The dialog box for selecting a custom path is not displayed and the following errors are in the logs:

Trying AUTO path
SEARCHED IN:  "/home/deck/.local/share/Steam/steamapps/compatdata/990080/pfx
/drive_c/users/steamuser/AppData/Local/Hogwarts Legacy/Saved/Config/WindowsN
oEditor/Engine.ini"
INSTALLATION DIR 1 IS NOT VALID. REQUESTING NEW PATH
qrc:/qml/data/qml/pageStyle/BasicIntroPage.qml:217:5: QML FileDialog: Failed
to load non-native FileDialog implementation:
qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml:4 m
odule "Qt.labs.folderlistmodel" is not installed

./Ascendio Portable Installer.sh: line 37:  9752 Segmentation fault      (co
re dumped) "$BASE_DIR/bin/SIA" "$@"

I tried to install qt but it didn't help

> sudo pacman -S qt6-declarative
seifunaru commented 4 months ago

Hi there!

I'm aware of this bug, but I haven't properly investigated it yet. The file dialog it's requesting should be (and most likely is) embedded inside the application. Linux is using the same build method and this bug is not present there.

I'll take a look at this bug whenever I come back to Ascendio. There are alternative ways to show a file dialog, I just ran out of time to implement it last time. The code is in dire need of a major refactorization too for the same reason.

Hopefully, I'll be able to come back to Ascendio later this summer. Feel free to check if you can find a solution in the meantime if you want :)

LazyMechanic commented 4 months ago

I couldn't get Qt fixed, so I just created a symlink in the default folder and it worked)