Ok brilliant, thanks!

(Sorry, I am a complete novice at Python)


On Tuesday, April 9, 2019 at 10:22:29 AM UTC+2, gjr80 wrote:
>
> Hi,
>
> Other than the obvious:
>
> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****    File 
> "/home/weewx/bin/user/glowworm.py", line 40, in __init__
> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****      self.archive_thread 
> = GWThread(self.archive_queue, _manager_dict, *_config_dict)
> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****  TypeError: __init__() 
> got an unexpected keyword argument 'log_success'
>
> which tells us that class GWThread received an unexpected keyword 
> argument named 'log_success' as part of its initialisation, it's 
> impossible to say much without knowing anything about 
> /home/weewx/bin/user/glowworm.py. glowworm.py is not part of the WeeWX 
> code base so you might need to seek out the author or give us some further 
> details.
>
> Gary
>
> On Tuesday, 9 April 2019 17:51:26 UTC+10, [email protected] wrote:
>>
>> Good  morning
>>
>> I have just upgrade 3.7.0 to 3.9.1 on a raspberry pi
>>
>> I get the following in the log now:
>>
>> Apr  9 09:47:48 raspberrypi weewx[22241]: engine: Caught unrecoverable 
>> exception in engine:
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****  __init__() got an 
>> unexpected keyword argument 'log_success'
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****  Traceback (most 
>> recent call last):
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****    File 
>> "/home/weewx/bin/weewx/engine.py", line 884, in main
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****      engine = 
>> engine_class(config_dict)
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****    File 
>> "/home/weewx/bin/weewx/engine.py", line 78, in __init__
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****     
>>  self.loadServices(config_dict)
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****    File 
>> "/home/weewx/bin/weewx/engine.py", line 142, in loadServices
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****     
>>  self.service_obj.append(weeutil.weeutil._get_object(svc)(self, 
>> config_dict))
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****    File 
>> "/home/weewx/bin/user/glowworm.py", line 40, in __init__
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****     
>>  self.archive_thread = GWThread(self.archive_queue, _manager_dict, 
>> **_config_dict)
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****  TypeError: __init__() 
>> got an unexpected keyword argument 'log_success'
>> Apr  9 09:47:48 raspberrypi weewx[22241]:     ****  Exiting.
>> ^
>>
>> Any ideas?
>>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to