Jiahong Long
Jiahong Long
Not to bump an ancient thread, but has there been any progress on this as of yet? I'm currently interacting with a black-box system that executes notebooks in Papermill and...
I am also encountering this error on file open, albeit on a _very_ large (100s of GBs) monorepo with `rust-analyzer`. Tailing `:LspLog` gives ``` [ERROR][2024-02-09 23:06:30] .../lua/vim/lsp.lua:852 "LSP[rust_analyzer]" "on_error" {...
I spent some more time poking around and found [this reference to the error message](https://github.com/edubart/nelua-lang/blob/master/src/lpeglabel/lplcap.c#L457) in `lplcap.c` within the LPeg source: ```c static int pushcapture (CapState *cs) { lua_State *L...
~I may also be totally off base: found [this](https://neovim.io/doc/user/lua.html#vim.lpeg.setmaxstack()) reference to a `max stack` used by LPeg in particular:~ ``` Returns a pattern that matches any single character that appears...
> Bumping the number isn't going to be an acceptable solution. We need to understand why it is hitting this limit. My suspicion is that the deeply nested directory structure...
Making the change to `MAXRECDEPTH` appears to have gotten rid of the issue: [diff](https://github.com/j1ah0ng/neovim/commit/8f5b977ea406af46375b4a6cc63b8b285506c58e). Placing a `print(debug.traceback())` before the offending line in `glob.lua` seems to substantiate something is going wrong...
Actually instrumenting the pattern also appears to substantiate this: ``` /home/jiahong.long/.cache/bazel/_bazel_jiahong.long/b83d1475e1d59eed9b220ab04e73408d/execroot/cruise_ws/bazel-out/k8-fastbuild/bin/tools/rust/examples/bag_reading/bag_reading_build_script.out_dir/**/*.rs ``` Strangely, the glob expansion only expands to a single file: ``` ❯ echo /home/jiahong.long/.cache/bazel/_bazel_jiahong.long/b83d1475e1d59eed9b220ab04e73408d/execroot/cruise_ws/bazel-out/k8-fastbuild/bin/tools/rust/examples/bag_reading/bag_reading_build_script.out_dir/**/*.rs /home/jiahong.long/.cache/bazel/_bazel_jiahong.long/b83d1475e1d59eed9b220ab04e73408d/execroot/cruise_ws/bazel-out/k8-fastbuild/bin/tools/rust/examples/bag_reading/bag_reading_build_script.out_dir/msgs.rs ```
I am also running into this issue with the following log output: ``` ❯ ./magic-trace attach -pid 1284576 Intel PT support not found. magic-trace will continue and use sampling instead....
Just realised that [VMs are mostly not supported](https://github.com/janestreet/magic-trace#install). 😢