ruby-lsp icon indicating copy to clipboard operation
ruby-lsp copied to clipboard

Stack level too deep error on indexing project with docusign_esign gem dependency

Open Galathius opened this issue 1 year ago • 5 comments

Description

Recently tried to switch from my previous IDE to vscode using ruby-lsp extension. On one of my project, I got the indexing process stuck with the message Ruby LSP: indexing files: 33% completed.

Checking Output tab led me to Stack level too deep error:

Logs 2024-05-29 14:59:19.596 [info] (hireglobal-backend) #<0x000000010607e930 run>

Galathius avatar May 29 '24 13:05 Galathius

Thanks for the report. I'm trying to reproduce this failure but not seeing it yet, what version of the docusign_esign gem are you using?

andyw8 avatar May 29 '24 14:05 andyw8

Hi @andyw8! Here are details:

  • docusign_esign gem version – 3.26.0
  • ruby version – ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin23] (without YJIT)
  • OS – MacOs Sonoma 14.5
  • VSCode version – 1.89.1
  • Ruby LSP version – 0.16.7

Galathius avatar May 29 '24 14:05 Galathius

Thanks, I was able to reproduce on Ruby 3.2.2, it's fine on 3.3.1

FYI @kddnewton

andyw8 avatar May 29 '24 14:05 andyw8

(one thing I don't yet understand is why ruby-lsp-doctor doesn't fail for this...)

andyw8 avatar May 29 '24 14:05 andyw8

Possible fix/workaround: https://github.com/Shopify/ruby-lsp/pull/2097

andyw8 avatar May 29 '24 17:05 andyw8

This issue is being marked as stale because there was no activity in the last 2 months

github-actions[bot] avatar Jul 29 '24 12:07 github-actions[bot]