Comments (15)
Package Control: The dependency 'typing_extensions' could not be installed or updated
Not sure related or not:
Line 6 in fc5a7c7
The canonical name for it in PC v4 is
typing-extensions
. I.e., the one in its URL.from lsp.
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.
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.
Cannot reproduce.
-
Does restarting ST help? Usually a restart of Sublime Text helps.
-
From the command palette select
Preferences: Package Control
and check if LSP didn't got put in"in_process_packages"
, if yes, remove it. -
Check if "LSP" is put in
"ignored_packages"
in Preferences.sublime-settings. If yes, remove it.
from lsp.
Does restarting ST help? Usually a restart of Sublime Text helps.
From the command palette select
Preferences: Package Control
and check if LSP didn't got put in"in_process_packages"
, if yes, remove it.Check if "LSP" is put in
"ignored_packages"
in Preferences.sublime-settings. If yes, remove it.
No to all points
from lsp.
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.
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.
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.
@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.
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.
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.
I tried now with restarts, after a restart it installed, and after one more restart issue with popups.css disappeared, thanks!
from lsp.
I'm having this issue, but restarting ST does not work. OS is Mac Ventura 13.4.
from lsp.
Make sure that you are using latest Package Control and that your channels are not overridden - #2465 (comment)
from lsp.
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)
- Capabilites with selector fails to register
- ModuleNotFoundError: No module named 'wcmatch.glob' HOT 13
- Prepare for upgrade of bracex and wcmatch libraries HOT 6
- [Runtime Error] ModuleNotFoundError: No module named 'wcmatch' HOT 1
- Investigate why didSave notification is not sent if view closed immediately after saving
- Two alternative hover definitions provided: one on mouseover, the other upon keyboard shortcut HOT 6
- Not Working After 3.8 Upgrade HOT 3
- Discuss removal of some APIs HOT 3
- Allow LSP packages to customize format_completion HOT 1
- Support list of commands, provided by language servers HOT 5
- Syntax highlighting in popups, returned by 3rd party language server, not work HOT 9
- Package is not installable HOT 5
- MissingUriError: View has no URI HOT 1
- `websocket_server` installs a root logger
- Updated to LSP 2.1.0 leads to FileNotFoundError and no LSP HOT 4
- `lsp_code_actions_on_save` do not work intermittently HOT 8
- KeyError on file-watcher HOT 2
- Replace `Enum` object with it's scalar value in the LSP log panel? HOT 1
- Text selection in popups HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp.