Aug 18 15:50:17 norge weewx[14348]: cheetahgenerator: Generate failed with 
exception '<type 'exceptions.TypeError'>'
Aug 18 15:50:17 norge weewx[14348]: cheetahgenerator: **** Ignoring 
template /home/weewx/skins/Standard/index.html.tmpl
Aug 18 15:50:17 norge weewx[14348]: cheetahgenerator: **** Reason: 
unsupported operand type(s) for *: 'NoneType' and 'float'
Aug 18 15:50:17 norge weewx[14348]: ****  Traceback (most recent call last):
Aug 18 15:50:17 norge weewx[14348]: ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Aug 18 15:50:17 norge weewx[14348]: ****      
fd.write(str(compiled_template))
Aug 18 15:50:17 norge weewx[14348]: ****    File 
"/usr/lib64/python2.7/site-packages/Cheetah/Template.py", line 1005, in 
__str__
Aug 18 15:50:17 norge weewx[14348]: ****      rc = getattr(self, 
mainMethName)()
Aug 18 15:50:17 norge weewx[14348]: ****    File 
"_home_weewx_skins_Standard_index_html_tmpl.py", line 1059, in respond
Aug 18 15:50:17 norge weewx[14348]: ****  TypeError: unsupported operand 
type(s) for *: 'NoneType' and 'float'
Aug 18 15:50:17 norge weewx[14348]: cheetahgenerator: Generated 13 files 
for report StandardReport in 0.59 seconds
Aug 18 15:50:18 norge weewx[14348]: imagegenerator: Generated 53 images for 
StandardReport in 1.75 seconds
Aug 18 15:50:18 norge weewx[14348]: copygenerator: copied 14 files to 
/home/weewx/public_html
Aug 18 15:50:35 norge weewx[14348]: sftpgenerator: transferred 82 files in 
17.08 seconds
Aug 18 15:50:37 norge weewx[14348]: rsyncupload: rsync'd 83 files 
(1,458,429 bytes) in 1.85 seconds

I did a:

wee-device --clear-memory

today to remove a duplicate record from trying to be created in the 
database.  Perhaps not a great idea.  Anyhow, ever since I got the above 
error every 5 minutes.  It's not reading the data from my receiver, 
although I can talk to it by setting the lamp on/off, etc. And although it 
indicates it uploading files to my website, the time and data remain the 
same (i.e. it's not updating anything.)

I'm hoping this will clear itself once it collects a few hours of data.  Mu 
hope is it's getting a math error because it has no older data.  Is this a 
fair assumption, or do I have to do something other than wait for it to 
settle down?

- Paul VE1DX

-- 
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/302dc9dc-46d4-49a8-a216-633c3f4d0222%40googlegroups.com.

Reply via email to