-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
Initialising Language Server Error in VScode.
To Reproduce
Open a large fortran workspace.
Start with posting:
fortls --debug_filepath mpas_atm_time_integration.F --debug_rootpath . --debug_log
Testing "initialize" request:
Root = "."
REQUEST None None
fortls - Fortran Language Server 2.13.0 Initialized
Successful with errors:
fortls debugging enabled
Source directories:
C:\Users\****\src\core_atmosphere\dynamics
fortls --debug_filepath mpas_atm_time_integration.F --debug_rootpath . --debug_log --enable_code_actions --autocomplete_no_prefix --lowercase_intrinsics --nthreads=4 --incremental_sync
Testing "initialize" request:
Root = "."
REQUEST None None
long time no output
Alternatively, you can try and describe the steps that you followed to encounter the bug:
- Open a large fortran file
- error on vscode output
Setup information (please complete the following information):
- OS: windows
- Python 3.11
- fortls 2.13.0
- Code editor used VS Code
- Modern Fortran v3.2.0
Configuration information (please complete the following information):
Using default.
VScode Log
["INFO" - 14:29:50] Initialising Language Server for workspace: c:\Users\**\src\core_atmosphere\dynamics\mpas_atm_time_integration.F with command-line options: --enable_code_actions, --autocomplete_no_prefix, --lowercase_intrinsics, --nthreads=4, --incremental_sync
[Error - 14:30:11] Server initialization failed.
Message: Error sending result: '<fortls.parse_fortran.FortranFile object at 0x000001ACEBEE63D0>'. Reason: 'RecursionError('maximum recursion depth exceeded while calling a Python object')'
Code: -32603
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request