Closed gritstub closed 1 year ago
https://github.com/blawar/nut/pull/392
Maybe it's better to pull from HEAD instead of the old release.
This is a bug that happens with NUT 3.3 when you use a nut.conf
NUT seems to have an issue merging the nut.default.conf
and your own nut.conf
. The workaround for this is to remove the nut.conf
file and make your changes in the nut.default.conf
.
The latest NUT release does indeed fix this issue. I will update the edge
image to use the latest master branch for building.
I'm not sure I will create a release from a master build though, since they could introduce changes that could be breaking, which is why I prefer using stable releases so people using watchtower for auto updating their containers won't have issues.
This is because of a change in Python 3.10 and can actually be fixed by changing nut/Config.py
:
change
import collections
to
import collections.abc
and change
and isinstance(merge_dct[k], collections.Mapping)):
to
and isinstance(merge_dct[k], collections.abc.Mapping)):
The docker has an issue running
nut.py
The error seems related to Python 3.10+