[weewx-user] Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
Hi to all, For what ever reason weewx will not work after installing 
via the instructions here: https://www.weewx.com/docs/debian.htm   As a 
nwbe to weewx and  linux so all help is appreciated Thanks

Here is what I get on the log report:

Here is what I get on the log report:

 sudo tail -f /var/log/syslog
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
  could not convert string to float: '36.7680 -92.2672'
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
  Traceback (most recent call last):
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
File "/usr/share/weewx/weewxd", line 148, in main
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
  engine = weewx.engine.StdEngine(config_dict)
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
File "/usr/share/weewx/weewx/engine.py", line 84, in __init__
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
  self.stn_info = weewx.station.StationInfo(self.console, 
**config_dict['Station'])
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
File "/usr/share/weewx/weewx/station.py", line 51, in __init__
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
  self.latitude_f  = float(stn_dict['latitude'])
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
  ValueError: could not convert string to float: '36.7680 -92.2672'
Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
  Exiting.

-- 
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/8a415785-35ac-48e4-926f-76800f5a3befn%40googlegroups.com.


[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread vince
Lets see your latitude and longitude lines in weewx.conf
I suspect you have two numbers on the latitude line...

On Thursday, November 10, 2022 at 10:51:40 AM UTC-8 timwill...@gmail.com 
wrote:

> Hi to all, For what ever reason weewx will not work after installing 
> via the instructions here: https://www.weewx.com/docs/debian.htm   As a 
> nwbe to weewx and  linux so all help is appreciated Thanks
>
> Here is what I get on the log report:
>
> Here is what I get on the log report:
>
>  sudo tail -f /var/log/syslog
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>   could not convert string to float: '36.7680 -92.2672'
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>   Traceback (most recent call last):
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
> File "/usr/share/weewx/weewxd", line 148, in main
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>   engine = weewx.engine.StdEngine(config_dict)
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
> File "/usr/share/weewx/weewx/engine.py", line 84, in __init__
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>   self.stn_info = weewx.station.StationInfo(self.console, 
> **config_dict['Station'])
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
> File "/usr/share/weewx/weewx/station.py", line 51, in __init__
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>   self.latitude_f  = float(stn_dict['latitude'])
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>   ValueError: could not convert string to float: '36.7680 -92.2672'
> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>   Exiting.
>
>

-- 
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/357879cd-df4c-4110-89a2-2580a70aa453n%40googlegroups.com.


[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
ThanYk forresponce, Yes it is doubled . How do you fix it? 
# Description of the station location
location = "SDora"

# Latitude in decimal degrees. Negative for southern hemisphere
latitude = 36.7680 -92.2672
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = 36.7680 -92.2672

# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 951, foot

# Set to type of station hardware. There must be a corresponding stanza
# in this file, which includes a value for the 'driver' option.
station_type = Vantage

# If you have a website, you may specify an URL. This is required if you
# intend to register your station.
#station_url = http://www.example.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 6



On Thursday, November 10, 2022 at 12:55:17 PM UTC-6 vince wrote:

> Lets see your latitude and longitude lines in weewx.conf
> I suspect you have two numbers on the latitude line...
>
> On Thursday, November 10, 2022 at 10:51:40 AM UTC-8 timwill...@gmail.com 
> wrote:
>
>> Hi to all, For what ever reason weewx will not work after installing 
>> via the instructions here: https://www.weewx.com/docs/debian.htm   As a 
>> nwbe to weewx and  linux so all help is appreciated Thanks
>>
>> Here is what I get on the log report:
>>
>> Here is what I get on the log report:
>>
>>  sudo tail -f /var/log/syslog
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>   could not convert string to float: '36.7680 -92.2672'
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>   Traceback (most recent call last):
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>> File "/usr/share/weewx/weewxd", line 148, in main
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>   engine = weewx.engine.StdEngine(config_dict)
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 84, in __init__
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>   self.stn_info = weewx.station.StationInfo(self.console, 
>> **config_dict['Station'])
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/station.py", line 51, in __init__
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>   self.latitude_f  = float(stn_dict['latitude'])
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>   ValueError: could not convert string to float: '36.7680 -92.2672'
>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>   Exiting.
>>
>>

-- 
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/d309f6c6-028d-4a3b-bcab-a85926d5c183n%40googlegroups.com.


[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
I'm trying to run my vantage vue on my Laptop with Linux mint 20.3 to save 
elec energy but I am so new at this it is frustrating . so please be 
patient with this newbe thanks :)
I corrected duplicate lLattitude and Longitude and then restarted weewx  
but still no luck . Seems to be something to do with my port setting as 
this log indicated. At first stopped weewx and edited con.. I chose the 
/dev/ttyS0 and restarted weewx..log critical errors on the port  setting. 
So I edited weewx again this time using the serial port /dev/ttyS0. And the 
log shows critical error again. What am I doing wrong?  


weewx[7330] CRITICAL weewx.engine:   raise 
SerialException("Could not configure port: {}".format(msg))
Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL weewx.engine:   
    serial.serialutil.SerialException: Could not configure port: (5, 
'Input/output error')
Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL __main__: Unable 
to load driver: Could not configure port: (5, 'Input/output error')
Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL __main__: 
  Exiting...

On Thursday, November 10, 2022 at 1:28:23 PM UTC-6 Tim Williams wrote:

> ThanYk forresponce, Yes it is doubled . How do you fix it? 
> # Description of the station location
> location = "SDora"
> 
> # Latitude in decimal degrees. Negative for southern hemisphere
> latitude = 36.7680 -92.2672
> # Longitude in decimal degrees. Negative for western hemisphere.
> longitude = 36.7680 -92.2672
> 
> # Altitude of the station, with the unit it is in. This is used only
> # if the hardware cannot supply a value.
> altitude = 951, foot
> 
> # Set to type of station hardware. There must be a corresponding stanza
> # in this file, which includes a value for the 'driver' option.
> station_type = Vantage
> 
> # If you have a website, you may specify an URL. This is required if 
> you
> # intend to register your station.
> #station_url = http://www.example.com
> 
> # The start of the rain year (1=January; 10=October, etc.). This is
> # downloaded from the station if the hardware supports it.
> rain_year_start = 1
> 
> # Start of week (0=Monday, 6=Sunday)
> week_start = 6
>
> 
>
> On Thursday, November 10, 2022 at 12:55:17 PM UTC-6 vince wrote:
>
>> Lets see your latitude and longitude lines in weewx.conf
>> I suspect you have two numbers on the latitude line...
>>
>> On Thursday, November 10, 2022 at 10:51:40 AM UTC-8 timwill...@gmail.com 
>> wrote:
>>
>>> Hi to all, For what ever reason weewx will not work after installing 
>>> via the instructions here: https://www.weewx.com/docs/debian.htm   As a 
>>> nwbe to weewx and  linux so all help is appreciated Thanks
>>>
>>> Here is what I get on the log report:
>>>
>>> Here is what I get on the log report:
>>>
>>>  sudo tail -f /var/log/syslog
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>>   could not convert string to float: '36.7680 -92.2672'
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>>   Traceback (most recent call last):
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewxd", line 148, in main
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>>   engine = weewx.engine.StdEngine(config_dict)
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewx/engine.py", line 84, in __init__
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>>   self.stn_info = weewx.station.StationInfo(self.console, 
>>> **config_dict['Station'])
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewx/station.py", line 51, in __init__
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>>   self.latitude_f  = float(stn_dict['latitude'])
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>>   ValueError: could not convert string to float: '36.7680 -92.2672'
>>> Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__: 
>>>   Exiting.
>>>
>>>

-- 
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/452b53be-f825-404d-ba8f-7e7b5a72781bn%40googlegroups.com.


[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams

I ment to say I used port stting the first time using /dev/ttyUSB0 
not  /dev/ttyS0.. thanks

On Thursday, November 10, 2022 at 2:41:06 PM UTC-6 Tim Williams wrote:
I'm trying to run my vantage vue on my Laptop with Linux mint 20.3 to save 
elec energy but I am so new at this it is frustrating . so please be 
patient with this newbe thanks :)
I corrected duplicate lLattitude and Longitude and then restarted weewx  
but still no luck . Seems to be something to do with my port setting as 
this log indicated. At first stopped weewx and edited con.. I chose the 
/dev/ttyS0 and restarted weewx..log critical errors on the port  setting. 
So I edited weewx again this time using the serial port /dev/ttyS0. And the 
log shows critical error again. What am I doing wrong?  
On Thursday, November 10, 2022 at 2:41:06 PM UTC-6 Tim Williams wrote:

> I'm trying to run my vantage vue on my Laptop with Linux mint 20.3 to save 
> elec energy but I am so new at this it is frustrating . so please be 
> patient with this newbe thanks :)
> I corrected duplicate lLattitude and Longitude and then restarted weewx  
> but still no luck . Seems to be something to do with my port setting as 
> this log indicated. At first stopped weewx and edited con.. I chose the 
> /dev/ttyS0 and restarted weewx..log critical errors on the port  setting. 
> So I edited weewx again this time using the serial port /dev/ttyS0. And the 
> log shows critical error again. What am I doing wrong?  
>
>
> weewx[7330] CRITICAL weewx.engine:   raise 
> SerialException("Could not configure port: {}".format(msg))
> Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL weewx.engine:   
>     serial.serialutil.SerialException: Could not configure port: (5, 
> 'Input/output error')
> Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL __main__: 
> Unable to load driver: Could not configure port: (5, 'Input/output error')
> Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL __main__: 
>   Exiting...
>
> On Thursday, November 10, 2022 at 1:28:23 PM UTC-6 Tim Williams wrote:
>
>> ThanYk forresponce, Yes it is doubled . How do you fix it? 
>> # Description of the station location
>> location = "SDora"
>> 
>> # Latitude in decimal degrees. Negative for southern hemisphere
>> latitude = 36.7680 -92.2672
>> # Longitude in decimal degrees. Negative for western hemisphere.
>> longitude = 36.7680 -92.2672
>> 
>> # Altitude of the station, with the unit it is in. This is used only
>> # if the hardware cannot supply a value.
>> altitude = 951, foot
>> 
>> # Set to type of station hardware. There must be a corresponding 
>> stanza
>> # in this file, which includes a value for the 'driver' option.
>> station_type = Vantage
>> 
>> # If you have a website, you may specify an URL. This is required if 
>> you
>> # intend to register your station.
>> #station_url = http://www.example.com
>> 
>> # The start of the rain year (1=January; 10=October, etc.). This is
>> # downloaded from the station if the hardware supports it.
>> rain_year_start = 1
>> 
>> # Start of week (0=Monday, 6=Sunday)
>> week_start = 6
>>
>> 
>>
>> On Thursday, November 10, 2022 at 12:55:17 PM UTC-6 vince wrote:
>>
>>> Lets see your latitude and longitude lines in weewx.conf
>>> I suspect you have two numbers on the latitude line...
>>>
>>> On Thursday, November 10, 2022 at 10:51:40 AM UTC-8 timwill...@gmail.com 
>>> wrote:
>>>
 Hi to all, For what ever reason weewx will not work after 
 installing via the instructions here: 
 https://www.weewx.com/docs/debian.htm   As a nwbe to weewx and  linux 
 so all help is appreciated Thanks

 Here is what I get on the log report:

 Here is what I get on the log report:

  sudo tail -f /var/log/syslog
 Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__:   
     could not convert string to float: '36.7680 -92.2672'
 Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__:   
     Traceback (most recent call last):
 Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__:   
   File "/usr/share/weewx/weewxd", line 148, in main
 Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__:   
     engine = weewx.engine.StdEngine(config_dict)
 Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__:   
   File "/usr/share/weewx/weewx/engine.py", line 84, in __init__
 Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__:   
     self.stn_info = weewx.station.StationInfo(self.console, 
 **config_dict['Station'])
 Nov 10 12:49:13 willie-ThinkPad-X131e weewx[5225] CRITICAL __main__:   
   File "/usr/share/weewx/weewx/station.py", line 51, in __init__
 Nov 10 12:49:1

[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread vince
How is your vue connected to the laptop ?

If it is a Davis USB data logger 'or' a serial logger+serial/usb adaptor, 
The usual device for a modern Linux is /dev/ttyUSB0 and there are a couple 
ways to figure that out.

One way is to run 'dmesg' and look at the output.  On my pi4 here it would 
include:
[6.515632] pl2303 1-1.3:1.0: pl2303 converter detected
[6.533119] usb 1-1.3: pl2303 converter now attached to ttyUSB0

That's my serial2USB adaptor that the Vantage serial logger is connected 
to.   Note the 'ttyUSB0' which shows that /dev/ttyUSB0 is the device for my 
setup here, if that helps any.

Running 'lsusb' will show you what USB devices are connected to the box:
pi@pi4:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial 
Port / Mobile Action MA-8910P
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Note bus 001 device 003 matches up with the "usb 1-1.3" from the dmesg 
command.

If you don't see anything connected you might try disconnecting and 
reconnecting your console from the computer (assuming it's USB) and the 
dmesg command should show that happening.

But it's likely /dev/ttyUSB0 that you want...

On Thursday, November 10, 2022 at 1:04:34 PM UTC-8 timwill...@gmail.com 
wrote:

>
> I ment to say I used port stting the first time using /dev/ttyUSB0 
> not  /dev/ttyS0.. thanks
>
> On Thursday, November 10, 2022 at 2:41:06 PM UTC-6 Tim Williams wrote:
> I'm trying to run my vantage vue on my Laptop with Linux mint 20.3 to save 
> elec energy but I am so new at this it is frustrating . so please be 
> patient with this newbe thanks :)
> I corrected duplicate lLattitude and Longitude and then restarted weewx  
> but still no luck . Seems to be something to do with my port setting as 
> this log indicated. At first stopped weewx and edited con.. I chose the 
> /dev/ttyS0 and restarted weewx..log critical errors on the port  setting. 
> So I edited weewx again this time using the serial port /dev/ttyS0. And the 
> log shows critical error again. What am I doing wrong?  
> On Thursday, November 10, 2022 at 2:41:06 PM UTC-6 Tim Williams wrote:
>
>> I'm trying to run my vantage vue on my Laptop with Linux mint 20.3 to 
>> save elec energy but I am so new at this it is frustrating . so please be 
>> patient with this newbe thanks :)
>> I corrected duplicate lLattitude and Longitude and then restarted weewx  
>> but still no luck . Seems to be something to do with my port setting as 
>> this log indicated. At first stopped weewx and edited con.. I chose the 
>> /dev/ttyS0 and restarted weewx..log critical errors on the port  setting. 
>> So I edited weewx again this time using the serial port /dev/ttyS0. And the 
>> log shows critical error again. What am I doing wrong?  
>>
>>
>> weewx[7330] CRITICAL weewx.engine:   raise 
>> SerialException("Could not configure port: {}".format(msg))
>> Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL weewx.engine: 
>>   serial.serialutil.SerialException: Could not configure port: (5, 
>> 'Input/output error')
>> Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL __main__: 
>> Unable to load driver: Could not configure port: (5, 'Input/output error')
>> Nov 10 13:53:44 willie-ThinkPad-X131e weewx[7330] CRITICAL __main__: 
>>   Exiting...
>>
>> On Thursday, November 10, 2022 at 1:28:23 PM UTC-6 Tim Williams wrote:
>>
>>> ThanYk forresponce, Yes it is doubled . How do you fix it? 
>>> # Description of the station location
>>> location = "SDora"
>>> 
>>> # Latitude in decimal degrees. Negative for southern hemisphere
>>> latitude = 36.7680 -92.2672
>>> # Longitude in decimal degrees. Negative for western hemisphere.
>>> longitude = 36.7680 -92.2672
>>> 
>>> # Altitude of the station, with the unit it is in. This is used only
>>> # if the hardware cannot supply a value.
>>> altitude = 951, foot
>>> 
>>> # Set to type of station hardware. There must be a corresponding 
>>> stanza
>>> # in this file, which includes a value for the 'driver' option.
>>> station_type = Vantage
>>> 
>>> # If you have a website, you may specify an URL. This is required if 
>>> you
>>> # intend to register your station.
>>> #station_url = http://www.example.com
>>> 
>>> # The start of the rain year (1=January; 10=October, etc.). This is
>>> # downloaded from the station if the hardware supports it.
>>> rain_year_start = 1
>>> 
>>> # Start of week (0=Monday, 6=Sunday)
>>> week_start = 6
>>>
>>> 
>>>
>>> On Thursday, November 10, 2022 at 12:55:17 PM UTC-6 vince wrote:
>>>
 Lets see your latitude and longitude lines in weewx.conf
 I suspect you have two numbers on the latitude line...

 On Thursday, November 10, 2022 at 10:51

[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
 IThanks vince, t's the /dev/ttyUSB0  so I edited my weewx config to 
/dev/ttyUSB0 :
If the connection type is serial, a port must be specified:
#   Debian, Ubuntu, Redhat, Fedora, and SuSE:
# /dev/ttyUSB0 is a common USB port name
# /dev/ttyS0   is a common serial port name
#   BSD:
# /dev/cuaU0   is a common serial port name
   port =  /dev/ttyUSB0
 
- And restarted then looked at log . Still wont run weewx .Log says it 
can't open vantage console: At least now weewx is attempting to run .

$ sudo tail -f /var/log/syslog
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
Python 3.8.10 (default, Jun 22 2022, 20:18:18) #012[GCC 9.4.0]
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Located at 
/usr/bin/python3
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Platform 
Linux-5.4.0-131-generic-x86_64-with-glibc2.29
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Locale is 
'en_US.UTF-8'
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
configuration file /etc/weewx/weewx.conf
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Debug is 0
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: PID file 
is /var/run/weewx.pid
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9062] INFO weewx.engine: 
Loading station type Vantage (weewx.drivers.vantage)
Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9037]:...done.
Nov 10 16:11:13 willie-ThinkPad-X131e systemd[1]: Started LSB: weewx 
weather system.
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR 
weewx.drivers.vantage: Unable to wake up Vantage console
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR weewx.engine: 
Import of driver failed: Unable to wake up Vantage console ()
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
    Traceback (most recent call last):
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
    self.console = loader_function(config_dict, self)
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in 
loader
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
    return VantageService(engine, config_dict)
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1939, in 
__init__
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
    Vantage.__init__(self, **config_dict[DRIVER_NAME])
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in 
__init__
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
    self._setup()
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in 
_setup
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
    self.port.wakeup_console(max_tries=self.max_tries)
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
wakeup_console
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
    raise weewx.WakeupError("Unable to wake up Vantage console")
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
    weewx.WakeupError: Unable to wake up Vantage console
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL __main__: Unable 
to load driver: Unable to wake up Vantage console
Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL __main__: 
  Exiting...


