I've resolved the first error. It was due to a TypeError in the purpleair 
extension. If an "Interval" is specified in weewx.conf it generated a 
TypeError and crashed.


I hacked a fix by modifying line 282 in purpleair.py from:
if delta > self.config_dict['interval'] * 1.5:

to this:
if delta > float(self.config_dict['interval']) * 1.5:

The out-of-memory error remains..

On Monday, January 2, 2023 at 10:25:57 AM UTC-8 Chris Alemany wrote:

> Hi all.
>
> I’m recently updated my RPi3b to Bullseye from Buster (clean install) and 
> weewx to 4.9.1 from 4.8.
>
> Weewx has been unable to run for more than a few hours before crashing. It 
> is either erroring out when doing an archive update, or it does a full on 
> kernel panic when it runs out of memory. I’ve attached error messages from 
> both in the file.
>
> Anyone else seeing this?
>
> I did increase the size of the images being generated, so that might be 
> the cause of the out-of-memory, but the error code in the first message 
> seems to indicate a problem of integer vs. float in the generator.py
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/dbbd5fe4-918e-43ac-9a51-15366f8f93e1n%40googlegroups.com.

Reply via email to