作者:无聊的紫布丁 | 来源:互联网 | 2023-01-17 19:38
整合新的sublime安装并尝试安装控制面板.已经通过所有的标准论坛,但只是在无论安装方法如何获得神秘回溯的位置.
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "", line 1584, in _gcd_import
File "", line 1565, in _find_and_load
File "", line 1532, in _find_and_load_unlocked
File "/opt/sublime_text/sublime_plugin.py", line 678, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "Package Control in /home/slater/.config/sublime-text-3/Installed Packages/Package Control.sublime-package", line 14, in
File "./posixpath.py", line 83, in join
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
plugins loaded
Unable to open /home/slater/.config/sublime-text-3/Packages/Package Control/Package Control.sublime-settings
Unable to open /home/slater/.config/sublime-text-3/Packages/User/Package Control.sublime-settings
Unable to open /home/slater/.config/sublime-text-3/Packages/Default/Preferences.sublime-settings
据推测,这种追溯是事情不起作用的原因,但遗憾的是它完全不可穿透.它引用了不存在的代码,似乎是对另一个不存在的文件进行相对调用.我尝试打开Package Control
zip文件,但由于控制台没有给我一个真正的追溯,并且没有调用posixpath.py
它的文件对调试非常无益.
看来这是路径的一些问题?对sublime文件的调用opt
也让我陷入了循环,但我不确定这与我所看到的问题有关.
更新:尝试将sublime包文件添加到$ PATH和$ PYTHONPATH.也试过了权限,一切都无济于事.