On Thursday, November 10, 2022 at 3:34:49 PM UTC-6 vince wrote:

> How is your vue connected to the laptop ?
>
> If it is a Davis USB data logger 'or' a serial logger+serial/usb adaptor, 
> The usual device for a modern Linux is /dev/ttyUSB0 and there are a couple 
> ways to figure that out.
>
> One way is to run 'dmesg' and look at the output.  On my pi4 here it would 
> include:
> [6.515632] pl2303 1-1.3:1.0: pl2303 converter detected
> [6.533119] usb 1-1.3: pl2303 converter now attached to ttyUSB0
>
> That's my serial2USB adaptor that the Vantage serial logger is connected 
> to.   Note the 'ttyUSB0' which shows that /dev/ttyUSB0 is the device for my 
> setup here, if that helps any.
>
> Running 'lsusb' will show you what USB devices are connected to the box:
> pi@pi4:~ $ lsusb
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial 
> Port / Mobile Action 

[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread vince
If you're on the latest version (you didn't say), you should set debug=1 in 
weewx.conf, restart weewx, and post a longer log extract here so others can 
look at the debugging output.

Your tail -f is too short, you want to show from the time weewx starts 
through one archive period at least.   Perhaps add the -n 200 switch to 
your tail command to try to catch more lines if you're not comfortable with 
the command line.


