Calibre Companion set up and books added via Macbook Pro on 19/11

Connected again on 20/11 to add new books. Error message generated. 

Debug file below. 

Traceback (most recent call last):
  File "site-packages/calibre/devices/smart_device_app/driver.py", line 1913, in startup_on_demand
  File "site-packages/calibre/utils/mdns.py", line 160, in publish
  File "site-packages/calibre/utils/mdns.py", line 114, in start_server
  File "site-packages/calibre/utils/Zeroconf.py", line 1313, in __init__
gaierror: [Errno 8] nodename nor servname provided, or not known
calibre Debug log
calibre 2.71  embedded-python: True is64bit: True
Darwin-16.1.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '16.1.0', 'Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016; root:xnu-3789.21.3~60/RELEASE_X86_64')
Python 2.7.11
OSX: ('10.12.1', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM (6, 5, 2) && KePub Output (2, 7, 1) && KoboTouchExtended (2, 8, 2) && Count Pages (1, 6, 9) && Kobo Utilities (2, 4, 1) && Generate Cover (1, 5, 21)
devicePixelRatio: 2.0
logicalDpi: 72.0 x 72.0
physicalDpi: 113.500001705 x 113.500001705
Starting up...
DEBUG:    0.0 KoboUtilites::action.py - loading translations
DEBUG:    0.0 KoboUtilites::dialogs.py - loading translations
DEBUG:    0.0 KoboUtilites::action.py - loading translations
DEBUG:    1.2 No Kobo Touch, Glo or Mini appears to be connected
DEBUG:    1.2 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG:    1.2 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG:    1.2 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
Started up in 2.22 seconds with 6686 books
SMART_DEV (   0.00:  0.001) _attach_to_port try ip address "" on port 9090
SMART_DEV (  11.11: 11.015) startup_on_demand registration with bonjour failed
SMART_DEV (  11.14:  0.000) startup_on_demand listening on port 9090
SMART_DEV (  11.16:  0.000) _attach_to_port try ip address "" on port 54982
SMART_DEV (  11.19:  0.000) _attach_to_port socket error on port 54982
SMART_DEV (  11.22:  0.000) _attach_to_port try ip address "" on port 48123
SMART_DEV (  11.25:  0.000) startup_on_demand broadcast socket listening on port 48123
2016-11-20 19:00:15.524 Calibre[601:10625] deliverNotificationWithTitle()
* Notification delivered.
SMART_DEV (  12.28:  1.007) run All IP addresses {'en0': [{'addr': '192.168.1.3', 'broadcast': '192.168.1.255', 'netmask': '255.255.255.0'}], 'lo0': [{'addr': '127.0.0.1', 'peer': '127.0.0.1', 'netmask': '255.0.0.0'}]}
SMART_DEV (  39.38: 27.087) run received broadcast ('192.168.1.7', ('192.168.1.7', 48123)) calibre wireless device client (on Joannes-MacBook-Pro);8080,9090
SMART_DEV (  50.89: 11.498) run received broadcast ('192.168.1.7', ('192.168.1.7', 48123)) calibre wireless device client (on Joannes-MacBook-Pro);8080,9090
SMART_DEV (  54.92:  4.021) run attempt to open device socket
SMART_DEV (  55.34:  0.406) open
SMART_DEV (  55.36:  0.001) _call_client GET_INITIALIZATION_INFO wfr True
SMART_DEV (  55.44:  0.071) open Device can stream books True
SMART_DEV (  55.46:  0.000) open Device can stream metadata True
SMART_DEV (  55.47:  0.000) open Device can receive book binary True
SMART_DEV (  55.49:  0.000) open Device can delete multiple books True
SMART_DEV (  55.50:  0.000) open Device can use cached metadata True
SMART_DEV (  55.51:  0.000) open Cache uses lpaths True
SMART_DEV (  55.53:  0.000) open Can send OK to sendbook True
SMART_DEV (  55.54:  0.000) open Can accept library info True
SMART_DEV (  55.56:  0.000) open Will ask for update books True
SMART_DEV (  55.57:  0.000) open Will set temp mark when syncing read False
SMART_DEV (  55.58:  0.000) open Client device kind iPad
SMART_DEV (  55.60:  0.000) open Client device name Wireless Device: Josie's Mini Ipad 
SMART_DEV (  55.61:  0.000) open Client app name CalibreCompanion
SMART_DEV (  55.62:  0.000) open App version #: 128
SMART_DEV (  55.64:  0.000) open max_book_packet_len 4096
SMART_DEV (  55.65:  0.000) open Device wants UUID file names False
SMART_DEV (  55.67:  0.001) open selected formats [u'txt']
SMART_DEV (  55.68:  0.000) open extension path lengths {u'txt': 89}
SMART_DEV (  55.70:  0.000) open cover height 480
SMART_DEV (  55.73:  0.000) open Device is_read sync col None
SMART_DEV (  55.75:  0.000) open Device is_read_date sync col None
SMART_DEV (  55.76:  0.001) card_prefix
DEBUG:   57.4 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__:  <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG:   57.4 Methods for self.plugin_device_connection_changed:  ['__call__', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'connect', 'disconnect', 'emit', 'signal']
DEBUG:   57.4 No Kobo Touch, Glo or Mini appears to be connected
DEBUG:   57.4 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG:   57.4 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: SmartDevice App Interface'
SMART_DEV (  55.82:  0.032) set_progress_reporter
Job: 1 Get device information started
SMART_DEV (  55.85:  0.000) get_device_information
SMART_DEV (  55.87:  0.001) _call_client GET_DEVICE_INFORMATION wfr True
SMART_DEV (  56.06:  0.103) _call_client SET_CALIBRE_DEVICE_INFO wfr True
SMART_DEV (  56.11:  0.018) _read_metadata_cache device uuid 006ca00e-8274-4ea1-a2b2-9c734631d0b7
SMART_DEV (  56.14:  0.000) _read_metadata_cache loaded 0 cache items
SMART_DEV (  56.17:  0.000) card_prefix
SMART_DEV (  56.20:  0.000) free_space
SMART_DEV (  56.22:  0.000) _call_client FREE_SPACE wfr True
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
SMART_DEV (  56.30:  0.046) set_progress_reporter
Job: 2 Set library information started
SMART_DEV (  56.33:  0.000) set_library_info Calibre Library e6539c69-2e46-463e-9579-2e325ab9c3e2
SMART_DEV (  56.38:  0.002) _call_client SET_LIBRARY_INFO wfr True
DeviceJob: 2 Set library information done, calling callback
DeviceJob: 2 Set library information callback returned
SMART_DEV (  56.50:  0.044) set_progress_reporter
Job: 3 Get list of books on device started
SMART_DEV (  56.54:  0.000) books None
SMART_DEV (Device closed the network connection

Traceback (most recent call last):
  File "site-packages/calibre/gui2/device.py", line 88, in run
  File "site-packages/calibre/gui2/device.py", line 506, in _books
  File "site-packages/calibre/devices/smart_device_app/driver.py", line 51, in _synchronizer
  File "site-packages/calibre/devices/smart_device_app/driver.py", line 1319, in books
  File "site-packages/calibre/devices/smart_device_app/driver.py", line 51, in _synchronizer
  File "site-packages/calibre/devices/smart_device_app/driver.py", line 623, in _call_client
ControlError: Device closed the network connection

  56.59:  0.003) _call_client GET_BOOK_COUNT wfr True
Job: 2 Set library information finished
No details available.
Job: 1 Get device information finished
No details available.
SMART_DEV (  56.69:  0.033) books caching. count= 4772
SMART_DEV (  64.61:  7.877) books received all books. count= 4772
SMART_DEV (  65.37:  0.737) books processed cache. count= 4772
SMART_DEV (  65.39:  0.000) books removed 0 books from caches
SMART_DEV (  65.41:  0.000) books caching. Need count from device 4772
SMART_DEV (  66.74:  1.303) _send_byte_string socket error [Errno 32] Broken pipe 32
SMART_DEV (  66.77:  0.000) _write_metadata_cache
SMART_DEV (  66.81:  0.001) _write_metadata_cache wrote 0 entries, purged 0 entries
SMART_DEV (  66.85:  0.001) _call_client device went away
DeviceJob: 3 Get list of books on device done, calling callback
DeviceJob: 3 Get list of books on device callback returned
SMART_DEV (  66.89:  0.013) post_yank_cleanup
DEBUG:   68.6 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__:  <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG:   68.6 Methods for self.plugin_device_connection_changed:  ['__call__', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'connect', 'disconnect', 'emit', 'signal']
DEBUG:   68.6 KoboUtilites:_on_device_connection_changed - Device disconnected
DEBUG:   68.6 No Kobo Touch, Glo or Mini appears to be connected
DEBUG:   68.6 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG:   68.6 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG:   68.6 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
DEBUG:   68.6 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG:   68.6 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
Job: 3 Get list of books on device finished
Device closed the network connection
	
	Traceback (most recent call last):
	  File "site-packages/calibre/gui2/device.py", line 88, in run
	  File "site-packages/calibre/gui2/device.py", line 506, in _books
	  File "site-packages/calibre/devices/smart_device_app/driver.py", line 51, in _synchronizer
	  File "site-packages/calibre/devices/smart_device_app/driver.py", line 1319, in books
	  File "site-packages/calibre/devices/smart_device_app/driver.py", line 51, in _synchronizer
	  File "site-packages/calibre/devices/smart_device_app/driver.py", line 623, in _call_client
	ControlError: Device closed the network connection