Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WeeWX 3.9.1-1 not supported? #21

Closed
MichaelAronsen opened this issue Jul 26, 2019 · 3 comments
Closed

WeeWX 3.9.1-1 not supported? #21

MichaelAronsen opened this issue Jul 26, 2019 · 3 comments

Comments

@MichaelAronsen
Copy link

I got everything installed and built fine, but when WeeWX tries to send a packet, I get these log messages from WeeWX:
Jul 26 10:41:06 weewx weewx[14766]: restx: WeeRT: Unexpected exception of type <type 'exceptions.AttributeError'>
Jul 26 10:41:06 weewx weewx[14766]: *** Traceback (most recent call last):
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 350, in run_loop
Jul 26 10:41:06 weewx weewx[14766]: *** self.process_record(_record, dbmanager)
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 393, in process_record
Jul 26 10:41:06 weewx weewx[14766]: *** _full_record = self.get_record(record, dbmanager)
Jul 26 10:41:06 weewx weewx[14766]: *** File "/usr/share/weewx/weewx/restx.py", line 263, in get_record
Jul 26 10:41:06 weewx weewx[14766]: *** _result = dbmanager.getSql(
Jul 26 10:41:06 weewx weewx[14766]: *** AttributeError: 'NoneType' object has no attribute 'getSql'
Jul 26 10:41:06 weewx weewx[14766]: restx: WeeRT: Thread exiting. Reason: 'NoneType' object has no attribute 'getSql'
Jul 26 10:41:16 weewx weewx[14766]: interceptor: MainThread: empty queue
Jul 26 10:41:36 weewx weewx[14766]: message repeated 2 times: [ interceptor: MainThread: empty queue]

@tkeffer
Copy link
Owner

tkeffer commented Jul 26, 2019

I believe this was fixed in WeeWX 3.9.2. Try that. If not, we'll reopen the issue.

@tkeffer tkeffer closed this as completed Jul 26, 2019
@maikosoft
Copy link

I believe this was fixed in WeeWX 3.9.2. Try that. If not, we'll reopen the issue.

Thanks

@MichaelAronsen
Copy link
Author

It was indeed fixed, thanks.

Funnily, weewx.com went down while I ran apt upgrade..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants