Traceback (most recent call last):

 "<stdin>", line 1, in <module>

 "/home/user/projects/XlsxWriter/xlsxwriter/workbook.py", line 296, in close
self._store_workbook()

 "/home/user/projects/XlsxWriter/xlsxwriter/workbook.py", line 526, in _store_workbook
allowZip64=self.allow_zip64)

 "/usr/lib/python3.4/zipfile.py", line 923, in __init__
self.fp = io.open(file, modeDict[mode])
NotFoundError: [Errno 2] No such file or directory: '~/workbook.xlsx'
Traceback (most recent call last):


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

entity_platform.schedule_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/homeassistant/lib/python3.5/site-packages/homeassistant/components/switch/wake_on_lan.py", line 43, in setup_platform

add_devices([WOLSwitch(hass, name, host, mac_address, off_action)])


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/switch/wake_on_lan.py", line 59, in __init__

self.update()


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/switch/wake_on_lan.py", line 94, in update

status = sp.call(ping_cmd, stdout=sp.DEVNULL)


 "/usr/lib/python3.5/subprocess.py", line 557, in call

with Popen(*popenargs, **kwargs) as p:


 "/usr/lib/python3.5/subprocess.py", line 947, in __init__

restore_signals, start_new_session)


 "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child

raise child_exception_type(errno_num, err_msg)

NotFoundError: [Errno 2] No such file or directory: 'ping'
