Sublime Forum

Trying to edit Settings throws KeyError

#1

My ST4 setup: version: 4169 osx arm64 channel: stable

I see this stack trace in the console whenever I try to open LSP settings:

`
Unable to open /Users/samir/Library/Application Support/Sublime Text/Packages/LSP/LSP.sublime-settings

Traceback (most recent call last):
File “/Users/samir/Library/Application Support/Sublime Text/Installed Packages/LSP.sublime-package/plugin/documents.py”, line 968, in clear_async

File “/Users/samir/Library/Application Support/Sublime Text/Installed Packages/LSP.sublime-package/plugin/session_view.py”, line 104, in on_before_remove

File “/Users/samir/Library/Application Support/Sublime Text/Installed Packages/LSP.sublime-package/plugin/session_buffer.py”, line 203, in remove_session_view

File “./python3.3/_weakrefset.py”, line 109, in remove
KeyError: <weakref at 0x1024c0368; to ‘SessionView’ at 0x1022a9be0>
`

What did I mess up?

My LSP settings are under the User folder … and I honestly don’t recall changing anything deliberately.

Thanks.

PS - I see the same stack trace when I try to open Preferences/Settings as well … so this may not be specific to LSP :slightly_frowning_face:

0 Likes

#2

This issue has been fixed in v1.28.0 of LSP.

Thank you.

0 Likes