eugenpt / lite-xl-vibe

VI(m?) Bindings (with a hint of Emacs) for lite-xl.
MIT License
55 stars 7 forks source link

Hang on startup #27

Closed jvoisin closed 1 year ago

jvoisin commented 1 year ago
$ strace ~/Applications/lite-xl/lite-xl
[...]
read(15, "return { path = \"/home/jvoisin/d"..., 4096) = 251
read(15, "", 4096)                      = 0
close(15)                               = 0
unlink("/home/jvoisin/.config/lite-xl/ws/openmw-1") = 0
stat(".git", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat(".git", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
pipe2([15, 16], 0)                      = 0
fcntl(16, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
pipe2([17, 18], 0)                      = 0
fcntl(17, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
pipe2([19, 20], 0)                      = 0
fcntl(19, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f68d96e0310) = 22031
close(15)                               = 0
close(18)                               = 0
close(20)                               = 0
wait4(22031, 0x7ffc85ad6614, WNOHANG, NULL) = 0
openat(AT_FDCWD, "/home/jvoisin/.config/lite-xl/vibe-ws.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
newfstatat(0, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x4), ...}, AT_EMPTY_PATH) = 0
read(0, 0x564dcbac5d70, 1024)           = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22031, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
read(0, 
$ ~/.config/lite-xl grep -R vibe-ws.lua
plugins/lite-xl-vibe/vibeworkspace.lua:  return misc.USERDIR .. PATHSEP .. "vibe-ws.lua"
$ ~/.config/lite-xl find . -name "vibe-ws.lua"
$ ~/.config/lite-xl 

It seems that vibe is trying to load an nonexistent file.

eugenpt commented 1 year ago

Hi! Thanks for the feedback and for the wait. Unfortunately I can't reproduce the issue ( the good ol' "works on my machine", yeah..)

Does creating the file help? Does restarting?

jvoisin commented 1 year ago

Oh well, it started working now. Sigh, computers are annoying.