EnviroGrow: Error when attempting to truncate the log file

I get this Error when attempting to truncate the log file at power on. Rebooting does not fix it. Manually deleting the whole of log.txt seems to have been effective (it had no remarkable content and was approximately 8k bytes).

   -  --  ---- ------=--==--===  i can has data?  ===--==--=------ ----  --  -      

Traceback (most recent call last):
File “”, line 28, in
File “enviro/init.py”, line 159, in startup
File “phew/phew/logging.py”, line 37, in truncate
NameError: local variable referenced before assignment

I believe this bug has been fixed - try updating your phew/phew/logging.py to the newest version!

Or there’s instructions on how to update everything here:

Thanks for that.

Interestingly, updating all the firmware has also fixed the ‘temperature spikes at time of uploads’ problem. They’ve repaired something else !!

1 Like