Tom, It seems python2.7 is not available as a package for debian bookworm and getting everything together to make my own is not desirable , best practice and long term fix is to get it ported. Pylint has a fit looking at the code so it seems my best bet will be to continue looking for someone that can port it... Thanks Kevin
On Sunday, June 25, 2023 at 3:43:23 PM UTC-7 Tom Keffer wrote: > It appears that the driver has not been ported to Python 3. You will > either have to run it using Python 2.7, or do the port. > > On Sun, Jun 25, 2023 at 3:30 PM Kevin Schuchmann <[email protected]> > wrote: > >> Hi, >> New to weewx and trying to get 2 stations running, followed the multi >> station instructions and got the first station running, a rainwise unit. >> The second unit I'm using the rmyro.py driver and I'm having some >> issues... I'm using a 26800 translator reconfigured to mimic output like a >> response one unit but I'm not even getting that far.. >> when starting the first time I got >> weewx-rm_young[121466] CRITICAL __main__: **** Missing >> weewx-m_young[121466] CRITICAL __main__: **** Missing parentheses in >> call to 'print'. Did you mean print(...)? (rmyro.py, line 261) >> >> so I added parentheses to the print lines and got past that but now it >> errors out at >> >> Caught unrecoverable exception: >> weewx-rm_young[121534] CRITICAL __main__: **** multiple exception >> types must be parenthesized (rmyro.py, line 331) >> weewx-rm_young[121534] CRITICAL __main__: **** Traceback (most >> recent call last): >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> File "/usr/share/weewx/weewxd", line 148, in main >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> engine = weewx.engine.StdEngine(config_dict) >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> File "/usr/share/weewx/weewx/engine.py", line 81, in __init__ >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> self.setupStation(config_dict) >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> File "/usr/share/weewx/weewx/engine.py", line 108, in setupStation >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> __import__(driver) >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> File "/usr/share/weewx/weewx/drivers/rmyro.py", line 331 >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> except IOError, e: >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> ^^^^^^^^^^ >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> SyntaxError: multiple exception types must be parenthesized >> python3[121534]: weewx-rm_young[121534] CRITICAL __main__: **** >> Exiting. >> >> I am not a programmer and I am afraid I can't wing this one... the owner >> of the driver on github has archived it to read -only so I cant open an >> issue, anyone out there that could fix the code in the driver? Thanks >> Kevin >> >> >> -- >> 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/a452ed8f-6457-4c61-8c19-3dc43d9ddfcan%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/a452ed8f-6457-4c61-8c19-3dc43d9ddfcan%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/d55f7003-8947-4d04-b66e-ee083652e7a0n%40googlegroups.com.
