gpt4all
gpt4all copied to clipboard
Installer fails to place icon on desktop on non-english systems
I get an error while i'm using the installer. When it's about the 53% a error alert interrupts the process:
can't copy file "/usr/share/applications/GPT4AllChat.desktop" to "root/Desktop/GPT4AllChat.desktop": can't create "/root/Desktop/GPT4AllChat.desktop" for write.
I don't know how to fix it.
Hello, I got the same error on kubuntu 22.04 however i was able to use the UI and the CLI nonetheless so I guess it's not that big of a deal.
Then i don't understand why mine dosen't work, i tried to open but nothing happens....
I got the same error. For me /root/Desktop doesn't exist. The real issue looked to be that I didn't have libxcb-cursor0. Running this fixed it:
sudo apt-get install libxcb-cursor0
I'm on Pop Os 22.04 @danigonper99
I get an error while i'm using the installer. When it's about the 53% a error alert interrupts the process:
can't copy file "/usr/share/applications/GPT4AllChat.desktop" to "root/Desktop/GPT4AllChat.desktop": can't create "/root/Desktop/GPT4AllChat.desktop" for write.
I don't know how to fix it.
I have the same problem
@CmPons I actually have that package installed and updated and it's still not working, it doesn't run the application no matter if I launch it from the terminal or from the icon
I had the same problem when I put it in a non-default folder. When I put it in the default folder, the application was installed. However, another error occurs on startup - "There is no application installed for "shared library" files.
I get an error while i'm using the installer. When it's about the 53% a error alert interrupts the process:
can't copy file "/usr/share/applications/GPT4AllChat.desktop" to "root/Desktop/GPT4AllChat.desktop": can't create "/root/Desktop/GPT4AllChat.desktop" for write.
I don't know how to fix it.
I had this error too. Seems its not a code issue.
- Download the .run file
- $ sudo chmod -x file-name.run
- $ ./path/to/file-name.run
If you run 3) as sudo you get the error because it is trying to create the files in the sudo home directory
Hi, I have try without sudo and it doesnt'work either. In french i have this error at 91% of installation : " Une erreur s'est produite au cours de l'installation (gpt4all) : Impossible d'écrire l'entrée bureautique dans "/home/anonymous/Desktop/GPT4All.desktop". "
And i have click to ignore and i have success message.
Same issue here:
Seems that you have a non-English Ubuntu Environment (see your language settings). And accordingly, the installer cannot create "/home/XYZ/Desktop/GPT4AllChat.desktop" because there is no folder "/home/XYZ/Desktop" (it's called "Schreibtisch" or so, depending on your language).
You could change your language settings to English and/or rename the standard folders (Desktop), then it works. In my case, the desktop icon created didn't work out-of-the-box, but this is another issue.
Or simply invoke /home/XYZ/gpt4all/bin/chat and forget about your desktop...
It looks like there are two cases:
- people running the installer with
root, which they shouldn't. Then it tries to access therootaccount'sDesktopfolder, which doesn't exist. - As you say, in certain non-English installations, the folder isn't named
Desktop, but that name is hardcoded.- Another way to solve this would be to create a symlink which points
Desktopto the desktop folder in your own language before running the installer. - See also: #873
- Another way to solve this would be to create a symlink which points
I have got the same error. I fixed it by creating a symbolic link on Bureau (because my environment is in french) ln -s Bureau Desktop
I simply created a Desktop directory and after successful installation I moved the icon to my desktop folder