ahrm / sioyek

Sioyek is a PDF viewer with a focus on textbooks and research papers
https://sioyek.info/
GNU General Public License v3.0
6.75k stars 219 forks source link

Trying to attach to non-existing primary application #1089

Open lennartack opened 1 month ago

lennartack commented 1 month ago

I sometimes get this error, even though no existing sioyek is running:

default_config_path: /etc/sioyek/prefs.config
default_keys_path: /etc/sioyek/keys.config
user_config_path: [ 0 ] /etc/xdg/sioyek/prefs_user.config
user_config_path: [ 1 ] /home/lennart10/.config/sioyek/prefs_user.config
user_keys_path: [ 0 ] /etc/xdg/sioyek/keys_user.config
user_keys_path: [ 1 ] /home/lennart10/.config/sioyek/keys_user.config
database_file_path: /home/lennart10/.local/share/sioyek/test.db
local_database_file_path: /home/lennart10/.local/share/sioyek/local.db
global_database_file_path: /home/lennart10/.local/share/sioyek/shared.db
tutorial_path: /usr/share/sioyek/tutorial.pdf
last_opened_file_address_path: /home/lennart10/.local/share/sioyek/last_document_path.txt
shader_path: /usr/share/sioyek/shaders
Creating shared memory block...
Shared memory already exists: this is a secondary application.
Secondary application attaching to shared memory block...
Secondary application cannot attach to shared memory block.
Secondary application successfully attached to shared memory block.
Secondary application cannot connect to IPC server.
Socker error:  QLocalSocket::ServerNotFoundError

I don't know how to debug this. I looked at shared memory blocks with ipcs but it doesn't contain anything from sioyek.

Perhaps it has something to do with a symlink of my .local directory to somewhere else?