Oops. Commit is 3d3e76
<https://github.com/weewx/weewx/commit/3d3e766d1be2922ae5d9d5f19239020b79d22116>

-tk

On Wed, Jan 23, 2019 at 9:37 AM Thomas Keffer <[email protected]> wrote:

> Gary: the toString() option NONE_string got changed to None_string.
> Didn't realize anyone was using it.
>
> I've added NONE_string for backwards compatibility in commit 3d3e76.
>
> -tk
>
> On Wed, Jan 23, 2019 at 9:22 AM <[email protected]> wrote:
>
>> Just updated to 3.9.0b1 and am getting the following error.  I guess Gary
>>> needs to look at the WD script.
>>
>>
>> Jan 23 11:13:24 raspberrypi weewx[11023]: cheetahgenerator: Generate
>> failed with exception '<type 'exceptions.TypeError'>'
>> Jan 23 11:13:24 raspberrypi weewx[11023]: cheetahgenerator: **** Ignoring
>> template /home/weewx/skins/Clientraw/clientrawdaily.txt.tmpl
>> Jan 23 11:13:24 raspberrypi weewx[11023]: cheetahgenerator: **** Reason:
>> toString() got an unexpected keyword argument 'NONE_string'
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****  Traceback (most recent
>> call last):
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****    File
>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in generate
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****
>> fd.write(str(compiled_template))
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****    File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>> __str__
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****      rc = getattr(self,
>> mainMethName)()
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****    File
>> "_home_weewx_skins_Clientraw_clientrawdaily_txt_tmpl.py", line 138, in
>> respond
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****  TypeError: toString() got
>> an unexpected keyword argument 'NONE_string'
>> Jan 23 11:13:24 raspberrypi weewx[11023]: cheetahgenerator: Generate
>> failed with exception '<type 'exceptions.TypeError'>'
>> Jan 23 11:13:24 raspberrypi weewx[11023]: cheetahgenerator: **** Ignoring
>> template /home/weewx/skins/Clientraw/clientraw.txt.tmpl
>> Jan 23 11:13:24 raspberrypi weewx[11023]: cheetahgenerator: **** Reason:
>> toString() got an unexpected keyword argument 'NONE_string'
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****  Traceback (most recent
>> call last):
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****    File
>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in generate
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****
>> fd.write(str(compiled_template))
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****    File
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>> __str__
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****      rc = getattr(self,
>> mainMethName)()
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****    File
>> "_home_weewx_skins_Clientraw_clientraw_txt_tmpl.py", line 194, in respond
>> Jan 23 11:13:24 raspberrypi weewx[11023]: ****  TypeError: toString() got
>> an unexpected keyword argument 'NONE_string'
>>
>> Tom
>>
>>
>> --
>> 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.
>>
>

-- 
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