sioyek icon indicating copy to clipboard operation
sioyek copied to clipboard

sioyek closes instantly in ArchWSL?

Open midpl0x opened this issue 2 years ago • 4 comments

I might be doing something wrong. Everything else seems to be working without issues, except sioyek. As soon as I try to launch it, it closes instantly it seems.

default_config_path: /etc/sioyek/prefs.config Error: default_config_path: /etc/sioyek/prefs.config doesn't exist! default_keys_path: /etc/sioyek/keys.config Error: default_keys_path: /etc/sioyek/keys.config doesn't exist! user_config_path: [ 0 ] /etc/xdg/sioyek/prefs_user.config user_config_path: [ 1 ] /home/casper/.config/sioyek/prefs_user.config user_keys_path: [ 0 ] /etc/xdg/sioyek/keys_user.config user_keys_path: [ 1 ] /home/casper/.config/sioyek/keys_user.config database_file_path: /home/casper/.local/share/sioyek/test.db local_database_file_path: /home/casper/.local/share/sioyek/local.db global_database_file_path: /home/casper/.local/share/sioyek/shared.db tutorial_path: /usr/share/sioyek/tutorial.pdf last_opened_file_address_path: /home/casper/.local/share/sioyek/last_document_path.txt shader_path: /usr/share/sioyek/shaders Error: shader_path: /usr/share/sioyek/shaders doesn't exist! Creating shared memory block... Shared memory created: this is the primary application. Starting IPC server... IPC server started. Segmentation fault

I have no idea what all that means? Do I need to add the configs manually? What does Segmentation fault even mean? I tried to google it, but that didnt help very much.

midpl0x avatar May 07 '23 12:05 midpl0x

I have not tested sioyek on WSL. Why don't you just use the windows version of sioyek?

ahrm avatar May 07 '23 13:05 ahrm

Apologies. The reason for using sioyek with WSL is, I simply cannot get synctex to work properly. I think it's called synctex? The double-clicking pdf and then move cursor to line in Vim. So I figured it might work better with WSL. Also, if I use sioyek in windows, I cannot have it open my latex-document, unless it's the first file to open.

I mean, it's all just QoL, but I didn't figure there'd be any issues with my solution.

midpl0x avatar May 07 '23 14:05 midpl0x

How did you install sioyek in WSL? Did you use the official appimage here? https://github.com/ahrm/sioyek/releases/tag/v2.0.0

ahrm avatar May 07 '23 14:05 ahrm

How did you install sioyek in WSL? Did you use the official appimage here? https://github.com/ahrm/sioyek/releases/tag/v2.0.0

I've tried the official release, as well as the ones from AUR.

Could the issue be, that I've added Sioyek to PATH in Windows, that it tried to open both at the same time? I dont know if that's how it works. I'm still learning linux, but maybe? I get the same error message every time, Segmentation fault. I might just be doing something completely wrong. Sorry if I'm wasting your time.

midpl0x avatar May 07 '23 15:05 midpl0x