wee_report error

64 views
Skip to first unread message

Francesco Fasano

unread,
Feb 14, 2021, 4:10:21 AM2/14/21
to weewx-user
Good morning,
i upgraded to weewx 4.4.0 with python3 now when i do wee_report i get this error
 sudo ./wee_reports
Using configuration file /home/weewx/weewx.conf
Traceback (most recent call last):
  File "./wee_reports", line 103, in <module>
    main()
  File "./wee_reports", line 69, in main
    engine = weewx.engine.DummyEngine(config_dict)
  File "/home/weewx/bin/weewx/engine.py", line 93, in __init__
    self.loadServices(config_dict)
  File "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
    obj = weeutil.weeutil.get_object(svc)(self, config_dict)
  File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
    mod = __import__(module)
  File "/home/weewx/bin/user/rtgd.py", line 1234
    except Exception, e:
                    ^
SyntaxError: invalid syntax

I attach syslog and dubug

sislogdebug.zip

gjr80

unread,
Feb 14, 2021, 5:30:34 AM2/14/21
to weewx-user
Hi,

Whilst you upgraded to WeeWX 4/python3 it looks like you are still running the Realtime gauge-data (rtgd) extension v0.3.7 which is not compatible with WeeWX 4/python3. You need to upgrade rtgd to at least v0.4.0, I would recommend upgrading to the latest version which is v0.4.2.

Since you upgraded to python3 you might want to check any other extensions/add-ons you have installed to make sure they are python3 comp[atible as well.

Gary

Francesco Fasano

unread,
Feb 14, 2021, 5:36:35 AM2/14/21
to weewx...@googlegroups.com
Thanks so much,
I solved it by updating version 0.5 from https://github.com/gjr80/weewx-realtime_gauge-data
Thank you very much :-) now it works

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dec9f777-dc08-4c34-895b-4a78eabc4e83n%40googlegroups.com.

gjr80

unread,
Feb 14, 2021, 5:46:40 AM2/14/21
to weewx-user
Interesting, I have not yet released v0.5.0. I presume you have installed from master, you should be safe but use anything other than a release at your own peril.

Gary

Francesco Fasano

unread,
Feb 14, 2021, 5:54:08 AM2/14/21
to weewx...@googlegroups.com
Yes I got it from the master and I can tell you that it works well :-)

Reply all
Reply to author
Forward
0 new messages