On Thursday, November 10, 2022 at 2:22:27 PM UTC-8 timwill...@gmail.com 
wrote:

>  IThanks vince, t's the /dev/ttyUSB0  so I edited my weewx config to 
> /dev/ttyUSB0 :
> If the connection type is serial, a port must be specified:
> #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
> # /dev/ttyUSB0 is a common USB port name
> # /dev/ttyS0   is a common serial port name
> #   BSD:
> # /dev/cuaU0   is a common serial port name
>port =  /dev/ttyUSB0
>  
> - And restarted then looked at log . Still wont run weewx .Log says it 
> can't open vantage console: At least now weewx is attempting to run .
>
> $ sudo tail -f /var/log/syslog
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
> Python 3.8.10 (default, Jun 22 2022, 20:18:18) #012[GCC 9.4.0]
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Located 
> at /usr/bin/python3
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Platform 
> Linux-5.4.0-131-generic-x86_64-with-glibc2.29
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Locale is 
> 'en_US.UTF-8'
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
> configuration file /etc/weewx/weewx.conf
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Debug is 0
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: PID file 
> is /var/run/weewx.pid
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9062] INFO weewx.engine: 
> Loading station type Vantage (weewx.drivers.vantage)
> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9037]:...done.
> Nov 10 16:11:13 willie-ThinkPad-X131e systemd[1]: Started LSB: weewx 
> weather system.
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR 
> weewx.drivers.vantage: Unable to wake up Vantage console
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR weewx.engine: 
> Import of driver failed: Unable to wake up Vantage console ( 'weewx.WakeupError'>)
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>     Traceback (most recent call last):
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>   File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>     self.console = loader_function(config_dict, self)
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in 
> loader
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>     return VantageService(engine, config_dict)
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 1939, in 
> __init__
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>     Vantage.__init__(self, **config_dict[DRIVER_NAME])
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in 
> __init__
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>     self._setup()
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in 
> _setup
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>     self.port.wakeup_console(max_tries=self.max_tries)
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
> wakeup_console
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>     raise weewx.WakeupError("Unable to wake up Vantage console")
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine:   
>     weewx.WakeupError: Unable to wake up Vantage console
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL __main__: 
> Unable to load driver: Unable to wake up Vantage console
> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL __main__: 
>   Exiting...
>
>
> On Thursday, November 10, 2022 at 3:34:49 PM UTC-6 vince wrote:
>
>> How is your vue connected to the laptop ?
>>
>> If it is a Davis USB data logger 'or' a serial logger+serial/usb adaptor, 
>> The usual device for a modern Linux is /dev/ttyUSB0 and there are a couple 
>> ways to figu

