I have installed Mendeley Desktop (https://www.mendeley.com/download-mendeley-desktop/ubuntu/instructions/) in my computer. It turns out that I can only run the program through the terminal, by sudo mendeleydesktop
. If I try to run it from the dock, or even through the terminal without sudo
, it doesn't run. It stars briefly (0.5 sec) but suddenly it closes.
When I try to run it in this last way, the next message is shown in the terminal:
/usr/bin/../../opt/mendeleydesktop/bin/install-mendeley-link-handler.sh: 56: /usr/bin/../../opt/mendeleydesktop/bin/install-mendeley-link-handler.sh: cannot create /home/jorge/.local/share/applications//mendeleydesktop.desktop: Permission denied
QIODevice::setTextModeEnabled (QFile, "/home/jorge/.local/share/data/Mendeley Ltd./Mendeley Desktop/log-2016-11-01.txt"): The device is not open
QIODevice::write (QFile, "/home/jorge/.local/share/data/Mendeley Ltd./Mendeley Desktop/log-2016-11-01.txt"): device not open
QSslSocket: cannot resolve SSLv2_client_method
QSslSocket: cannot resolve SSLv2_server_method
Error in finalize query "attempt to write a readonly database" : "BEGIN EXCLUSIVE"
Qt WebEngine Plugins directory not found. Trying fallback directory... Plugins as for example video codecs MAY NOT work.
Error in finalize query "attempt to write a readonly database" : "BEGIN EXCLUSIVE"
Error in open database "unable to open database file" : "/home/jorge/.local/share/data/Mendeley Ltd./Mendeley Desktop/www.mendeley.com/jbecerratg@alumnos.unex.es-5120/search-index.sqlite"
Failed to open search index
Error in prepare query "unable to open database file" : "SELECT value FROM UpdateTokens WHERE key = :key"
Error in bind value "no statement prepared"
Error in execute query "query not prepared"
Error in step query "query not active"
QObject::disconnect: Unexpected null parameter
It would be extremely helpful if you could tell me how to fix this. I would like to run the program by clicking in the icon.
Thanks in advance.
sudo chown $USER ~ -R
, since files in your home directory now seem to be owned by root. – muru Nov 01 '16 at 16:46sudo chown $USER ~ -R
exactally has done to make Mendeley work. Could you explain it in an answer, so that the question could be closed? Thanks again. – Minkowski Nov 01 '16 at 21:29