wunderfixer: OK with --test, fails when doing it for real

30 views
Skip to first unread message

David Hathaway

unread,
Nov 2, 2016, 9:51:47 PM11/2/16
to weewx-user
Xfinity crapped again, cutting my station off from the net.  I decided to try wunderfixer.

When run as

>> sudo wunderfixer -t

I get a lot of pseudo-published records, such as.

Using configuration file /etc/weewx/weewx.conf.
Using database binding 'wx_binding', which is bound to database 'archive_mysql'
2016-11-02 00:00:00 CDT (1478062800); 30.014";  75.2F;  86%; 0.8 mph;  97 deg; 2.0 mph gust;  70.7F; 0.00" rain; 0.00" daily rain  ... skipped.
2016-11-02 00:01:00 CDT (1478062860); 30.013";  75.2F;  86%; 0.2 mph;  97 deg; 1.0 mph gust;  70.7F; 0.00" rain; 0.00" daily rain  ... skipped.

etc

However, run as 

>> sudo wunderfixer

I get:

Using configuration file /etc/weewx/weewx.conf.
Using database binding 'wx_binding', which is bound to database 'archive_mysql'
2016-11-02 00:00:00 CDT (1478062800); 30.014";  75.2F;  86%; 0.8 mph;  97 deg; 2.0 mph gust;  70.7F; 0.00" rain; 0.00" daily rain
Traceback (most recent call last):
  File "/usr/bin/wunderfixer", line 558, in <module>
    main()
  File "/usr/bin/wunderfixer", line 276, in main
    wunder.postData(record)
  File "/usr/bin/wunderfixer", line 387, in postData
    for _key in weewx.restx.AmbientThread._formats:
AttributeError: type object 'AmbientThread' has no attribute '_formats'

What am I doing wrong?

Dave

mwall

unread,
Nov 2, 2016, 9:57:58 PM11/2/16
to weewx-user
On Wednesday, November 2, 2016 at 9:51:47 PM UTC-4, David Hathaway wrote:
What am I doing wrong?

hi dave,

the missing '_formats' is a bug in weewx 3.6.0 caused by changes i made

it has been fixed in weewx 3.6.1

m

gjr80

unread,
Nov 2, 2016, 9:57:59 PM11/2/16
to weewx-user
Hi,

What version of weewx are you running, 3.6.0? I am pretty sure this issue was fixed in 3.6.1. If you are on 3.6.0 you might want to try pulling down the current wunderfixer.py.

Gary

David Hathaway

unread,
Nov 2, 2016, 10:02:49 PM11/2/16
to weewx-user
mwall and Gary,

Yes, it is 3.6.0.  I'll go ahead and update.  I didn't realize there was a 3.6.1 already. :-/

I'll report back on success or failure.

Dave


--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/W2sBVQJmAQw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Hathaway

unread,
Nov 2, 2016, 10:08:34 PM11/2/16
to weewx-user
Worked great!  Thanks ever so much!

Dave
Reply all
Reply to author
Forward
0 new messages