vince <[email protected]> writes:

> Your StdReport and DatabaseTypes sections use relative pathnames based on 
> WEEWX_ROOT being expected.

Or having a value.  But the exception was reading the database.

> https://www.weewx.com/docs/5.2/upgrade/?h=weewx_root#weewx_root-is-now-relative-to-the-configuration-file
>  has 
> a non-breaking change in that area.  Guessing a 5.2 upgrade might solve 
> your issue since WEEWX_ROOT is optional in 5.2 now.  I left it in my .conf 
> files anyway, FWIW.

Great hint, thanks.  Looking back, that upgrade text is in 5.1 at least
and I think 5.0.  So what I am doing should work.

I updated from python 3.12 to 3.13, and then to 5.2.0 (upgraded pkgsrc
package, and then applied the diff from 5.1.0 to 5.2.0 to weewx.conf and
to my skin).  All worked ok.

After that, I removed the setting of WEEWX_ROOT and now everything
works.

So the new "WEEWX_ROOT defaults to the dir that has the config" works
fine in 5.2.0 and a has a minor bug in 5.1.0, I now believe.

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/rmicy46xbbj.fsf%40s1.lexort.com.

Reply via email to