Try this version of crt.py: https://raw.githubusercontent.com/tkeffer/weewx-crt/master/bin/user/crt.py
-tk On Thu, May 7, 2020 at 5:05 AM Tom Keffer <[email protected]> wrote: > It looks like at least one of the extensions you are using, crt, has not > been ported to Python 3. > > On Wed, May 6, 2020 at 11:38 PM Janez Kranjski <[email protected]> wrote: > >> Thank you. Now I'm a step further ... >> >> But now I got this (it is a little offtopic, but it is next step :-)); >> >> weewx.service - LSB: weewx weather system >> Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled) >> Active: active (exited) since Thu 2020-05-07 08:36:10 CEST; 4s ago >> Docs: man:systemd-sysv-generator(8) >> Process: 6332 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/ >> SUCCESS) >> Process: 6344 ExecStart=/etc/init.d/weewx start (code=exited, status=0/ >> SUCCESS) >> >> >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** self.loadServices(config_dict) >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** File "/usr/share/weewx/weewx/engine.py", line 138, in >> loadServices >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** obj = weeutil.weeutil.get_object(svc)(self,config_dict) >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in >> get_object >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** mod = __import__(module) >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** File "/usr/share/weewx/user/crt.py", line 420 >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** except Exception, e: # FIXME: make this more specific >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** ^ >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** SyntaxError: invalid syntax >> May 07 08:36:11 raspberrypi python3[6361]: weewx[6361] CRITICAL __main__: >> **** Exiting. >> >> >> >> -- >> 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/5764d246-d600-4d63-944e-2a27555c89e0%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/5764d246-d600-4d63-944e-2a27555c89e0%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/CAPq0zEBO74sNYJAA-26BjWBks2HC-6afmx%3DCBbkQ7cdbcs5b3g%40mail.gmail.com.