[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
I set log to debug=1   will send new log when I figure out how to :)

On Thursday, November 10, 2022 at 4:39:02 PM UTC-6 vince wrote:

> If you're on the latest version (you didn't say), you should set debug=1 
> in weewx.conf, restart weewx, and post a longer log extract here so others 
> can look at the debugging output.
>
> Your tail -f is too short, you want to show from the time weewx starts 
> through one archive period at least.   Perhaps add the -n 200 switch to 
> your tail command to try to catch more lines if you're not comfortable with 
> the command line.
>
>
> On Thursday, November 10, 2022 at 2:22:27 PM UTC-8 timwill...@gmail.com 
> wrote:
>
>>  IThanks vince, t's the /dev/ttyUSB0  so I edited my weewx config to 
>> /dev/ttyUSB0 :
>> If the connection type is serial, a port must be specified:
>> #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
>> # /dev/ttyUSB0 is a common USB port name
>> # /dev/ttyS0   is a common serial port name
>> #   BSD:
>> # /dev/cuaU0   is a common serial port name
>>port =  /dev/ttyUSB0
>>  
>> - And restarted then looked at log . Still wont run weewx .Log says it 
>> can't open vantage console: At least now weewx is attempting to run .
>>
>> $ sudo tail -f /var/log/syslog
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
>> Python 3.8.10 (default, Jun 22 2022, 20:18:18) #012[GCC 9.4.0]
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Located 
>> at /usr/bin/python3
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Platform 
>> Linux-5.4.0-131-generic-x86_64-with-glibc2.29
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Locale 
>> is 'en_US.UTF-8'
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
>> configuration file /etc/weewx/weewx.conf
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Debug is 
>> 0
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: PID file 
>> is /var/run/weewx.pid
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9062] INFO weewx.engine: 
>> Loading station type Vantage (weewx.drivers.vantage)
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9037]:...done.
>> Nov 10 16:11:13 willie-ThinkPad-X131e systemd[1]: Started LSB: weewx 
>> weather system.
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR 
>> weewx.drivers.vantage: Unable to wake up Vantage console
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR weewx.engine: 
>> Import of driver failed: Unable to wake up Vantage console (> 'weewx.WakeupError'>)
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   Traceback (most recent call last):
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>> File "/usr/share/weewx/weewx/engine.py", line 119, in 
>> setupStation
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   self.console = loader_function(config_dict, self)
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in 
>> loader
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   return VantageService(engine, config_dict)
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 1939, in 
>> __init__
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   Vantage.__init__(self, **config_dict[DRIVER_NAME])
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in 
>> __init__
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   self._setup()
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in 
>> _setup
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   self.port.wakeup_console(max_tries=self.max_tries)
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
>> wakeup_console
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   raise weewx.WakeupError("Unable to wake up Vantage console")
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   weewx.WakeupError: Unable to wake up Vantage console
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL __main__: 
>> Unable to load driver: Unable to wake up Vantage console
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL __main__: 
>>   Exiting...
>>
>>
>> On Thursday, November 10, 2022 at 3:34:49 PM

