Hi,

I'm sure the guidance you received was well intentioned but it is nothing 
more than papering over the cracks and the issue will come back to bite in 
the future. In particular, the next time you upgrade WeeWX you will be back 
in the same predicament, better to fix the issue properly. I suggest you 
try the following:

1. stop WeeWX
2. revert the change you made to manager.py
3. run wee_database 
<http://weewx.com/docs/utilities.htm#wee_database_utility> with the --update 
action:

$ wee_database --update

4. restart WeeWX

That should fix the problem, if not post the error trace from the log.

Gary
On Tuesday, 22 September 2020 at 13:05:19 UTC+10 [email protected] wrote:

> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a3f4766a-0c95-4903-8542-edeaefe52667n%40googlegroups.com.

Reply via email to