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 [email protected] 
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/452b53be-f825-404d-ba8f-7e7b5a72781bn%40googlegroups.com.

Reply via email to