Good to see you sorted it Gary. First rule for new users: when it doesn't 
work, set debug=1, start/stop weewx then look at the log carefully from 
weewx start. 9 times out of 10 it will give you the problem or point you to 
the area concerned.

Oh, and as I am sure Tom would have said - welcome to weewx.

Gary

On Wednesday, 11 January 2017 16:11:14 UTC+10, Gary Barnett wrote:
>
> Okay, set debug in weewx.conf , look at syslog and found the problem was 
> in initial setup I entered "ft" instead of "foot" for elevation and caused 
> an "unrecoverable exception in engine" which stopped it from going any 
> further. Edited conf file and stop and restarted service, but it took a 
> reboot to correct the problem. Page now correctly showing data from 
> station. 
> Thanks for your help gjr80.
>
>
> /var/log/syslog
>
> Jan 10 16:34:01 Kudu-Pro weewx[10081]: engine: Initializing weewx version 
> 3.6.2
> Jan 10 16:34:01 Kudu-Pro weewx[10081]: engine: Using Python 2.7.6 
> (default, Oct 26 2016, 20:30:19) #012[GCC 4.8.4]
> Jan 10 16:34:01 Kudu-Pro weewx[10081]: engine: Platform 
> Linux-3.19.0-32-generic-x86_64-with-LinuxMint-17.3-rosa
> Jan 10 16:34:01 Kudu-Pro weewx[10081]: engine: pid file is 
> /var/run/weewx.pid
> Jan 10 16:34:01 Kudu-Pro weewx[10085]: engine: Using configuration file 
> /etc/weewx/weewx.conf
> Jan 10 16:34:01 Kudu-Pro weewx[10085]: engine: Loading station type 
> AcuRite (weewx.drivers.acurite)
> Jan 10 16:34:01 Kudu-Pro weewx[10085]: acurite: driver version is 0.24
> Jan 10 16:34:01 Kudu-Pro weewx[10085]: acurite: R2 will be decoded using 
> sensor constants
> Jan 10 16:34:01 Kudu-Pro weewx[10085]: engine: StdConvert target unit is 
> 0x1
> Jan 10 16:34:01 Kudu-Pro weewx[10085]: engine: Caught unrecoverable 
> exception in engine:
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****  'ft'
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****  Traceback (most recent 
> call last):
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 841, in main
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****      engine = 
> engine_class(config_dict)
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 76, in __init__
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****     
>  self.loadServices(config_dict)
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 140, in loadServices
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****     
>  self.service_obj.append(weeutil.weeutil._get_object(svc)(self, 
> config_dict))
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****    File 
> "/usr/share/weewx/weewx/wxservices.py", line 38, in __init__
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****      engine.db_binder)
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****    File 
> "/usr/share/weewx/weewx/wxservices.py", line 158, in __init__
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****      self.altitude_ft = 
> weewx.units.convert(alt_vt, "foot")[0]
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****    File 
> "/usr/share/weewx/weewx/units.py", line 1079, in convert
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****      conversion_func = 
> conversionDict[val_t[1]][target_unit_type]
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****  KeyError: 'ft'
> Jan 10 16:34:01 Kudu-Pro weewx[10085]:     ****  Exiting.
>
> On Tuesday, January 10, 2017 at 6:48:32 PM UTC-8, Gary Barnett wrote:
>>
>>
>> First-time installer
>>
>> Just downloaded and install installed weewx_3.6.2-1_all.deb file on Linux 
>> Mint 17.3 as per instruction for Debian based distros.
>> Config came up and I entered my Lat, Long, elevation and gave it a 
>> station name. check to make sure process started and verified weewx was 
>> running properly by running sudo tail -f /var/log/syslog. Data is coming 
>> from weather station and updating okay.
>>
>> I waited about 30 minutes and then checked for results on the page 
>> "file:///var/www/html/weewx/index.html" in my browser but I get a "Your 
>> file was not found" message". 
>>
>> Apparently the folder is not being created. I ran "wee_debug --info" and 
>> the only error I see is "weedb.OperationalError: Attempt to open a 
>> non-existent database /var/lib/weewx/weewx.sdb"
>>
>> Any help will be appreciated.
>>
>> Thanks
>> Gary
>>
>>
>>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to