Hi Caeron,

damn...yes....theat was obvious. It works now. Thank you very much

But Python3 seems not as lazy as Python2, now I got this and weewx stops 
generating the webpage:

 
Generate failed with exception '<class 'TypeError'>'
Jun 20 11:00:56 weewx weewx[25088] ERROR weewx.cheetahgenerator: **** 
Ignoring template /etc/weewx/skins/Responsive/index.html.tmpl
Jun 20 11:00:56 weewx weewx[25088] ERROR weewx.cheetahgenerator: **** Reason
: '>' not supported between instances of 'NoneType' and 'int'
Jun 20 11:00:56 weewx weewx[25088] ERROR weewx.cheetahgenerator: ****  
Traceback (most recent call last):
Jun 20 11:00:56 weewx weewx[25088] ERROR weewx.cheetahgenerator: ****    
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
Jun 20 11:00:56 weewx weewx[25088] ERROR weewx.cheetahgenerator: ****     
 unicode_string = compiled_template.respond()
Jun 20 11:00:56 weewx weewx[25088] ERROR weewx.cheetahgenerator: ****    
File "_etc_weewx_skins_Responsive_index_html_tmpl.py", line 2284, in respond
Jun 20 11:00:56 weewx weewx[25088] ERROR weewx.cheetahgenerator: ****  
TypeError: '>' not supported between instances of 'NoneType' and 'int'


I fear some value inside the database which was queried and I want to do a 
graph seems to contain 'no data' or 'NoneType'?
But the errer doen'st really help where it could happened...! :-P

Let's see...

Regards,

Christian 

Am Samstag, 20. Juni 2020 10:50:42 UTC+2 schrieb Cameron D:
>
> Hi Christian,
> sorry, I forgot the bit where you also need to rename your main schema 
> from "schema" to "table".
>
> Don't worry about adding columns just in case you might need them in 
> future - with mysql you can add them any time you need. It is rather more 
> flexible than sqlite about altering table definitions after they have been 
> created.
>
> Cameron.
>

-- 
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/98f95a84-01b3-44f0-9ace-52d74132a932o%40googlegroups.com.

Reply via email to