sioyek icon indicating copy to clipboard operation
sioyek copied to clipboard

Trying to attach to non-existing primary application

Open lennartack opened this issue 9 months ago • 0 comments

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?

lennartack avatar May 16 '24 11:05 lennartack