我刚刚为Sublime Text安装了包控件,现在我正在尝试安装LiveReload。每当我拉出命令菜单时,向下滚动到“Package Control:Install Package”,不会打开搜索框。菜单消失,没有任何反应。有没有人知道可能出现的问题?
从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'
答案 0 :(得分:2)
终于让一切顺利。最后我卸载了Sublime并删除了所有Sublime文件夹,重新安装,安装了包管理器,一切正常。不是一个很好的解决方案,但它有效。