Package Control 多年来一直在 OS X (MacOS) 中的 Sublime Text 3 上运行良好。但是,现在当我尝试从命令面板启动包控制时,它的所有命令都丢失了。
我尝试在https://packagecontrol.io/installation上使用 ST3 的安装代码再次安装 Package Control 。重新启动 Sublime Text 但这无济于事。
下载Package Control.sublime-package
并将其放入/Users/user/Library/Application\ Support/Sublime\ Text\ 3/Packages
并重新启动 Sublime Text,但问题仍然存在。
在 下Sublime Text > Preference > Setting - User
,包控制未在 下列出"ignored_packages"
。
有人遇到同样的问题吗?
启动过程中的错误
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./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 "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 678, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "2_bootstrap in /Users/user/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package", line 26, in <module>
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 678, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "package_control.bootstrap in /Users/user/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package", line 23, in <module>
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 678, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "package_control.loader in /Users/user/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package", line 57, in <module>
File "./posixpath.py", line 83, in join
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
reloading plugin Package Control.Package Control
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./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 "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 678, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "Package Control in /Users/user/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package", line 14, in <module>
File "./posixpath.py", line 83, in join
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
plugins loaded