LSP: Cannot install LSP on clean installation

Describe the bug

Cannot install LSP

To Reproduce

Steps to reproduce the behavior:

  1. Open sublime in safe mode (or temporally move old config directory)
  2. Install package control
  3. Install LSP
  4. After completing there is no LSP

Expected behavior

LSP can be installed

Logs

Logs from bottom panel

startup, version: 4169 linux x64 channel: stable
executable: /opt/sublime_text/sublime_text
application: /opt/sublime_text
working dir: /home/[..]
packages path: /home/[..]/.config/sublime-text/Packages
state path: /home/[..]/.config/sublime-text/Local
zip path: /opt/sublime_text/Packages
zip path: /home/[..]/.config/sublime-text/Installed Packages
ignored_packages: ["Debugger", "Emmet", "LSP-bash", "LSP-file-watcher-chokidar", "Vintage"]
generating syntax summary
generating meta info summary
ignored packages updated to: ["Vintage"]
pre session restore time: 0.347643
startup time: 0.464316
first paint time: 0.503653
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.html_print
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.keymap
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
plugins loaded
reloading python 3.3 plugin Package Control.1_reloader
reloading python 3.3 plugin Package Control.2_bootstrap
reloading python 3.3 plugin Package Control.Package Control
Package Control: Not running package cleanup since bootstrapping is not yet complete
reloading python 3.3 plugin 0_package_control_loader.00-package_control
reloading settings Packages/User/Package Control.sublime-settings
ignored packages updated to: ["LSP", "Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: The dependency 'bracex' is not currently installed; installing...
Package Control: The dependency 'bracex' has successfully been installed or updated
Package Control: The dependency 'mdpopups' is not currently installed; installing...
Package Control: The dependency 'mdpopups' has successfully been installed or updated
Package Control: The dependency 'typing_extensions' is not currently installed; installing...
Package Control: The dependency 'typing_extensions' is not available
Package Control: The dependency 'typing_extensions' could not be installed or updated
ignored packages updated to: ["Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings

Environment (please complete the following information):

  • OS: Arch linux
  • Sublime Text version: 4169
  • LSP version: -
  • Language servers used: -

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 15 (12 by maintainers)

Most upvoted comments

The log you’ve provided is not from safe mode

That’s was a log from clean installation (emulating with removing .config/sublime-text), but log from the safe mode is almost the same

safe mode

Unfortunately, there is no way to install the latest LSP in safe mode because LSP requires Package Control v4 and upgrading Package Control from v3 to v4 requires a restart (thus safe mode won’t work).

If I understand correctly, it’s how package control works. Before installing it puts the package to the ignore list, and after installation removes the package from the list

Package Control: The dependency ‘typing_extensions’ could not be installed or updated

Not sure related or not: https://github.com/sublimelsp/LSP/blob/fc5a7c75c8cec2e6765e218f7df980315c5c9ff3/dependencies.json#L6 The canonical name for it in PC v4 is typing-extensions. I.e., the one in its URL.