It looks like the Highcharts extension you are using has not been ported to Python 3. Either use Python 2, or beg the author to port it. :-)
On Wed, Sep 9, 2020 at 9:23 AM Astrid <[email protected]> wrote: > Hello! > > I updated my Leap 15.1 to 15.2 and afterwards > I updated my old weewx 3.9 to weewx 4.1. > > weewx 4.1 itself is running and recocnizes via > fileparser my weatherdata. > > But wee_reports is not running: > > wee_reports > Using configuration file /etc/weewx/weewx.conf > Generating for all time > Traceback (most recent call last): > File "/usr/share/weewx/weewx/reportengine.py", line 197, in run > obj.start() > File "/usr/share/weewx/weewx/reportengine.py", line 280, in start > self.run() > File "/usr/share/weewx/weewx/cheetahgenerator.py", line 147, in run > self.initExtensions(gen_dict[section_name]) > File "/usr/share/weewx/weewx/cheetahgenerator.py", line 189, in > initExtensions > class_ = weeutil.weeutil.get_object(x) > File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object > mod = __import__(module) > File "/usr/share/weewx/user/highchartsSearchX.py", line 73 > except Exception, e: > ^ > SyntaxError: invalid syntax > > I copy again from > https://github.com/gjr80/weewx-highcharts/tree/master/bin/user > both py-files to my local > /usr/share/weewx/user > > But same error-message. :( > > How I can get it run with weewx 4.1? > > Regards, Astrid > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/48e92fed-a8c9-46a4-aa61-835c378b50ebo%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/48e92fed-a8c9-46a4-aa61-835c378b50ebo%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zED9FXZu3--D3w7b%3DkgvM4oZs3j4fbnb-%2BzTBUy10jVWew%40mail.gmail.com.
