Skip to content
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

panic: runtime error #3

Open
Shizzlebix opened this issue Jun 8, 2021 · 3 comments
Open

panic: runtime error #3

Shizzlebix opened this issue Jun 8, 2021 · 3 comments

Comments

@Shizzlebix
Copy link

munin-run netatmo-munin-plugin:

**panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x47da03]

goroutine 1 [running]:
panic(0x6345a0, 0xc42000c0e0)
/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
github.com/exzz/netatmo-api-go.(Device).Data(0xc42040a0e0, 0xc4201132c0, 0x6)
/root/netatmo-api-go/src/github.com/exzz/netatmo-api-go/weather.go:278 +0x953
main.main()
/root/netatmo-munin-go/netatmo-munin-plugin.go:93 +0x501
*

Can you please take a look? T@x

@NightMan-1
Copy link
Owner

The problem is somewhere here - exzz/netatmo-api-go#8 - something has changed in NetAtmo API, unfortunately I do not have time now and will not be able to fix it quickly :(

@Shizzlebix
Copy link
Author

found the problem... if module "niederschlagsmesser" not avaible the error comes....
after restart my netatmo the module is avaible and all is fine

@Shizzlebix
Copy link
Author

Hello,
the problem is.... if a device of netatmo is offline then the error is coming.
if all devices are online no error is there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants