Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tom Keffer
👍 I can't tell you how many times this has happened to me. On Sun, Oct 25, 2020 at 6:16 PM Mark Jenks wrote: > Ugh, I looked right at it and didn't even see it. I looked into > /home/weewx, but only glanced into bin. > Removed and it's working! > > Thank you! > > -Mark > > On Sunday, October 2

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
Ugh, I looked right at it and didn't even see it. I looked into /home/weewx, but only glanced into bin. Removed and it's working! Thank you! -Mark On Sunday, October 25, 2020 at 8:07:49 PM UTC-5 tke...@gmail.com wrote: > Did you look in /home/weewx/bin? > > On Sun, Oct 25, 2020 at 6:02 PM

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tom Keffer
Did you look in /home/weewx/bin? On Sun, Oct 25, 2020 at 6:02 PM Mark Jenks wrote: > I completely removed pyserial using pip and dnf. > Same thing. Maybe something to do with rules.d? I tried tty and usb > both, and get the same thing. > > [root@server ~]# systemctl status weewx.service > ● we

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
I completely removed pyserial using pip and dnf. Same thing. Maybe something to do with rules.d? I tried tty and usb both, and get the same thing. [root@server ~]# systemctl status weewx.service ● weewx.service - weewx weather system Loaded: loaded (/usr/lib/systemd/system/weewx.service; ena

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tom Keffer
If you use pip to install things while in the WeeWX directory /home/weewx, it will see the setup.cfg file there, then try and install things in the WeeWX directory system. Take a look in /home/weewx/bin and see if serial ended up in there. If so, delete it, then cd to some other directory, such as

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
Never had to do that before.. But just added weewx go dialout group and no change. On Sunday, October 25, 2020 at 5:16:31 PM UTC-5 ti...@skybase.net wrote: > Hi Mark, > > Does the user, that weewx is running as, belong to the group dialout ? > > On linux, a user that wants to use a serial port

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tim Tuck
Hi Mark, Does the user, that weewx is running as, belong to the group dialout ? On linux, a user that wants to use a serial port must belong to the dialout group. This still applies even if the serial port is via a USB interface. regards Tim On 26/10/20 7:06 am, Mark Jenks wrote: I just d

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
I just did a full stop and start, and I get this. Permissions? Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL weewx.engine: Vantage.__init__(self, **config_dict[DRIVER_NAM> Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL weewx.engine

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
That works. See above. It's python3 On Sunday, October 25, 2020 at 2:48:58 PM UTC-5 jo...@johnkline.com wrote: > > I’m not sure what OS you are on, but would you try: > > python3 > import serial > > On Oct 25, 2020, at 12:40 PM, Mark Jenks wrote: > > This works... > > > > [weewx@server ~]$ p

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread John Kline
I’m not sure what OS you are on, but would you try: python3 import serial > On Oct 25, 2020, at 12:40 PM, Mark Jenks wrote: > > This works... > > [weewx@server ~]$ python > Python 3.7.6 (default, Jan 30 2020, 09:44:41) > [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux > Type "help", "copyrig

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
This works... [weewx@server ~]$ python Python 3.7.6 (default, Jan 30 2020, 09:44:41) [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import serial >>> On Sunday, October 25, 2020 at 2:10:28 PM UTC-5 Mark Jenks wrote: > I

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
I just did this. No change.. dnf install python3-pyserial On Sunday, October 25, 2020 at 1:59:28 PM UTC-5 Mark Jenks wrote: > pip install pyserial > > On Sunday, October 25, 2020 at 1:28:02 PM UTC-5 tke...@gmail.com wrote: > >> How did you install pyserial? >> >> On Sun, Oct 25, 2020 at 10:00

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
pip install pyserial On Sunday, October 25, 2020 at 1:28:02 PM UTC-5 tke...@gmail.com wrote: > How did you install pyserial? > > On Sun, Oct 25, 2020 at 10:00 AM Mark Jenks wrote: > >> # The station model, e.g., WMR200, WMR200A, Radio Shack W200 >> model = Vantage >> >> # The driver

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tom Keffer
How did you install pyserial? On Sun, Oct 25, 2020 at 10:00 AM Mark Jenks wrote: > # The station model, e.g., WMR200, WMR200A, Radio Shack W200 > model = Vantage > > # The driver to use: > driver = weewx.drivers.vantage > type = Serial > port = /dev/ttyUSB0 > > # The

[weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
# The station model, e.g., WMR200, WMR200A, Radio Shack W200 model = Vantage # The driver to use: driver = weewx.drivers.vantage type = Serial port = /dev/ttyUSB0 # The type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both loop_request = 1 On Sunday, Oct