Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state

await self.async_device_update()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update

await self.async_update()


 "/usr/src/homeassistant/homeassistant/components/garmin_connect/sensor.py", line 171, in async_update

self._state = data[self._type] // 60
TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'

desk.min.js:151 Traceback (most recent call last):


 "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload

doc.insert()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert

self.run_before_save_methods()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods

self.run_method("validate")


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer

return composed(self, method, *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate

if self.contact_date and self.contact_date < nowdate():
TypeError: can't compare datetime.datetime to str
