Giter Club home page Giter Club logo

Comments (15)

jfcherng avatar jfcherng commented on June 26, 2024 1

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

Not sure related or not:

"typing_extensions",

The canonical name for it in PC v4 is typing-extensions. I.e., the one in its URL.

from lsp.

istudyatuni avatar istudyatuni commented on June 26, 2024 1

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

from lsp.

jfcherng avatar jfcherng commented on June 26, 2024 1

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).

from lsp.

predragnikolic avatar predragnikolic commented on June 26, 2024

Cannot reproduce.


  1. Does restarting ST help? Usually a restart of Sublime Text helps.

  2. From the command palette select Preferences: Package Control and check if LSP didn't got put in "in_process_packages", if yes, remove it.

  3. Check if "LSP" is put in "ignored_packages" in Preferences.sublime-settings. If yes, remove it.

from lsp.

istudyatuni avatar istudyatuni commented on June 26, 2024
  1. Does restarting ST help? Usually a restart of Sublime Text helps.

  2. From the command palette select Preferences: Package Control and check if LSP didn't got put in "in_process_packages", if yes, remove it.

  3. Check if "LSP" is put in "ignored_packages" in Preferences.sublime-settings. If yes, remove it.

No to all points

from lsp.

predragnikolic avatar predragnikolic commented on June 26, 2024

I will take a closer look tonight.
But on first glance, based on the provided log,
LSP looks like it has been put to ignored packages:

ignored packages updated to: ["LSP", "Vintage"]

Try removing it from there.

from lsp.

rchl avatar rchl commented on June 26, 2024

You need to upgrade Package Control before you can use LSP (which relies on latest Package Control).

BTW. The log you've provided is not from safe mode since the PC is already installed at the start of ST.

from lsp.

jaraco avatar jaraco commented on June 26, 2024

Today, my editor updated to LSP 2.1.0. Afterward, LSP is no longer working and is failing and emitting a traceback:

Traceback (most recent call last):
  File "/private/var/folders/f2/2plv6q2n7l932m2x004jlw340000gn/T/AppTranslocation/612C39DB-7AB3-487C-9E5C-53897225F16A/d/Sublime Text.app/Contents/MacOS/Lib/python38/sublime_plugin.py", line 432, in load_module
    m.plugin_loaded()
  File "/Users/jaraco/Library/Application Support/Sublime Text/Installed Packages/LSP.sublime-package/boot.py", line 197, in plugin_loaded
    load_css()
  File "/Users/jaraco/Library/Application Support/Sublime Text/Installed Packages/LSP.sublime-package/plugin/core/css.py", line 23, in load
    _css = CSS()
  File "/Users/jaraco/Library/Application Support/Sublime Text/Installed Packages/LSP.sublime-package/plugin/core/css.py", line 7, in __init__
    self.popups = sublime.load_resource("Packages/LSP/popups.css")
  File "/private/var/folders/f2/2plv6q2n7l932m2x004jlw340000gn/T/AppTranslocation/612C39DB-7AB3-487C-9E5C-53897225F16A/d/Sublime Text.app/Contents/MacOS/Lib/python38/sublime.py", line 1199, in load_resource
    raise FileNotFoundError(f'resource "{name}" not found')
FileNotFoundError: resource "Packages/LSP/popups.css" not found

I uninstalled and reinstalled LSP, but the error remains. And I can't find an LSP folder anywhere in my settings directory.

I have the latest package control (4.0.6).

from lsp.

rchl avatar rchl commented on June 26, 2024

@jaraco your issue doesn't look related. Try https://forum.sublimetext.com/t/sublime-text-4-will-not-run-my-python-code-on-macos/69065/10

from lsp.

jfcherng avatar jfcherng commented on June 26, 2024

FileNotFoundError: resource "Packages/LSP/popups.css" not found

I can reproduce this with a clean ST 4169 on my Windows machine. However, after restarting ST, LSP works.

from lsp.

istudyatuni avatar istudyatuni commented on June 26, 2024

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

startup, version: 4169 linux x64 channel: stable
SAFE MODE - overriding packages, state and cache paths
executable: /opt/sublime_text/sublime_text
application: /opt/sublime_text
working dir: /home/[..]
packages path: /home/[..]/.config/sublime-text-safe-mode/Packages
state path: /home/[..]/.config/sublime-text-safe-mode/Local
zip path: /opt/sublime_text/Packages
zip path: /home/[..]/.config/sublime-text-safe-mode/Installed Packages
ignored_packages: ["Vintage"]
generating syntax summary
generating meta info summary
pre session restore time: 3.06987
startup time: 3.27725
first paint time: 3.33824
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

from lsp.

istudyatuni avatar istudyatuni commented on June 26, 2024

I tried now with restarts, after a restart it installed, and after one more restart issue with popups.css disappeared, thanks!

from lsp.

hhofner avatar hhofner commented on June 26, 2024

I'm having this issue, but restarting ST does not work. OS is Mac Ventura 13.4.

from lsp.

rchl avatar rchl commented on June 26, 2024

Make sure that you are using latest Package Control and that your channels are not overridden - #2465 (comment)

from lsp.

hhofner avatar hhofner commented on June 26, 2024

Okay weird, I have been trying everything found in these issues, including the #2465 comment and nothing work, even restart ST many times. And after some time it just updated Package Control and finally let me install LSP. Apologies for taking the time! I suppose I did not update Package Control.

from lsp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.