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 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 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:     ****    File 
> > "/home/weewx/bin/weewx/drivers/vantage.py", >
> > Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL 
> > weewx.engine:     ****      self.port.openPort()
> > Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL 
> > weewx.engine:     ****    File 
> > "/home/weewx/bin/weewx/drivers/vantage.py", >
> > Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL 
> > weewx.engine:     ****      self.serial_port = 
> > serial.Serial(self.port, sel>
> > Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL 
> > weewx.engine:     ****  AttributeError: module 'serial' has no 
> > attribute 'S>
> > Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL 
> > __main__: Unable to load driver: module 'serial' has no attribute 
> 'Serial'
> > Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL 
> > __main__:     ****  Exiting...
> > Oct 25 15:04:18 server.mjenks.net systemd[1]: weewx.service: Main 
> > process exited, code=exited, status=4/NOPERMISSION
> > Oct 25 15:04:18 server.mjenks.net systemd[1]: weewx.service: Failed 
> > with result 'exit-code'.
> >
> >
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e874ea1c-7ca8-41a8-b5c5-043799a7836bn%40googlegroups.com.

Reply via email to