Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception after latest update #1543

Closed
FichteFoll opened this issue Jan 11, 2021 · 1 comment · Fixed by #1587
Closed

Exception after latest update #1543

FichteFoll opened this issue Jan 11, 2021 · 1 comment · Fixed by #1587

Comments

@FichteFoll
Copy link

Describe the bug
I found the following in my ST console after I lauchend ST and LSP was updated by PC:

reloading python 3.3 plugin LSP.boot
Traceback (most recent call last):
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 308, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 1661, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "/home/fichte/.config/sublime-text/Installed Packages/LSP.sublime-package/boot.py", line 32, in <module>
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 1661, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "/home/fichte/.config/sublime-text/Installed Packages/LSP.sublime-package/plugin/code_actions.py", line 6, in <module>
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 1661, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "/home/fichte/.config/sublime-text/Installed Packages/LSP.sublime-package/plugin/core/registry.py", line 5, in <module>
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 1661, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "/home/fichte/.config/sublime-text/Installed Packages/LSP.sublime-package/plugin/core/windows.py", line 20, in <module>
ImportError: cannot import name Sequence

and also these later (seemingly after the LSP plugins were updated):

Traceback (most recent call last):
  File "/home/fichte/.config/sublime-text/Installed Packages/LSP.sublime-package/plugin/core/types.py", line 66, in run
  File "/home/fichte/.config/sublime-text/Installed Packages/LSP.sublime-package/plugin/core/settings.py", line 23, in _notify_listener
  File "/home/fichte/.config/sublime-text/Installed Packages/LSP.sublime-package/plugin/core/configurations.py", line 21, in update
AttributeError: 'NoneType' object has no attribute 'windows'
…
LSP: couldn't find a text change listener for ViewListener(13)

No LSP: commands can be found in the command palette, indicating that it must have failed to load.

Environment (please complete the following information):

  • OS: Arch Linux
  • Sublime Text version: 4094
  • LSP version: now 1.2.7
@FichteFoll
Copy link
Author

I should also note that a restart fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant