Hi Guys
With Garys help with getting a gauge-data.txt file to generate I decided to 
try the next step (Logs were all clear) and add 'appTemp' and 'windrun' 
using Pat O Brien ADDING A NEW OBSERVATION TYPE TO THE WEEWX DATABASE
I did this on 3.9.2 and it worked fine but on 4.0.0b18 and after using 
wee_databse --rebuild- daily which was successful 
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
Generate failed with exception '<class ' I get the folowing 
loNameMapper.NotFound'>'
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
**** Ignoring template /home/weewx/skins/Seasons/NOAA/NOAA-%Y-%m.txt.tmpl
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
**** Reason: cannot find 'count' while searching for 'day.wind.count.raw'
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****  Traceback (most recent call last):
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in 
generate
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****      unicode_string = compiled_template.respond()
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****    File "_home_weewx_skins_Seasons_NOAA_NOAA__Y__m_txt_tmpl.py", line 
431, in respond
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****  NameMapper.NotFound: cannot find 'count' while searching for 
'day.wind.count.raw'
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
Generate failed with exception '<class 'NameMapper.NotFound'>'
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
**** Ignoring template /home/weewx/skins/Seasons/NOAA/NOAA-%Y.txt.tmpl
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
**** Reason: cannot find 'count' while searching for 'month.wind.count.raw'
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****  Traceback (most recent call last):
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in 
generate
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****      unicode_string = compiled_template.respond()
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****    File "_home_weewx_skins_Seasons_NOAA_NOAA__Y_txt_tmpl.py", line 
862, in respond
Apr  7 13:38:09 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****  NameMapper.NotFound: cannot find 'count' while searching for 
'month.wind.count.raw'
Apr  7 13:38:11 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
Generate failed with exception '<class 'NameMapper.NotFound'>'
Apr  7 13:38:11 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
**** Ignoring template /home/weewx/skins/Seasons/rss.xml.tmpl
Apr  7 13:38:11 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
**** Reason: cannot find 'max' while searching for 'day.wind.max'
Apr  7 13:38:11 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****  Traceback (most recent call last):
Apr  7 13:38:11 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in 
generate
Apr  7 13:38:11 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****      unicode_string = compiled_template.respond()
Apr  7 13:38:11 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****    File "_home_weewx_skins_Seasons_rss_xml_tmpl.py", line 268, in 
respond
Apr  7 13:38:11 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****  NameMapper.NotFound: cannot find 'max' while searching for 
'day.wind.max'
Apr  7 13:38:11 raspberrypi wee_reports[974] INFO weewx.cheetahgenerator: 
Generated 5 files for report SeasonsReport in 2.74 seconds
Apr  7 13:38:15 raspberrypi wee_reports[974] INFO weewx.imagegenerator: 
Generated 30 images for report SeasonsReport in 3.64 seconds
Apr  7 13:38:15 raspberrypi wee_reports[974] INFO weewx.reportengine: 
Copied 5 files to /home/weewx/public_html
Apr  7 13:38:16 raspberrypi wee_reports[974] INFO weewx.reportengine: 
Copied 6 files to /home/weewx/public_html/ss
Apr  7 13:38:17 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
Generate failed with exception '<class 'NameMapper.NotFound'>'
Apr  7 13:38:17 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
**** Ignoring template /home/weewx/skins/ss/gauge-data.txt.tmpl
Apr  7 13:38:17 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
**** Reason: cannot find 'vecdir' while searching for 
'day.wind.vecdir.formatted'
Apr  7 13:38:17 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****  Traceback (most recent call last):
Apr  7 13:38:17 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in 
generate
Apr  7 13:38:17 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****      unicode_string = compiled_template.respond()
Apr  7 13:38:17 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****    File "_home_weewx_skins_ss_gauge_data_txt_tmpl.py", line 586, in 
respond
Apr  7 13:38:17 raspberrypi wee_reports[974] ERROR weewx.cheetahgenerator: 
****  NameMapper.NotFound: cannot find 'vecdir' while searching for 
'day.wind.vecdir.formatted'
Apr  7 13:38:17 raspberrypi wee_reports[974] INFO weewx.cheetahgenerator: 
Generated 1 files for report SteelSeries in 0.36 seconds
Apr  7 13:38:17 raspberrypi wee_reports[974] INFO weewx.imagegenerator: 
Generated 11 images for report SteelSeries in 0.46 seconds
Apr  7 13:39:37 raspberrypi kernel: [  174.471871] usb 1-1.3.3: new 
high-speed USB device number 7 using xhci_hcd
Apr  7 13:39:37 raspberrypi kernel: [  174.603032] usb 1-1.3.3: New USB 
device found, idVendor=0781, idProduct=5591, bcdDevice= 1.00
Apr  7 13:39:37 raspberrypi kernel: [  174.603046] usb 1-1.3.3: New USB 
device strings: Mfr=1, Product=2, SerialNumber=3
Apr  7 13:39:37 raspberrypi kernel: [  174.603056] usb 1-1.3.3: Product: 
Ultra USB 3.0
Apr  7 13:39:37 raspberrypi kernel: [  174.603067] usb 1-1.3.3: 
Manufacturer: SanDisk
Apr  7 13:39:37 raspberrypi kernel: [  174.603076] usb 1-1.3.3: 
SerialNumber: 4C530001020621102111
Apr  7 13:39:37 raspberrypi kernel: [  174.614960] usb-storage 1-1.3.3:1.0: 
USB Mass Storage device detected
Apr  7 13:39:37 raspberrypi kernel: [  174.615444] scsi host0: usb-storage 
1-1.3.3:1.0
Apr  7 13:39:37 raspberrypi mtp-probe: checking bus 1, device 7: 
"/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.3"
Apr  7 13:39:37 raspberrypi mtp-probe: bus: 1, device: 7 was not an MTP 
device
Apr  7 13:39:37 raspberrypi mtp-probe: checking bus 1, device 7: 
"/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.3"
Apr  7 13:39:37 raspberrypi mtp-probe: bus: 1, device: 7 was not an MTP 
device
Apr  7 13:39:38 raspberrypi kernel: [  175.693342] scsi 0:0:0:0: 
Direct-Access     SanDisk  Ultra USB 3.0    1.00 PQ: 0 ANSI: 6
Apr  7 13:39:38 raspberrypi kernel: [  175.702713] sd 0:0:0:0: [sda] 
60062500 512-byte logical blocks: (30.8 GB/28.6 GiB)
Apr  7 13:39:38 raspberrypi kernel: [  175.703995] sd 0:0:0:0: [sda] Write 
Protect is off
Apr  7 13:39:38 raspberrypi kernel: [  175.704013] sd 0:0:0:0: [sda] Mode 
Sense: 43 00 00 00
Apr  7 13:39:38 raspberrypi kernel: [  175.704789] sd 0:0:0:0: [sda] Write 
cache: disabled, read cache: enabled, doesn't support DPO or FUA
Apr  7 13:39:38 raspberrypi kernel: [  175.714995]  sda: sda1
Apr  7 13:39:38 raspberrypi kernel: [  175.718471] sd 0:0:0:0: [sda] 
Attached SCSI removable disk
Apr  7 13:39:38 raspberrypi kernel: [  175.724708] sd 0:0:0:0: Attached 
scsi generic sg0 type 0
Apr  7 13:39:39 raspberrypi kernel: [  176.157189] FAT-fs (sda1): Volume 
was not properly unmounted. Some data may be corrupt. Please run fsck.
Apr  7 13:39:39 raspberrypi dbus-daemon[682]: [session uid=1000 pid=682] 
Activating via systemd: service name='org.gtk.vfs.Metadata' 
unit='gvfs-metadata.service' requested by ':1.7' (uid=1000 pid=745 
comm="pcmanfm --desktop --profile LXDE-pi ")
Apr  7 13:39:39 raspberrypi systemd[633]: Starting Virtual filesystem 
metadata service...
Apr  7 13:39:39 raspberrypi dbus-daemon[682]: [session uid=1000 pid=682] 
Successfully activated service 'org.gtk.vfs.Metadata'
Apr  7 13:39:39 raspberrypi systemd[633]: Started Virtual filesystem 
metadata service.
Apr  7 13:39:39 raspberrypi systemd[1]: Created slice 
system-clean\x2dmount\x2dpoint.slice.
Apr  7 13:39:39 raspberrypi systemd[1]: Started Clean the /media/pi/SD 
mount point.
Apr  7 13:39:39 raspberrypi udisksd[361]: Mounted /dev/sda1 at /media/pi/SD 
on behalf of uid 1000
Apr  7 13:40:16 raspberrypi weewx[624] ERROR weewx.cheetahgenerator: 
Generate failed with exception '<class 'NameMapper.NotFound'>'
Apr  7 13:40:16 raspberrypi weewx[624] ERROR weewx.cheetahgenerator: **** 
Ignoring template /home/weewx/skins/Seasons/NOAA/NOAA-%Y-%m.txt.tmpl
Apr  7 13:40:16 raspberrypi weewx[624] ERROR weewx.cheetahgenerator: **** 
Reason: cannot find 'count' while searching for 'day.wind.count.raw'
Apr  7 13:40:16 raspberrypi weewx[624] ERROR weewx.cheetahgenerator: ****  
Traceback (most recent call last):
Apr  7 13:40:16 raspberrypi weewx[624] ERROR weewx.cheetahgenerator: 
****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in 
generate
Apr  7 13:40:16 raspberrypi weewx[624] ERROR weewx.cheetahgenerator: 
****      unicode_string = compiled_template.respond()
Apr  7 13:40:16 raspberrypi weewx[624] ERROR weewx.cheetahgenerator: 
****    File "_home_weewx_skins_Seasons_NOAA_NOAA__Y__m_txt_tmpl.py", line 
431, in respond
Apr  7 13:40:16 raspberrypi weewx[624] ERROR weewx.cheetahgenerator: ****  
NameMapper.NotFound: cannot find 'count' while searching for 
'day.wind.count.raw'

