ecowitt2mqtt: 22.06.01 crashes after some time on Synology
Describe the bug Unexpected crash, hasn’t occurred under any prior versions, log below
`
date | stream | content |
---|---|---|
2022-06-09T21:54:51.662711400Z | stdout | Aborted (core dumped) |
2022-06-09T21:54:50.632490521Z | stdout | Extension modules: uvloop.loop, _ruamel_yaml, Levenshtein._levenshtein, pydantic.typing, pydantic.errors, pydantic.version, pydantic.utils, pydantic.class_validators, pydantic.color, pydantic.datetime_parse, pydantic.validators, pydantic.networks, pydantic.types, pydantic.json, pydantic.error_wrappers, pydantic.fields, pydantic.config, pydantic.parse, pydantic.schema, pydantic.main, pydantic.dataclasses, pydantic.annotated_types, pydantic.decorator, pydantic.env_settings, pydantic.tools, pydantic (total: 26) |
2022-06-09T21:54:50.632449005Z | stdout | |
2022-06-09T21:54:50.632377603Z | stdout | File “/venv/bin/ecowitt2mqtt”, line 8 in <module> |
2022-06-09T21:54:50.632324854Z | stdout | File “/venv/lib/python3.10/site-packages/typer/main.py”, line 214 in call |
2022-06-09T21:54:50.632274566Z | stdout | File “/venv/lib/python3.10/site-packages/click/core.py”, line 1130 in call |
2022-06-09T21:54:50.632227181Z | stdout | File “/venv/lib/python3.10/site-packages/click/core.py”, line 1055 in main |
2022-06-09T21:54:50.632178998Z | stdout | File “/venv/lib/python3.10/site-packages/click/core.py”, line 1635 in invoke |
2022-06-09T21:54:50.632130675Z | stdout | File “/venv/lib/python3.10/site-packages/click/core.py”, line 1404 in invoke |
2022-06-09T21:54:50.632081092Z | stdout | File “/venv/lib/python3.10/site-packages/click/core.py”, line 760 in invoke |
2022-06-09T21:54:50.632028514Z | stdout | File “/venv/lib/python3.10/site-packages/typer/main.py”, line 500 in wrapper |
2022-06-09T21:54:50.631970473Z | stdout | File “/venv/lib/python3.10/site-packages/ecowitt2mqtt/helpers/logging.py”, line 47 in wrapper |
2022-06-09T21:54:50.631917737Z | stdout | File “/venv/lib/python3.10/site-packages/ecowitt2mqtt/cli.py”, line 187 in main |
2022-06-09T21:54:50.631866742Z | stdout | File “/venv/lib/python3.10/site-packages/ecowitt2mqtt/core.py”, line 45 in start |
2022-06-09T21:54:50.631813238Z | stdout | File “/venv/lib/python3.10/site-packages/ecowitt2mqtt/server.py”, line 76 in start |
2022-06-09T21:54:50.631765879Z | stdout | Current thread 0x00007fba82916b48 (most recent call first): |
2022-06-09T21:54:50.631726075Z | stdout | |
2022-06-09T21:54:50.631676199Z | stdout | File “/usr/local/lib/python3.10/threading.py”, line 973 in _bootstrap |
2022-06-09T21:54:50.631615112Z | stdout | File “/usr/local/lib/python3.10/threading.py”, line 1016 in _bootstrap_inner |
2022-06-09T21:54:50.631457273Z | stdout | File “/usr/local/lib/python3.10/threading.py”, line 953 in run |
2022-06-09T21:54:50.631328720Z | stdout | File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 81 in _worker |
2022-06-09T21:54:50.631230879Z | stdout | Thread 0x00007fba7df65b38 (most recent call first): |
2022-06-09T21:54:50.631189226Z | stdout | |
2022-06-09T21:54:50.631016869Z | stdout | Fatal Python error: Aborted |
2022-06-09T21:54:50.630410436Z | stdout | [94m2022-06-09 21:54:50,629 | ecowitt2mqtt | DEBUG | Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b’'[0m |
2022-06-09T21:54:50.629751345Z | stdout | [94m2022-06-09 21:54:50,627 | ecowitt2mqtt | DEBUG | Calculator found for soilbatt1: calculate_battery (key: soilbatt1, value: 1.5)[0m |
2022-06-09T21:54:50.629190237Z | stdout | [94m2022-06-09 21:54:50,627 | ecowitt2mqtt | DEBUG | Calculator found for soilmoisture1: calculate_moisture (key: soilmoisture1, value: 32.0)[0m |
2022-06-09T21:54:50.628944574Z | stdout | [94m2022-06-09 21:54:50,627 | ecowitt2mqtt | DEBUG | Calculator found for baromabsin: calculate_pressure (key: baromabs, value: 24.56)[0m |
2022-06-09T21:54:50.627056052Z | stdout | [94m2022-06-09 21:54:50,626 | ecowitt2mqtt | DEBUG | Calculator found for baromrelin: calculate_pressure (key: baromrel, value: 24.56)[0m |
2022-06-09T21:54:50.626826509Z | stdout | [94m2022-06-09 21:54:50,626 | ecowitt2mqtt | DEBUG | Calculator found for humidityin: calculate_humidity (key: humidityin, value: 35.0)[0m |
2022-06-09T21:54:50.626459659Z | stdout | [94m2022-06-09 21:54:50,626 | ecowitt2mqtt | DEBUG | Calculator found for tempinf: calculate_temperature (key: tempin, value: 80.24)[0m |
2022-06-09T21:54:50.626190069Z | stdout | [94m2022-06-09 21:54:50,625 | ecowitt2mqtt | DEBUG | Calculator found for runtime: calculate_runtime (key: runtime, value: 1187638.0)[0m |
`
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 36 (26 by maintainers)
I started ecowitt2mqtt on my synology, it seems to be working fine. Will wait 24h and report back.
@bachya thanks, I installed – will see how it goes and looking forward to checking out your official add-on when its ready.
Oh I missed that one. Sounds very likely that explains it. We just need to understand what’s going on.
Anyway, now you can debug it with @yieldhog, I’ll monitor the progress, if you need my help too, to test something when you find the issue, don’t hesitate to ask.
Ironically, mine has been running a little over 24h now after upgrading to the latest version. Will report back if/when it crashes.