I think pip installing six (IIRC, “pip3 install six”) might very well be the issue. I forgot to add this in the installation instructions. And the code likes to swallow exceptions, so you might not see the error that the six package wasn’t found.
> On May 10, 2020, at 9:07 AM, John Kline <[email protected]> wrote: > > > BTW, do you have six installed? > >>> On May 10, 2020, at 9:00 AM, John Kline <[email protected]> wrote: >>> >> >> Nope. I always use setup.py. >> >> You weren’t using wee_extension install before? That didn’t sink in before; >> but it doesn’t matter since you’ve tried it. >> >> This story simply doesn’t add up. Something is going wrong and you’re >> getting a null where no one else using this extension is. Of course, the >> code should be detecting the problem earlier and giving a meaningful error >> message, but this isn’t my extension. I simply added a check for null every >> time I encountered the illegal (Py3) comparison (in addition to converting >> the code to Py3 and WeeWX 4). I could go through the code and check for >> null on every comparison, but I’m not inclined to do that. It would be a >> mess. I would be more inclined to rewrite the whole thing, but I’d rather >> not as it’s been working fine for me and others. >> >> If you’re really sure you have a completely clean /home/weewx tree; the only >> other thing I would suggest is that you do nothing to /home/weewx/weewx.conf >> but add your NWS lid and foid. Don’t make any other changes. Remove no >> entries anywhere, just fill in the lid and foid. If you still get the same >> result, perhaps this will remain a mystery. >> >>>> On May 10, 2020, at 8:38 AM, Howard Walter <[email protected]> wrote: >>>> >>> >>> Yes, I only use setup.py because I need to change some of the weewx source >>> for my 1-wire weather station. Does this mean that you have been installing >>> on the Rpi with the Deb package? >>> If so, I will try the Deb install later today. >>> >>> Blew away /home/weewx and re-installed by downloading a fresh copy of >>> weewx-4.0.0 and running .setup.py using python3. >>> It created a new /home/weewx which is owned by root. Had to use sudo >>> wee_extension --install for your Forecast extension since /home/weewx is >>> owned by root. >>> Edited weewx.conf to setup NWS and ran sudo ./bin/weewxd. >>> Still get the same forecast errors. >>> >>> >>> -- >>> 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/2852fdad-6be4-4586-a274-2c9191ad6175%40googlegroups.com. -- 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/4FFEAE98-22E0-4191-B915-1B57B007A8F9%40johnkline.com.
