I upgraded from 5.0.0.b16 to 17 and got this error:
Dec 14 10:15:55 moonbi weewxd[491310]: ERROR weewx.engine: StdCalibration
loop error unsupported operand type(s) for /: 'NoneType' and 'int'
Dec 14 10:15:21 moonbi weewxd.py: restx: MQTT: binding to loop
Dec 14 10:15:21 moonbi weewxd.py: restx: MQTT: topic is jedwood/raw/weather
Dec 14 10:15:21 moonbi weewxd.py: restx: MQTT: desired unit system is METRIC
Dec 14 10:15:21 moonbi weewxd.py: restx: MQTT: data will be uploaded to
mqtt://192.168.1.164:1883/
Dec 14 10:15:21 moonbi weewxd[491310]: INFO weewx.engine: 'pyephem'
detected, extended almanac data is available
Dec 14 10:15:21 moonbi weewxd[491310]: INFO __main__: Starting up weewx
version 5.0.0b17
Dec 14 10:15:21 moonbi weewxd[491310]: INFO weewx.engine: Using binding
'wx_binding' to database 'weewx'
Dec 14 10:15:21 moonbi weewxd[491310]: INFO weewx.manager: Starting
backfill of daily summaries
Dec 14 10:15:21 moonbi weewxd[491310]: INFO weewx.manager: Daily summaries
up to date
Dec 14 10:15:22 moonbi weewxd[491310]: INFO weewx.drivers.fousb:
synchronising to the weather station (quality=0)
Dec 14 10:15:52 moonbi weewxd[491310]: INFO weewx.engine: Starting main
packet loop.
Dec 14 10:15:55 moonbi weewxd[491310]: INFO weewx.drivers.fousb: station
status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Dec 14 10:15:55 moonbi weewxd[491310]: ERROR weewx.engine: StdCalibration
loop error unsupported operand type(s) for /: 'NoneType' and 'int'
Dec 14 10:15:55 moonbi weewxd[491310]: INFO weewx.restx: MQTT: Published
record 2023-12-14 10:15:56 AEDT (1702509356)
^[^[Dec 14 10:16:56 moonbi weewxd[491310]: ERROR weewx.engine:
StdCalibration loop error unsupported operand type(s) for /: 'NoneType' and
'int'
Dec 14 10:16:56 moonbi weewxd[491310]: INFO weewx.restx: MQTT: Published
record 2023-12-14 10:16:56 AEDT (1702509416)
I downgraded back to 16 and I didn't get that error.
Python 3.11.2
On Thursday 14 December 2023 at 07:39:29 UTC+11 Tom Keffer wrote:
> Commit da31d16
> <https://github.com/weewx/weewx/commit/da31d1644314fe19e64be6f4a9d10ced27b85a95>
> .
>
>
> On Wed, Dec 13, 2023 at 5:22 AM Paul R Anderson <[email protected]> wrote:
>
>> That sounds great!
>> Paul
>>
>> On Wed, Dec 13, 2023 at 7:58 AM Tom Keffer <[email protected]> wrote:
>>
>>> On Wed, Dec 13, 2023 at 4:47 AM Paul R Anderson <[email protected]>
>>> wrote:
>>>
>>>> That would be better than just deleting it. Wondering if the new
>>>> 'scripts' subdirectory could be located at ~/weewx-data/util/scripts ?
>>>>
>>>
>>> That's something I thought of, but then it gets buried amongst some
>>> unrelated subdirectories, making them harder to find.
>>>
>>> How about this: just upgrade the scripts within the subdirectory
>>> 'scripts'? Then they can peacefully coexist with your scripts.
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"weewx-development" 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-development/fbbcd4d1-ca19-40fe-9b39-aa418bc0e2c2n%40googlegroups.com.