nebulous / infinitude

Open control of Carrier/Bryant thermostats
MIT License
224 stars 50 forks source link

Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40. ? #139

Closed scyto closed 2 years ago

scyto commented 2 years ago

I just pulled latese nebulous/infinitude image from dockerhub

Are these an issue (i note the web page sometimes works fine, sometimes take a minute or two to load - wondering if it is this)

[2022-03-17 01:35:09.54198] [7] [debug] [vTJnaaLi] Routing to a callback
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54223] [7] [debug] [vTJnaaLi] 200 OK (0.000435s, 2298.851/s)
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54289] [7] [debug] [Eia34vPG] GET "/notifications.json"
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54307] [7] [debug] [Eia34vPG] Routing to a callback
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54329] [7] [debug] [Eia34vPG] 200 OK (0.000389s, 2570.694/s)
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54386] [7] [debug] [3m5pS5GR] GET "/status.json"
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54400] [7] [debug] [3m5pS5GR] Routing to a callback
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54426] [7] [debug] [3m5pS5GR] 200 OK (0.000386s, 2590.674/s)
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54482] [7] [debug] [rSmmMzUS] GET "/systems.json"
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54496] [7] [debug] [rSmmMzUS] Routing to a callback
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54521] [7] [debug] [rSmmMzUS] 200 OK (0.000385s, 2597.403/s)
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54619] [7] [debug] [duJ3ZNO1] GET "/serial"
Use of uninitialized value within %LEVEL in numeric ge (>=) at /usr/share/perl5/Mojo/Log.pm line 40.
[2022-03-17 01:35:09.54633] [7] [debug] [duJ3ZNO1] Routing to a callback
butterkitty commented 2 years ago

I'm seeing the same error. I'm noting that the entrypoint.sh for the docker image doesn't insert the LOGLEVEL variable into the infinitude.json properly (likely was missed in the last git commit 10 days ago to add this as an option).

When I edit the infinitude.json to add the loglevel variable, the error goes away.