gpt4all: Qt.labs.folderlistmodel" is not installed (LINUX ONLY ISSUE) (WORKAROUND IN DISCORD)
System Info
Ubuntu Ubuntu 22.10, and some menu’s wont work in the GUI version. For example the following error shows when clicking the browse button to change the path of models:
qrc:/gpt4all/qml/LocalDocs.qml:36:5: QML FolderDialog: Failed to load non-native FolderDialog implementation: qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/FolderDialog.qml:4 module "Qt.labs.folderlistmodel" is not installed
There seems to be no workaround since I seem to have the latest folderlistmodel installed, available for Ubuntu 22.10, which is 5.15.6+dfsg-1.
Is there a specific folderlistmodel that I need to use to make this work? Multiple menu’s are not responsive, and the error keeps popping up every time I click on certain menu’s.
Information
- The official example notebooks/scripts
- My own modified scripts
Related Components
- backend
- bindings
- python-bindings
- chat-ui
- models
- circleci
- docker
- api
Reproduction
Steps to reproduce behaviour:
- Run ./chat from the terminal in the bin directory
- Click on menu, then click Downloads
- Click on the Browse button, which should trigger the ability to change the path of where the models are read from
Expected behavior
It should be expected that a new prompt would come up that would allow us to change the location of the models
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 27 (1 by maintainers)
so here is the workaround you mentioned from discord:
@announcement alerts A number of users have reported that the localdocs plugin is not working on Linux due to a bug in the ‘browse’ button for setting up the collections. For those Linux users who are experiencing this a workaround is now available:
I’ve tested this on a vanilla install of Ubuntu 22.04 with the installed version of latest gpt4all and the ‘browse’ button then works. I will work to get this figured out without the workaround for the next release, but hopefully this will get you farther for those Linux users experiencing this issue. Apologies.
I tried it on Fedora and it’s not working using your solution adapted to dnf package manager. So how is the package name there?
No, it isn’t experimental here as it has been upgraded to a fully supported part of Qt API in recent Qt. The problem is that the package managers for linux distros haven’t got the lastest Qt. There is a workaround I posted in gpt4all discord in the ##announcements channel. Someone can please dig that up? I’m going to try and fix this for the new release i’m working on now.
It works on my Ubuntu 22.04 system. Thanks!
Fedora 38, same issue.
GPT recommends not using
folderlistmodel
because it’s experimental.