[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
 /etc/init.d/weewx start
Starting weewx (via systemctl): weewx.service.
willie@willie-ThinkPad-X131e:~$ sudo tail -f /var/log/syslog
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL weewx.engine:   
    self.port.openPort()
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 305, in 
openPort
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL weewx.engine:   
    self.serial_port = serial.Serial(self.port, self.baudrate, 
timeout=self.timeout)
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL weewx.engine:   
  File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 
240, in __init__
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL weewx.engine:   
    self.open()
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL weewx.engine:   
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 
268, in open
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL weewx.engine:   
    raise SerialException(msg.errno, "could not open port {}: 
{}".format(self._port, msg))
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL weewx.engine:   
    serial.serialutil.SerialException: [Errno 2] could not open port 
/dev/vpro: [Errno 2] No such file or directory: '/dev/vpro'
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL __main__: 
Unable to load driver: [Errno 2] could not open port /dev/vpro: [Errno 2] 
No such file or directory: '/dev/vpro'
Nov 10 19:27:07 willie-ThinkPad-X131e weewx[12859] CRITICAL __main__: 
  Exiting...
Nov 10 19:30:01 willie-ThinkPad-X131e CRON[12900]: (root) CMD ([ -x 
/etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then 
/usr/sbin/invoke-rc.d anacron start >/dev/null; fi)



On Thursday, November 10, 2022 at 4:39:02 PM UTC-6 vince wrote:

> If you're on the latest version (you didn't say), you should set debug=1 
> in weewx.conf, restart weewx, and post a longer log extract here so others 
> can look at the debugging output.
>
> Your tail -f is too short, you want to show from the time weewx starts 
> through one archive period at least.   Perhaps add the -n 200 switch to 
> your tail command to try to catch more lines if you're not comfortable with 
> the command line.
>
>
> On Thursday, November 10, 2022 at 2:22:27 PM UTC-8 timwill...@gmail.com 
> wrote:
>
>>  IThanks vince, t's the /dev/ttyUSB0  so I edited my weewx config to 
>> /dev/ttyUSB0 :
>> If the connection type is serial, a port must be specified:
>> #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
>> # /dev/ttyUSB0 is a common USB port name
>> # /dev/ttyS0   is a common serial port name
>> #   BSD:
>> # /dev/cuaU0   is a common serial port name
>>port =  /dev/ttyUSB0
>>  
>> - And restarted then looked at log . Still wont run weewx .Log says it 
>> can't open vantage console: At least now weewx is attempting to run .
>>
>> $ sudo tail -f /var/log/syslog
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
>> Python 3.8.10 (default, Jun 22 2022, 20:18:18) #012[GCC 9.4.0]
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Located 
>> at /usr/bin/python3
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Platform 
>> Linux-5.4.0-131-generic-x86_64-with-glibc2.29
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Locale 
>> is 'en_US.UTF-8'
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
>> configuration file /etc/weewx/weewx.conf
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Debug is 
>> 0
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: PID file 
>> is /var/run/weewx.pid
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9062] INFO weewx.engine: 
>> Loading station type Vantage (weewx.drivers.vantage)
>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9037]:...done.
>> Nov 10 16:11:13 willie-ThinkPad-X131e systemd[1]: Started LSB: weewx 
>> weather system.
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR 
>> weewx.drivers.vantage: Unable to wake up Vantage console
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR weewx.engine: 
>> Import of driver failed: Unable to wake up Vantage console (> 'weewx.WakeupError'>)
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   Traceback (most recent call last):
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>> File "/usr/share/weewx/weewx/engine.py", line 119, in 
>> setupStation
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>   self.console = loader_function(config_dict, self)
>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in 
>> loader

