marksman icon indicating copy to clipboard operation
marksman copied to clipboard

Too many levels of symbolic links

Open adrianlzt opened this issue 8 months ago • 2 comments

I have a directory with many markdown files used to take notes. In that directory structure there are symbolic links doing circular paths. For example: /home/adrian/adrianRepo/web/apps/google/programacion -> ../../../programacion/google /home/adrian/adrianRepo/programacion/google/apps -> /home/adrian/adrianRepo/web/apps/google

This seems to configure marksman returning this error:

[ERROR][2024-06-12 18:04:14] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "[18:04:14 INF] <LSP Entry> Starting Marksman LSP server: {}\n"
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "---------------------------------------------------------------------------"
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "\n"
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "Marksman encountered a fatal error\nPlease, report the error at https://github.com/artempyanykh/marksman/issues\n---------------------------------------------------------------------------\n"
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "Marksman version: "
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "1.0.0.0\n"
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "OS: Arch Linux\n"
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "Arch: "
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "X64\n---------------------------------------------------------------------------\n"
[ERROR][2024-06-12 18:04:18] .../vim/lsp/rpc.lua:770    "rpc"   "/home/adrian/.local/share/nvim/mason/bin/marksman"     "stderr"        "Too many levels of symbolic links : '/home/adrian/adrianRepo/programacion/google/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/ap
ps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/programacion/apps/gmail/script.md'\n"

I'm not sure how this could be fixed, but I think circular symbolic links could be normal.

Thanks!

adrianlzt avatar Jun 12 '24 16:06 adrianlzt