I restored the origanal weewx.sdb (without appTemp and windrun and and it 
works OK
I then tried update the database a second time and got the same results and 
the above log.
As it worked with the pre change weewx.sdb and not to the new database Im 
assuming (don't like doing that) the problem may well be the new database
Phil

On Saturday, April 4, 2020 at 10:40:41 AM UTC+1, Phil Owers wrote:
>
> Hi Guys
>
> First of all I hope everybody is staying safe and well
>
> Before I go into to many details  should weewx v4.0.0b18 work on its own.
>
> Followed the Installation using setup.py, loaded all the prerequisites for 
> Debian 10(Buster)
> Installed using python3 ./setup.py build  , sudo python3 ./setup.py install
>
> Entered the name, vantage (6), serial , metric, ttyusb0  etc.
>
> Then started weewx using sudo ./bin/weewx
> It downloaded all the data from my test console (This works fine plug into 
> another rasp pi v 3.9.2) then failed continuously overnight with no graphs 
> being generated.
> The weewx.sdb was generated.
>
> Apr  4 10:22:20 raspberrypi weewx[1030] INFO weewx.manager: Starting 
> backfill of daily summaries
> Apr  4 10:22:22 raspberrypi weewx[1030] INFO weewx.engine: Starting main 
> packet loop.
> Apr  4 10:22:26 raspberrypi weewx[1030] INFO weewx.engine: Main loop 
> exiting. Shutting engine down.
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__: Caught OSError: 
> [Errno 5] Input/output error
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****  
> Traceback (most recent call last):
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****    
> File "./bin/weewxd", line 154, in main
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****      
> engine.run()
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****    
> File "/home/weewx/bin/weewx/engine.py", line 191, in run
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****      
> self.dispatchEvent(weewx.Event(weewx.NEW_LOOP_PACKET, packet=packet))
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****    
> File "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****      
> callback(event)
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****    
> File "/home/weewx/bin/weewx/engine.py", line 740, in new_loop_packet
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****      
> to_sorted_string(event.packet))
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****  
> OSError: [Errno 5] Input/output error
> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****  
> Waiting 10 seconds then retrying...
> Apr  4 10:22:28 raspberrypi kernel: [38075.324656] usb 1-1.3: new 
> high-speed USB device number 6 using xhci_hcd
>
> No extensions have been added . Apologies if Ive jumped the gun and this 
> doesn't work yet as a standalone
> Phil
>

-- 
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/1849e978-9319-418b-b139-8296061ef08b%40googlegroups.com.

Reply via email to