[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread gjr80
You might want to have a read of the WeeWX Wiki article Help! Posting to 
weewx user 
.
 
The article gives some pretty straightforward instructions on how to get a 
good log extract and post it here. The better the log extract you provide, 
generally the better the advice you will get - and it will save time all 
round.

Gary

On Friday, 11 November 2022 at 11:42:38 UTC+10 timwill...@gmail.com wrote:

> I set log to debug=1   will send new log when I figure out how to :)
>
> On Thursday, November 10, 2022 at 4:39:02 PM UTC-6 vince wrote:
>
>> If you're on the latest version (you didn't say), you should set debug=1 
>> in weewx.conf, restart weewx, and post a longer log extract here so others 
>> can look at the debugging output.
>>
>> Your tail -f is too short, you want to show from the time weewx starts 
>> through one archive period at least.   Perhaps add the -n 200 switch to 
>> your tail command to try to catch more lines if you're not comfortable with 
>> the command line.
>>
>>
>> On Thursday, November 10, 2022 at 2:22:27 PM UTC-8 timwill...@gmail.com 
>> wrote:
>>
>>>  IThanks vince, t's the /dev/ttyUSB0  so I edited my weewx config to 
>>> /dev/ttyUSB0 :
>>> If the connection type is serial, a port must be specified:
>>> #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
>>> # /dev/ttyUSB0 is a common USB port name
>>> # /dev/ttyS0   is a common serial port name
>>> #   BSD:
>>> # /dev/cuaU0   is a common serial port name
>>>port =  /dev/ttyUSB0
>>>  
>>> - And restarted then looked at log . Still wont run weewx .Log says it 
>>> can't open vantage console: At least now weewx is attempting to run .
>>>
>>> $ sudo tail -f /var/log/syslog
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
>>> Python 3.8.10 (default, Jun 22 2022, 20:18:18) #012[GCC 9.4.0]
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Located 
>>> at /usr/bin/python3
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: 
>>> Platform Linux-5.4.0-131-generic-x86_64-with-glibc2.29
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Locale 
>>> is 'en_US.UTF-8'
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Using 
>>> configuration file /etc/weewx/weewx.conf
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: Debug 
>>> is 0
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9058] INFO __main__: PID 
>>> file is /var/run/weewx.pid
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9062] INFO weewx.engine: 
>>> Loading station type Vantage (weewx.drivers.vantage)
>>> Nov 10 16:11:13 willie-ThinkPad-X131e weewx[9037]:...done.
>>> Nov 10 16:11:13 willie-ThinkPad-X131e systemd[1]: Started LSB: weewx 
>>> weather system.
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR 
>>> weewx.drivers.vantage: Unable to wake up Vantage console
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] ERROR weewx.engine: 
>>> Import of driver failed: Unable to wake up Vantage console (>> 'weewx.WakeupError'>)
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>>   Traceback (most recent call last):
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>> File "/usr/share/weewx/weewx/engine.py", line 119, in 
>>> setupStation
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>>   self.console = loader_function(config_dict, self)
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in 
>>> loader
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>>   return VantageService(engine, config_dict)
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 1939, in 
>>> __init__
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>>   Vantage.__init__(self, **config_dict[DRIVER_NAME])
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in 
>>> __init__
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>>   self._setup()
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in 
>>> _setup
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>>   self.port.wakeup_console(max_tries=self.max_tries)
>>> Nov 10 16:11:34 willie-ThinkPad-X131e weewx[9062] CRITICAL weewx.engine: 
>>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
>>> wakeup_console
>>> Nov 

