gjr80 / weewx-weewx-wd Goto Github PK
View Code? Open in Web Editor NEWA WeeWX extension to support Weather Display Live and the Carter Lake/Saratoga weather website templates.
License: GNU General Public License v3.0
A WeeWX extension to support Weather Display Live and the Carter Lake/Saratoga weather website templates.
License: GNU General Public License v3.0
i did fresh install of weewx latest version 4.9.1. I installed weewx-weewx-wd-master.zip. Clientrav.txt file is not generated. clientrawdaily, clientrawextra.txt and clientrawhour.txt are generated and updated. Operating system Arch Linux v.22 Sikaris. I have other extensions installed and they work fine.
log1.txt
Templates should continue to generate, albeit with blank or N/A fields/content when there are no records in the wdSupp db. At the moment some abort.
WeeWx 4.5.1 .deb
WeeWx-WD 2.1.3
Upgraded from stale bitbucket build after removing via wee_extension --uninstall Weewx-WD. Installed via wee_extension --install to 2.0.0. Completed the instructions, started and confirmed no crashes or errors, and all files are being generated. Installed 2.1.3 via same process sans uninstall. Wee_extension --list still shows 2.0.0.
Verified /usr/share/weewx/user/wd.py matches v2.1.3 build.
Some code assumes pyephem is installed by calling methods/accessing properties only available when pyephem is installed.
Seems to mainly apply to wdSupp
additions.
Apr 16 17:27:54 cockatoo weewx[17177]: engine: Clock error is -0.58 seconds (positive is fast)
Apr 16 17:27:54 cockatoo weewx[17177]: manager: Added record 2019-04-16 17:25:00 AEST (1555399500) to database 'weewx'
Apr 16 17:27:54 cockatoo weewx[17177]: manager: Added record 2019-04-16 17:25:00 AEST (1555399500) to daily summary in 'weewx'
Apr 16 17:27:54 cockatoo weewx[17177]: manager: Added record 2019-04-16 17:25:00 AEST (1555399500) to database 'weewxwd'
Apr 16 17:27:54 cockatoo weewx[17177]: manager: Added record 2019-04-16 17:25:00 AEST (1555399500) to daily summary in 'weewxwd'
Apr 16 17:27:54 cockatoo weewx[17177]: engine: Main loop exiting. Shutting engine down.
Apr 16 17:27:55 cockatoo weewx[17177]: engine: Caught unrecoverable exception in engine:
Apr 16 17:27:55 cockatoo weewx[17177]: **** 'forecastIcon'
Apr 16 17:27:55 cockatoo weewx[17177]: **** Traceback (most recent call last):
Apr 16 17:27:55 cockatoo weewx[17177]: **** File "/home/weewx/bin/weewx/engine.py", line 890, in main
Apr 16 17:27:55 cockatoo weewx[17177]: **** engine.run()
Apr 16 17:27:55 cockatoo weewx[17177]: **** File "/home/weewx/bin/weewx/engine.py", line 160, in run
Apr 16 17:27:55 cockatoo weewx[17177]: **** self.dispatchEvent(weewx.Event(weewx.STARTUP))
Apr 16 17:27:55 cockatoo weewx[17177]: **** File "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
Apr 16 17:27:55 cockatoo weewx[17177]: **** callback(event)
Apr 16 17:27:55 cockatoo weewx[17177]: **** File "/home/weewx/bin/weewx/engine.py", line 520, in startup
Apr 16 17:27:55 cockatoo weewx[17177]: **** self._catchup(self.engine.console.genStartupRecords)
Apr 16 17:27:55 cockatoo weewx[17177]: **** File "/home/weewx/bin/weewx/engine.py", line 635, in _catchup
Apr 16 17:27:55 cockatoo weewx[17177]: **** origin='hardware'))
Apr 16 17:27:55 cockatoo weewx[17177]: **** File "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
Apr 16 17:27:55 cockatoo weewx[17177]: **** callback(event)
Apr 16 17:27:55 cockatoo weewx[17177]: **** File "/home/weewx/bin/user/weewxwd.py", line 880, in new_archive_record
Apr 16 17:27:55 cockatoo weewx[17177]: **** _record.update(self.process_loop())
Apr 16 17:27:55 cockatoo weewx[17177]: **** File "/home/weewx/bin/user/weewxwd.py", line 934, in process_loop
Apr 16 17:27:55 cockatoo weewx[17177]: **** if self.loop_packet['forecastIcon'] is not None:
Apr 16 17:27:55 cockatoo weewx[17177]: **** KeyError: 'forecastIcon'
Apr 16 17:27:55 cockatoo weewx[17177]: **** Exiting.
Following thread refers:
https://groups.google.com/forum/m/#!topic/weewx-user/wO9O67SLfgQ
Not sure if this is only a bitbucket weeWX-WD issue or if it applies to github weeWX-WD as well.
Migrated from stale bitbucket version to v2.0.0. Customclientraw.txt is no longer being generated. Confirmed clientraw.txt, hourly, daily, and extra are all being generated.
WeeWx 4.5.1
WeeWx-WD 2.1.3 (although wee_extension --list still shows 2.0.0 // confirmed /usr/share/weewx/users/wd.py matches 2.1.3 in git)
First % in this line should be %s
logerr("WdSuppArchive:", 'Vacuuming **database % failed**: %s' % (dbm.database_name, e))
@staticmethod
def vacuum_database(dbm):
""" Vacuum our database to save space.
"""
# SQLite databases need a little help to prevent them from continually
# growing in size even though we prune records from the database.
# Vacuum will only work on SQLite databases. It will compact the
# database file. It should be OK to run this on a MySQL database - it
# will silently fail.
# remove timing code once we get a handle on how long this takes
# Get time now as a ts
t1 = time.time()
try:
dbm.getSql('vacuum')
except Exception, e:
logerr("WdSuppArchive:", 'Vacuuming **database % failed**: %s' % (dbm.database_name, e))
t2 = time.time()
logdbg("WdSuppArchive:", "vacuum_database executed in %0.9f seconds" % (t2-t1))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.