Traceback (most recent call last):


 "/path/Library/Application Support/Sublime Text 3/Packages/LaTeXTools/st_preview/preview_utils.py", line 99, in _update_gs_version

raw_version = check_output([_GS_COMMAND, '-version'])


 "/Users/julita/Library/Application Support/Sublime Text 3/Packages/LaTeXTools/latextools_utils/external_command.py", line 348, in check_output

show_window=show_window


 "/Users/julita/Library/Application Support/Sublime Text 3/Packages/LaTeXTools/latextools_utils/external_command.py", line 268, in execute_command

show_window=show_window


 "/Users/julita/Library/Application Support/Sublime Text 3/Packages/LaTeXTools/latextools_utils/external_command.py", line 221, in external_command

cwd=cwd


 "./python3.3/subprocess.py", line 819, in __init__


 "./python3.3/subprocess.py", line 1370, in _execute_child


 "./python3.3/os.py", line 791, in fsencode
TypeError: expect bytes or str, not NoneType

Traceback (most recent call last):


 "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 150, in _async_setup_platform

entity_platform.add_entities, discovery_info


 "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup

future.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 274, in result

raise self._exception


 "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/hass/lib/python3.5/site-packages/homeassistant/components/media_player/kodi.py", line 59, in setup_platform

turn_off_action=config.get(CONF_TURN_OFF_ACTION)),


 "/srv/hass/lib/python3.5/site-packages/homeassistant/components/media_player/kodi.py", line 80, in __init__

self.update()


 "/srv/hass/lib/python3.5/site-packages/homeassistant/components/media_player/kodi.py", line 114, in update

self._players = self._get_players()


 "/srv/hass/lib/python3.5/site-packages/homeassistant/components/media_player/kodi.py", line 91, in _get_players

return self._server.Player.GetActivePlayers()


 "/home/hass/.homeassistant/deps/jsonrpc_requests/jsonrpc.py", line 112, in __call__

return self.__request_method(self.__method_name, args, kwargs)


 "/home/hass/.homeassistant/deps/jsonrpc_requests/jsonrpc.py", line 96, in __request

return self.send_request(method_name, is_notification, args or kwargs)


 "/home/hass/.homeassistant/deps/jsonrpc_requests/jsonrpc.py", line 37, in send_request

response = self.request(data=request_body)


 "/srv/hass/lib/python3.5/site-packages/requests/sessions.py", line 535, in post

return self.request('POST', url, data=data, json=json, **kwargs)


 "/srv/hass/lib/python3.5/site-packages/requests/sessions.py", line 474, in request

prep = self.prepare_request(req)


 "/srv/hass/lib/python3.5/site-packages/requests/sessions.py", line 407, in prepare_request

hooks=merge_hooks(request.hooks, self.hooks),


 "/srv/hass/lib/python3.5/site-packages/requests/models.py", line 306, in prepare

self.prepare_auth(auth, url)


 "/srv/hass/lib/python3.5/site-packages/requests/models.py", line 527, in prepare_auth

r = auth(self)


 "/srv/hass/lib/python3.5/site-packages/requests/auth.py", line 68, in __call__

r.headers['Authorization'] = _basic_auth_str(self.username, self.password)


 "/srv/hass/lib/python3.5/site-packages/requests/auth.py", line 38, in _basic_auth_str

b64encode(b':'.join((username, password))).strip()
TypeError: sequence item 0: expected a bytes-like object, NoneType found
