Had a look around some existing posts regarding similar issues and with some guidance from friends smarter than me, ended up changing this line (1160):
weight = 60.0 * record['interval'] if self.version >= '2.0' else 1.0 to weight = 60.0 * record['interval'] if self.version is not None and self.version >= '2.0' else 1.0 and it's working ok now... On Tuesday, 22 September 2020 at 12:08:27 pm UTC+10 Andrew H wrote: > Hi all, > > Aweosmse software, have been using it since about 2015 without issue! > > I'm running a Davis Vantage Vue w/usb connected to a raspberry pi. > > I have just done a clean install of raspbian and have attempted an install > with 4.1.1 from apt repo using python3 but I'm hitting an error when it > tries to add entries to the archive. I export to mysql and from looking > into the error it appears to be a python3 thing... > > Error: > https://hastebin.itsgottabe.red/xiwabocake.md > > Config: > https://hastebin.itsgottabe.red/adavojemix.coffeescript > > > > cheers > Andrew > > > > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9e661f0d-16bc-4480-92fc-f87b43072fc6n%40googlegroups.com.