-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] "division by zero" error #152
Comments
I will need debugs to see what happened there. Seems like you truenas is sending faulty data. |
there you go, hope it helps: https://paste.kodi.tv/bunanonine.kodi It seems that it is related to the boot-pool? At least the exception seems to occur when processing the boot-pool edit: I migrated to TrueNAS Dragonfish-24.04.0 in the meantime. The debug is from the API responses of this version |
It is actually caused by offline pool. How did you took the pool offline?
|
HDDs are temporarily unplugged. Didn't want to deal with TrueNAS complaining about SMB shares pointing to a missing pool, permissions and what not |
ok, that should be easy to simulate in VM |
thanks. I can confirm it's working now. The only thing "missing" is that the sensor |
do you mean size sensor for tank pool? |
yeah. In my case I see |
I will look into it |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue was closed because it has been stalled for 5 days with no activity. |
Describe the issue
I just updated to master via HACS to test out the new version and immediately found this in the logs (+ the integration not loading). I have a pool that is offline, which might be the cause of this, but nevertheless the values should be sanitized before using them.
How to reproduce the issue
not sure, I suppose offlining a pool
Expected behavior
component should initialize and run :)
Screenshots
Software versions
Diagnostics data
Traceback/Error logs
Additional context
The text was updated successfully, but these errors were encountered: