Skip to content

tuple index out of range #567

Jul 9, 2022 · 6 comments · 12 replies
Discussion options

You must be logged in to vote

Coming back to this, I was able to figure out why my VS Code was crashing, I was passing an incorrect (deprecated) argument in VS Code via the global settings.json file. Which puts slightly at ease because both the server (fortls) and the extension are heavily tested when it comes to how they integrate, so if something was broken it would most likely be from one of the upstream dependencies.
Thankfully that does not appear to be the case.

The error message that you are seeing is effectively passing paths (source, include, exclude, etc.) to fortls incorrectly. fortls has a function that resolves glob patterns and relative paths and then puts them into a set. That is what is failing here, P…

Replies: 6 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@awvwgk
Comment options

Comment options

You must be logged in to vote
2 replies
@gnikit
Comment options

@gnikit
Comment options

Comment options

You must be logged in to vote
4 replies
@gnikit
Comment options

@GregoireLD
Comment options

@gnikit
Comment options

@gnikit
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by gnikit
Comment options

You must be logged in to vote
5 replies
@gnikit
Comment options

@GaffaSnobb
Comment options

@gnikit
Comment options

@GaffaSnobb
Comment options

@gnikit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issues related to external dependencies e.g. fortls, GDB, C++ extension, etc.
4 participants