This is part of the /etc/weewx/weewx.conf file.
*********************************
debug = 1

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 3.5.0

##############################################################################

#   This section is for information about the station.

[Station]
    
    # Description of the station location
    location = "Waldron, Ar"
    
    # Latitude and longitude in decimal degrees
    latitude = 34.90
    longitude = -93.99
    
    # Altitude of the station, with unit it is in. This is downloaded from
    # from the station if the hardware supports it.
    altitude = 754, foot
    
    # Set to type of station hardware. There must be a corresponding stanza
    # in this file with a 'driver' parameter indicating the driver to be 
used.
    station_type = WMR200
    
    # If you have a website, you may specify an URL
    #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
*********************************************

This is the /var/log/weewx.log   file since I did the edits earlier.
Oct  3 16:43:17 One wee_reports[23502]: reportengine: Running report RSYNC
Oct  3 16:43:17 One wee_reports[23502]: reportengine: Found configuration 
file /etc/weewx/skins/Rsync/skin.conf for report RSYNC
Oct  3 16:43:17 One wee_reports[23502]: reportengine: rsync upload not 
requested. Skipped.
Oct  3 16:43:47 One wee_reports[23507]: reportengine: Running reports for 
latest time in the database.
Oct  3 16:43:47 One wee_reports[23507]: reportengine: Running report 
StandardReport
Oct  3 16:43:47 One wee_reports[23507]: reportengine: Found configuration 
file /etc/weewx/skins/Standard/skin.conf for report StandardReport
Oct  3 16:43:48 One wee_reports[23507]: units: Unable to convert from feet 
to meter
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Caught unrecoverable 
exception in generator weewx.cheetahgenerator.CheetahGenerator
Oct  3 16:43:48 One wee_reports[23507]:         ****  'feet'
Oct  3 16:43:48 One wee_reports[23507]:         ****  Traceback (most 
recent call last):
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 140, in run
Oct  3 16:43:48 One wee_reports[23507]:         ****      obj.start()
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 170, in start
Oct  3 16:43:48 One wee_reports[23507]:         ****      self.run()
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 140, in run
Oct  3 16:43:48 One wee_reports[23507]:         ****     
 self.initExtensions(gen_dict[option_section_name])
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 177, in initExtensions
Oct  3 16:43:48 One wee_reports[23507]:         ****     
 self.search_list_objs.append(class_(self))
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 455, in __init__
Oct  3 16:43:48 One wee_reports[23507]:         ****      altitude_vt = 
weewx.units.convert(generator.stn_info.altitude_vt, "meter")
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/units.py", line 1054, in convert
Oct  3 16:43:48 One wee_reports[23507]:         ****      conversion_func = 
conversionDict[val_t[1]][target_unit_type]
Oct  3 16:43:48 One wee_reports[23507]:         ****  KeyError: 'feet'
Oct  3 16:43:48 One wee_reports[23507]:         ****  Generator 
terminated...
Oct  3 16:43:48 One wee_reports[23507]: genimages: Generated 12 images for 
StandardReport in 0.08 seconds
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Caught unrecoverable 
exception in generator weewx.reportengine.CopyGenerator
Oct  3 16:43:48 One wee_reports[23507]:         ****  [Errno 13] Permission 
denied: '/var/www/weewx/backgrounds/band.gif'
Oct  3 16:43:48 One wee_reports[23507]:         ****  Traceback (most 
recent call last):
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 140, in run
Oct  3 16:43:48 One wee_reports[23507]:         ****      obj.start()
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 170, in start
Oct  3 16:43:48 One wee_reports[23507]:         ****      self.run()
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 326, in run
Oct  3 16:43:48 One wee_reports[23507]:         ****     
 shutil.copy(_file, dest_dir)
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/lib/python2.7/shutil.py", line 119, in copy
Oct  3 16:43:48 One wee_reports[23507]:         ****      copyfile(src, dst)
Oct  3 16:43:48 One wee_reports[23507]:         ****    File 
"/usr/lib/python2.7/shutil.py", line 83, in copyfile
Oct  3 16:43:48 One wee_reports[23507]:         ****      with open(dst, 
'wb') as fdst:
Oct  3 16:43:48 One wee_reports[23507]:         ****  IOError: [Errno 13] 
Permission denied: '/var/www/weewx/backgrounds/band.gif'
Oct  3 16:43:48 One wee_reports[23507]:         ****  Generator 
terminated...
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Running report FTP
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Found configuration 
file /etc/weewx/skins/Ftp/skin.conf for report FTP
Oct  3 16:43:48 One wee_reports[23507]: reportengine: FTP upload not 
requested. Skipped.
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Running report RSYNC
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Found configuration 
file /etc/weewx/skins/Rsync/skin.conf for report RSYNC
Oct  3 16:43:48 One wee_reports[23507]: reportengine: rsync upload not 
requested. Skipped.
Oct  3 16:49:31 One weewx[23541]: Stopping weewx weather system: 
weewx........................ failed!
Oct  3 16:52:54 One weewx[23846]: Starting weewx weather system: weewx 
already running....

