Traceback (most recent call last):


 "C:\Users\<snip>\AppData\Roaming\SublimeText3\sublime_plugin.py", line 812, in run_

return self.run(edit, **args)


 "modules.commands in C:\Users\<snip>\AppData\Roaming\SublimeText3\Data\Installed Packages\GitGutter.sublime-package", line 121, in run


 "modules.popup.factory in C:\Users\<snip>\AppData\Roaming\SublimeText3\Data\Installed Packages\GitGutter.sublime-package", line 46, in show_diff_popup


 "modules.popup.factory in C:\Users\<snip>\AppData\Roaming\SublimeText3\Data\Installed Packages\GitGutter.sublime-package", line 150, in _show_diff_popup_impl


 "C:\Users\<snip>\AppData\Roaming\SUBLIM~1\Data\Packages\mdpopups\st3\mdpopups\__init__.py", line 499, in get_language_from_view

keys = set(list(lang_map.keys()) + list(user_map.keys()))
AttributeError: 'NoneType' object has no attribute 'keys'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/setup.py", line 191, in _async_setup_component

result = await task


 "/config/custom_components/sonoff/__init__.py", line 102, in async_setup

if await registry.cloud_login(config[CONF_USERNAME],


 "/config/custom_components/sonoff/sonoff_main.py", line 110, in cloud_login

return await self.cloud.login(username, password)


 "/config/custom_components/sonoff/sonoff_cloud.py", line 282, in login

if resp.get('error') == 406:
AttributeError: 'NoneType' object has no attribute 'get'`
