0

我刚刚为 Sublime Text 安装了包控制,现在我正在尝试安装 LiveReload。每当我拉起命令菜单时,向下滚动到“包控制:安装包”,没有搜索框打开。菜单消失了,什么也没有发生。有谁知道可能出了什么问题?

从 Python 控制台:

Exception in thread Thread-3:
Traceback (most recent call last):
  File ".\threading.py", line 532, in __bootstrap_inner
  File ".\package_control\commands\install_package_command.py", line 42, in run
  File ".\package_control\package_installer.py", line 52, in make_package_list
  File ".\package_control\package_manager.py", line 337, in list_available_packages
  File ".\package_control\package_manager.py", line 284, in list_repositories
  File ".\package_control\providers\channel_provider.py", line 73, in get_repositories
  File ".\package_control\providers\channel_provider.py", line 41, in fetch_channel
  File ".\package_control\package_manager.py", line 169, in download_url
AttributeError: 'NoneType' object has no attribute 'lower'
4

1 回答 1

2

终于让一切正常了。最后,我卸载了 Sublime 并删除了所有 Sublime 文件夹,重新安装,安装了包管理器,一切正常。不是一个很好的解决方案,但它有效。

于 2013-05-29T04:06:30.093 回答