*********************************************************
Moved to /var/tmp/ and run wee_debug  --info 
lots of output generated. expected to find a file in var tmp but no. last 
line says report generated but not where it put it.  Where is it supposed 
to be?
Don 


On Sunday, October 2, 2016 at 4:45:43 PM UTC-5, Don l wrote:
>
> I am back to the Weather Station problem now. Previous posts repaired 
> system. The operating system is Debian 8.5.0. Recent upgrade from Ubuntu 
> 14.04.
> I have an I5 cpu in a MSI Z97 Guard Pro Mother board, 8gig ram, 500 gig 
> hd, wired Ps2 keyboard, wireless mouse, and an hdmi monitor. I have the USB 
> Ohio Scientific WMR200A weather station and Weewx 3.5.0. Hope that is 
> enough info this time. 
>
> My problem is that I have installed the weewx. I have run the weewx.conf 
> and gave it the parameters for my location and station type. When I call up 
> the page to see the weather data (file:///var/www/weewx/index.html)  
> I get a Santas Workshop at North pole page. The only thing on the page 
> that seems to have been changed is the install date which was August 28 
> 2016. All other date is the default that came with the install. I have 
> found two log files that seem to be important. one is the syslog that has 
> everything on the systems errors, and the other is Weewx specific which is 
> Weewx.log. Weewx.log has all the weewx errors and I will try to copy it 
> here.
>
>
> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Using PC Time: 
> True
> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Erase archive 
> data: False
> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Archive interval: 
> 60
> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Archive 
> threshold: 604800
> Sep 27 14:29:36 One weewx[5166]: engine: Caught unrecoverable exception in 
> engine:
> Sep 27 14:29:36 One weewx[5166]:     ****  invalid literal for float(): 34 
> 54N
> Sep 27 14:29:36 One weewx[5166]:     ****  Traceback (most recent call 
> last):
> Sep 27 14:29:36 One weewx[5166]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 853, in main
> Sep 27 14:29:36 One weewx[5166]:     ****      engine = 
> EngineClass(config_dict)
> Sep 27 14:29:36 One weewx[5166]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 72, in __init__
> Sep 27 14:29:36 One weewx[5166]:     ****     
>  self.preLoadServices(config_dict)
> Sep 27 14:29:36 One weewx[5166]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 110, in preLoadServices
> Sep 27 14:29:36 One weewx[5166]:     ****      self.stn_info = 
> weewx.station.StationInfo(self.console, **config_dict['Station'])
> Sep 27 14:29:36 One weewx[5166]:     ****    File 
> "/usr/share/weewx/weewx/station.py", line 55, in __init__
> Sep 27 14:29:36 One weewx[5166]:     ****      self.latitude_f      = 
> float(stn_dict['latitude'])
> Sep 27 14:29:36 One weewx[5166]:     ****  ValueError: invalid literal for 
> float(): 34 54N
> Sep 27 14:29:36 One weewx[5166]:     ****  Exiting.
> Sep 27 14:29:51 One weewx[5166]: wmr200: Thread-2: E read_device() USB 
> Error Reason:Connection timed out
> Sep 27 15:06:39 One weewx[5415]: engine: Initializing weewx version 3.5.0
> Sep 27 15:06:39 One weewx[5415]: engine: Using Python 2.7.9 (default, Jun 
> 29 2016, 13:08:31) #012[GCC 4.9.2]
> Sep 27 15:06:39 One weewx[5415]: engine: Platform 
> Linux-3.16.0-4-amd64-x86_64-with-debian-8.6
> Sep 27 15:06:39 One weewx[5415]: engine: Unable to open configuration file 
> /weewx
> Sep 27 18:08:49 One weewx[7034]: Reloading weewx weather system: weewx.
> Sep 29 11:14:42 One weewx[21523]: Reloading weewx weather system: weewx.
> :
>
> That is the complete file and I hope that it is helpful. I think I have 
> found a DB that is 129,000 bytes long that I think is 
> the data that is supposed to be displayed. If it is the data is being 
> collected but not displayed. 
>
> Also when it runs, How do you get the program to start with a particular 
> value? like the current rain fall here is about 38" for the year?
>
> Thanks for any help available to get it running and displaying the weather.
>
> Don
>

-- 
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