On Saturday, November 16, 2019 at 4:19:24 PM UTC-8, Tom Keffer wrote:
>
> The problem was with old-style schemas (see the upgrading guide if you're 
> interested). Fixed in commit c99c25e 
> <https://github.com/weewx/weewx/commit/c99c25ee5c8d892ee4006d6a9b14bb0eb1afe878>
> .
>
>
Yup - works for me.  Thanks.

 

> That fixed that problem, but pmon still doesn't seem to be working, at 
> least for me. Perhaps you can investigate further?
>
>
>
After applying that commit, it's very close.
Looks like the utf-8 thing that I ran into on the WF UDP driver.

Run through "2to3 -w" to fix up the print statements, then insert one line 
ala:

              cmd = 'ps aux'
              p = Popen(cmd, shell=True, stdout=PIPE)
              o = p.communicate()[0]
              o = str(o,'utf-8')                     # <== needed for 
python3
              for line in o.split('\n'):
                  if line.find(self.process) >= 0:
                      m = self.COLUMNS.search(line)

At that point for me, after the manager.py edits, pmon seems to work ok in 
at least its standalone test mode.



-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/c714d8d5-46b1-4027-9775-00adaec5d14d%40googlegroups.com.

Reply via email to