Commit Graph

27 Commits

Author SHA1 Message Date
Tom Keffer
4838e615fe Ported most of the utilities to use the Python logging module. 2019-08-17 14:49:34 -07:00
Tom Keffer
0728b54c6b Use native 'range', instead of compatibility shim. 2019-02-24 06:01:25 -08:00
Tom Keffer
4f85b13d5a Ported executables using python-modernize 2019-02-12 18:46:47 -08:00
Tom Keffer
14ca1bd59b Port wee_debug to Py3 2019-02-10 09:00:48 -08:00
Tom Keffer
6c98ce4e86 Changed xrange() to range() 2019-02-09 15:04:00 -08:00
vinceskahan
701f094a59 2to3 -f except -w (#315) 2018-04-09 05:55:16 -07:00
Tom Keffer
f74350a065 wee_debug now shows database version number 2018-03-25 16:16:32 -07:00
Tom Keffer
1e388af4d5 Added exec permissions; changed to use env to execute 2017-03-20 12:06:49 -07:00
Bill Richter
17480b0ab4 bump version number 2017-03-20 11:47:32 -07:00
Bill Richter
703d88bc97 add OSError if load average cannot be gotten. 2017-03-20 11:22:10 -07:00
Bill Richter
f47393fea3 Modify how system info data gathered.
Get rid of test for OS before reporting system info
--verbosity=2 will show the environment
Tested on FreeBSD 11 and Fedora 25
sh-4.3# ./wee_debug --info |more
Using verbosity=1, displaying most info

wee_debug output will be sent to stdout(console)

Using configuration file /home/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_sqlite'

System info
  Platform:       Linux-4.9.14-200.fc25.x86_64-x86_64-with-fedora-25-Twenty_Five
  Python Version: 2.7.13

Load Information
  1 minute load average:  0.24
  5 minute load average:  0.33
  15 minute load average: 0.20

General Weewx info
  Weewx version 3.7.0 detected.

# ./wee_debug --info --verbosity=2 |more
Using verbosity=2, displaying all info

wee_debug output will be sent to stdout(console)

Using configuration file /home/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_sqlite'

System info
  Platform:
2017-03-20 10:55:21 -07:00
Bill Richter
081a8df8bb restore a version of the fix with fixes for freebsd. 2017-03-20 09:20:25 -07:00
Bill Richter
403c57da11 Delete wee_debug 2017-03-20 09:18:03 -07:00
Bill Richter
a3bde8d1f3 Add files via upload
This includes an update to allow some system info and uptime information for *BSD systems.
2017-03-19 23:50:00 -07:00
Tom Keffer
b61d09aa82 Use #!/usr/bin/env python to invoke.
Add executable privilege
2016-10-12 16:39:04 -07:00
gjr80
48558da559 Almost forgot the docs, minor reformat of wee_debug description 2016-10-11 12:22:48 +10:00
gjr80
21b9f5bd98 Fix merge conflicts 2016-10-10 13:55:32 +10:00
matthewwall
6b2975d05f do not obfuscate station_type 2016-10-09 09:07:08 -04:00
gjr80
b92d55bf41 add --config command line option
Addresses issue #166
2016-10-09 08:34:30 +10:00
Tom Keffer
a2d80501e6 s/Command/Action in the utilities themselves. 2016-09-23 18:05:03 -07:00
Tom Keffer
a8f01f7bed Suppressed lots of eclipse "Unused variable" warnings. 2016-03-11 12:02:26 -08:00
Tom Keffer
077edaaaa4 Changed execution bit 2016-01-18 09:01:20 -08:00
gjr80
7ce40f144a wee_debug now tolerates archives with no records 2015-12-18 12:05:08 +10:00
gjr80
5f96a51e4b Further obfuscation refinements
Added additional keys to obfuscate.
Changed obfuscation search to match keys starting with any element in
the KEYS_TO_OBFUSCATE list.
2015-11-24 21:54:15 +10:00
gjr80
deeb04aabc Fixed errors in obfuscateKey()
Fixed logic errors, added comments and fixed some plain bad programming!
2015-11-24 15:23:04 +10:00
gjr80
43a2039a3d v0.3, took on Tom's feedback
-removed inserting bin path
-now uses dateTime field for record count
-obfuscateKey now makes a copy of the passed dict before (potentially)
altering any elements
-other cosmetic changes
2015-10-22 15:40:43 +10:00
gjr80
7fb976523a weewx debugging report generator
v0.2. Combined all reporting into a single report. Simplified command
line use. Added installed extension reporting.
2015-10-18 11:36:11 +10:00