Traceback (most recent call last):


 "/home/***/.local/share/virtualenvs/judger-uPeNMyNf/lib/python3.7/site-packages/nameko/containers.py", line 392, in _run_worker

result = method(*worker_ctx.args, **worker_ctx.kwargs)


 "./server.py", line 10, in test

Path('anything').open()


 "/usr/lib64/python3.7/pathlib.py", line 1186, in open

opener=self._opener)


 "/usr/lib64/python3.7/pathlib.py", line 1039, in _opener

return self._accessor.open(self, flags, mode)


 "/home/***/.local/share/virtualenvs/judger-uPeNMyNf/lib/python3.7/site-packages/eventlet/green/os.py", line 107, in open

fd = __original_open__(file, flags, mode, dir_fd=dir_fd)
TypeError: open: path should be string, bytes or os.PathLike, not _NormalAccessor

Traceback (most recent call last):


 "/home/oliver/Projects/homeassistant/.hassenv/lib/python3.5/site-packages/homeassistant/setup.py", line 188, in _async_setup_component

None, component.setup, hass, processed_config)


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

yield self
# This tells Task to wait for completion.


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

future.result()


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

raise self._exception


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

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


 "/home/oliver/Projects/homeassistant/.hassenv/lib/python3.5/site-packages/homeassistant/components/upnp.py", line 39, in setup

hass.config.api.port, 'Home Assistant', '')
TypeError: an integer is required (got type NoneType)
