Traceback (most recent call last):


 "/usr/src/app/homeassistant/components/sensor/qnap.py", line 208, in update

self.data["volumes"] = self._api.get_volumes()


 "/usr/local/lib/python3.6/site-packages/qnapstats/qnap_stats.py", line 171, in get_volumes

sharename = folder["sharename"]
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap

self.run()


 "/content/iPERCore/iPERCore/services/preprocess.py", line 80, in run

except Exception("model error!") as e:
TypeError: catching classes that do not inherit from BaseException is not allowed