[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
gir80 , Thanks a bunch here is a copy of Log extended
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL weewx.engine:   
    self.port.openPort()
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 305, in 
openPort
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL weewx.engine:   
    self.serial_port = serial.Serial(self.port, self.baudrate, 
timeout=self.timeout)
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL weewx.engine:   
  File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 
240, in __init__
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL weewx.engine:   
    self.open()
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL weewx.engine:   
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 
268, in open
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL weewx.engine:   
    raise SerialException(msg.errno, "could not open port {}: 
{}".format(self._port, msg))
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL weewx.engine:   
    serial.serialutil.SerialException: [Errno 2] could not open port 
/dev/vpro: [Errno 2] No such file or directory: '/dev/vpro'
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL __main__: 
Unable to load driver: [Errno 2] could not open port /dev/vpro: [Errno 2] 
No such file or directory: '/dev/vpro'
Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL __main__: 
  Exiting...
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8935] dhcp4 (wlp2s0): option dhcp_lease_time  => '3600'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8937] dhcp4 (wlp2s0): option domain_name_servers  => '10.0.0.1 
205.171.2.65'
Nov 10 20:29:30 willie-ThinkPad-X131e dbus-daemon[626]: [system] Activating 
via systemd: service name='org.freedesktop.nm_dispatcher' 
unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.12' 
(uid=0 pid=627 comm="/usr/sbin/NetworkManager --no-daemon " 
label="unconfined")
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8937] dhcp4 (wlp2s0): option expiry   => 
'1668137370'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8938] dhcp4 (wlp2s0): option host_name=> 
'willie-ThinkPad-X131e'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8938] dhcp4 (wlp2s0): option ip_address   => '10.0.0.3'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8939] dhcp4 (wlp2s0): option next_server  => '10.0.0.1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8940] dhcp4 (wlp2s0): option requested_broadcast_address => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8940] dhcp4 (wlp2s0): option requested_domain_name => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8941] dhcp4 (wlp2s0): option requested_domain_name_servers => 
'1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8941] dhcp4 (wlp2s0): option requested_domain_search => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8942] dhcp4 (wlp2s0): option requested_host_name  => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8942] dhcp4 (wlp2s0): option requested_interface_mtu => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8943] dhcp4 (wlp2s0): option 
requested_ms_classless_static_routes => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8943] dhcp4 (wlp2s0): option requested_nis_domain => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8944] dhcp4 (wlp2s0): option requested_nis_servers => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8944] dhcp4 (wlp2s0): option requested_ntp_servers => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8945] dhcp4 (wlp2s0): option 
requested_rfc3442_classless_static_routes => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8945] dhcp4 (wlp2s0): option requested_root_path  => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8946] dhcp4 (wlp2s0): option requested_routers=> '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8946] dhcp4 (wlp2s0): option requested_static_routes => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8947] dhcp4 (wlp2s0): option requested_subnet_mask => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8947] dhcp4 (wlp2s0): option requested_time_offset => '1'
Nov 10 20:29:30 willie-ThinkPad-X131e NetworkManager[627]:  
 [1668133770.8948] dhcp4 (wlp2

[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread vince
On Thursday, November 10, 2022 at 6:40:55 PM UTC-8 timwill...@gmail.com 
wrote:

> Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL __main__: 
> Unable to load driver: [Errno 2] could not open port /dev/vpro: [Errno 2] 
> No such file or directory: '/dev/vpro'
>

Again, as I said earlier, try "/dev/ttyUSB0"  for the usual device name if 
(as you said earlier) that is what your os reported.

Where are you seeing instructions to use /dev/vpro ?There used to be 
'old' users guide info on this but I don't see it in current versions and 
it's more of an advanced nice-to-have anyway.  Get a minimalist setup 
working before you try to get fancy.

-- 
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/18787153-d147-4120-9f01-86179bf0eab6n%40googlegroups.com.


[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
Hi Vince.. I was following the wrong instruction for vantage and used the 
/dev/vpro whoops .   I edittted wewx config to .port=/dev/ttyUSB0  . Am 
waiting for log to complete and will update shortly . Thanks for pointing 
that out .

On Thursday, November 10, 2022 at 9:17:32 PM UTC-6 vince wrote:

> On Thursday, November 10, 2022 at 6:40:55 PM UTC-8 timwill...@gmail.com 
> wrote:
>
>> Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL __main__: 
>> Unable to load driver: [Errno 2] could not open port /dev/vpro: [Errno 2] 
>> No such file or directory: '/dev/vpro'
>>
>
> Again, as I said earlier, try "/dev/ttyUSB0"  for the usual device name if 
> (as you said earlier) that is what your os reported.
>
> Where are you seeing instructions to use /dev/vpro ?There used to be 
> 'old' users guide info on this but I don't see it in current versions and 
> it's more of an advanced nice-to-have anyway.  Get a minimalist setup 
> working before you try to get fancy.
>
>

-- 
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/1b13ed80-9da5-4382-8a26-4bbe40487f7cn%40googlegroups.com.


[weewx-user] Re: Weewx won't Install Correctly Mint 20.3 UNA

2022-11-10 Thread Tim Williams
updated Log: 

Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine:   
    Vantage.__init__(self, **config_dict[DRIVER_NAME])
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in 
__init__
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine:   
    self._setup()
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in 
_setup
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine:   
    self.port.wakeup_console(max_tries=self.max_tries)
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine:   
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
wakeup_console
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine:   
    raise weewx.WakeupError("Unable to wake up Vantage console")
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine:   
    weewx.WakeupError: Unable to wake up Vantage console
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL __main__: 
Unable to load driver: Unable to wake up Vantage console
Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL __main__: 
  Exiting...


On Thursday, November 10, 2022 at 9:41:30 PM UTC-6 Tim Williams wrote:

> Hi Vince.. I was following the wrong instruction for vantage and used the 
> /dev/vpro whoops .   I edittted wewx config to .port=/dev/ttyUSB0  . Am 
> waiting for log to complete and will update shortly . Thanks for pointing 
> that out .
>
> On Thursday, November 10, 2022 at 9:17:32 PM UTC-6 vince wrote:
>
>> On Thursday, November 10, 2022 at 6:40:55 PM UTC-8 timwill...@gmail.com 
>> wrote:
>>
>>> Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL __main__: 
>>> Unable to load driver: [Errno 2] could not open port /dev/vpro: [Errno 2] 
>>> No such file or directory: '/dev/vpro'
>>>
>>
>> Again, as I said earlier, try "/dev/ttyUSB0"  for the usual device name 
>> if (as you said earlier) that is what your os reported.
>>
>> Where are you seeing instructions to use /dev/vpro ?There used to be 
>> 'old' users guide info on this but I don't see it in current versions and 
>> it's more of an advanced nice-to-have anyway.  Get a minimalist setup 
>> working before you try to get fancy.
>>
>>

-- 
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/21025a3a-82ca-4898-8639-246f3dc7987en%40googlegroups.com.