-
Notifications
You must be signed in to change notification settings - Fork 18
File system loop detected #83
Comments
Hi, it's a bit hard to tell if this an issue with kakoune.cr or here but
I think there is at least something strange going with plug.kak. I think
there are actually two problems but they both appeared today after nothing
for a few months. The *debug* buffer says this everytime I open kakoune:
Error: plug.kak: can't require 'kak' module to declare highlighters for plug.kak. Check if kakrc.kak is available in your autoload.
shell stderr: <<<
find: File system loop detected; ‘/home/uver/.config/kak/plugins/plug.kak/..//kakoune.cr/lib/fifo/lib’ is part of the same file system loop as ‘/home/uver/.config/kak/plugins/plug.kak/..//kakoune.cr/lib’.
find: File system loop detected; ‘/home/uver/.config/kak/plugins/plug.kak/..//kakoune.cr/lib/rsub/lib’ is part of the same file system loop as ‘/home/uver/.config/kak/plugins/plug.kak/..//kakoune.cr/lib’.
>>>
Like I mentioned, I think the first thing seems separate. Why would you
need a kakrc in the autoload directory? As for the second and third
messages, I popped open nnn on those directories and they keep opening
infinitely. Maybe not a plug.kak issue but I'm not sure so was curious if
anyone could offer some ideas.
Thank you so much.
Hi, thanks for the report!
Yeah, I think that first line is probably because you're using autoload
directory, which should not be needed, as plug.kak was created specifically
to avoid using autoload
As for the filesystem loop... I'm not sure what'd caused it. Can you upload
your kakrc somewhere so I could reproduce it? Also try to see if previous
version tag handles this without errors - I've rewritten a lot of parts of
plug.kak recently.
… |
Thanks for the response!
Ok that makes sense. Where would you recommend I store the broken-up parts of my config? Maybe $kak_config/scripts or something and then use plug.kak to source those?
I tried reinstalling kakoune.cr both from plug.kak and my package manager several times last night and that error stayed there but it went away this afternoon when I deleted and installed it for the third time ¯\_(ツ)_/¯
Absolutely: https://github.com/2ver/dotfiles/tree/main/.config/kak
I don't use ever use the tag feature but something like
Thank you :) |
I do it like this: evaluate-commands %sh{
config_files="
commands.kak
common.kak
recentf.kak
plugins.kak
"
for file in $config_files; do
printf "%s" "
try %{
source %{${kak_config:?}/$file}
} catch %{
echo -debug %val{error}
}
"
done
} This is all I have in
Yes, it should work, but it would be better to go into
Have you been experiencing this error since? |
Great! I reorganized my config using that.
I tried figuring that out but I wasn't really sure what to edit once I got in the plug.kak directory so I just added the line back and double restarted.
Unfortunately, yes. It actually did go away for a while but, now that you replied, I looked and saw the error there again (with and without the previous tag).
It doesn't seem to be affecting anything but it's just weird. |
OK, I'll try to debug this in near future |
Hi, it's a bit hard to tell if this an issue with kakoune.cr or here but I think there is at least something strange going with plug.kak. I think there are actually two problems but they both appeared today after nothing for a few months. The *debug* buffer says this everytime I open kakoune:
Like I mentioned, I think the first thing seems separate. Why would you need a kakrc in the autoload directory? As for the second and third messages, I popped open nnn on those directories and they keep opening infinitely. Maybe not a plug.kak issue but I'm not sure so was curious if anyone could offer some ideas.
Thank you so much.
The text was updated successfully, but these errors were encountered: