Glances widget not working only for sensor:Package id 0 #3452
-
DescriptionI have recently switched from Glances 3 to 4 and all my widgets have been updated with "version: 4" and they all work apart from the sensor widget If i restart Homepage container, the widget works at the start but after a few seconds the error is thrown. homepage versionv0.8.13 (986a181, May 6, 2024) Installation methodDocker Configuration- Glances:
- Info:
href: http://glances.stalepopcorn.me
widget:
type: glances
version: 4
url: http://glances:61208
metric: info
- CPU Usage:
widget:
type: glances
version: 4
url: http://glances:61208
metric: cpu
- CPU Temp:
widget:
type: glances
version: 4
url: http://glances:61208
metric: sensor: Package id 0
- Disk Usage:
widget:
type: glances
version: 4
url: http://glances:61208
metric: disk:nvme0n1
- File System:
widget:
type: glances
version: 4
url: http://glances:61208
metric: fs:/mnt/htpc
- Network Usage:
widget:
type: glances
version: 4
url: http://glances:61208
metric: network:eth0
- Processes:
widget:
type: glances
version: 4
url: http://glances:61208
metric: process
TypeError: Cannot read properties of undefined (reading 'value')
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ Based on the information provided, it seems that the issue is specifically with the sensor widget in the Glances service after updating to version 4. Since the other widgets are working fine and there are no errors in the container logs, this could be an issue with how the sensor data is being handled or displayed in the Homepage application. Given that the error occurs after a few seconds and is related to a 'value' property being undefined, it might be a problem with the data stream or the way the widget is processing the incoming data. This could be a bug in the Homepage application's handling of the sensor data from Glances version 4. Here are some steps you can take to troubleshoot the issue further:
Please let me know if you need further assistance or if there are any other details you can provide that might help in resolving the issue. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
I’d guess the problem is something like the fact that |
Beta Was this translation helpful? Give feedback.
-
There's actually an issues reported just in the last hour on the Glances github |
Beta Was this translation helpful? Give feedback.
-
Same issue here.... Something went wrong.
NaN% Used |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
There's actually an issues reported just in the last hour on the Glances github
nicolargo/glances#2763