Re: [weewx-user] Re: web page is DEFAULT

2020-05-13 Thread 'doug wright' via weewx-user
Yea for that.  All is well with displaying the report page.  Thanks Gary and 
Dave. 
Doug

Sent from my iPhone

> On May 13, 2020, at 5:36 PM, gjr80  wrote:
> 
> WeeWX use the singular for units, so foot not feet. Your altitude setting 
> under [Station] in weewx.conf has feet in it.
> 
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/91f49ab9-4efb-4101-8cde-08adc013f62c%40googlegroups.com.

-- 
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/C4E4B25D-2F52-4598-B31D-F2EB24115767%40yahoo.com.


Re: [weewx-user] Re: web page is DEFAULT

2020-05-13 Thread gjr80
WeeWX use the singular for units, so foot not feet. Your altitude setting under 
[Station] in weewx.conf has feet in it.

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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/91f49ab9-4efb-4101-8cde-08adc013f62c%40googlegroups.com.


Re: [weewx-user] Re: web page is DEFAULT

2020-05-13 Thread 'dwright361' via weewx-user
Gary : I got his now after the LONG LAT fix...
Doug




i@weewx:~ $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
pi@weewx:~ $ tail -f /var/log/syslog
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__: File 
"/usr/share/weewx/weewx/wxservices.py", line 565, in altimeter
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__:   altitude 
= weewx.units.convertStd(self.altitude_vt, record['usUnits'])
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__: File 
"/usr/share/weewx/weewx/units.py", line 1270, in convertStd
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__:   return 
StdUnitConverters[target_std_unit_system].convert(val_t)
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__: File 
"/usr/share/weewx/weewx/units.py", line 889, in convert
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__:   
new_val_t = convert(val_t, new_unit_type)
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__: File 
"/usr/share/weewx/weewx/units.py", line 1238, in convert
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__:   
conversion_func = conversionDict[val_t[1]][target_unit_type]
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__:   KeyError: 
u'feet'
May 13 17:28:58 weewx weewx[7592] CRITICAL __main__:   Exiting.


On Wednesday, May 13, 2020 at 5:27:08 PM UTC-5, gjr80 wrote:
>
> The user account you are using to edit weewx.conf has insufficient 
> privileges, use an account that does have sufficient privileges or prefix 
> you editor command with sudo.
>
> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2037bfd6-50d6-48cc-9f11-ef335ca2e7bb%40googlegroups.com.


Re: [weewx-user] Re: web page is DEFAULT

2020-05-13 Thread 'doug wright' via weewx-user
Thanks Dave

Sent from my iPhone

> On May 13, 2020, at 5:25 PM, Dave Webb KB1PVH  wrote:
> 
> 
> Use sudo nano /etc/weewx/weewx.conf
> 
> Dave-KB1PVH
> 
> 
> Sent from my Galaxy S9
> 
>> On Wed, May 13, 2020, 6:23 PM 'doug wright' via weewx-user 
>>  wrote:
>> Permissions denied to save weewx.conf
>> 
>> Sent from my iPhone
>> 
>> > On May 13, 2020, at 4:53 PM, gjr80  wrote:
>> > 
>> > You have an error with your latitude setting in weewx.conf:
>> > 
>> > May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   ValueError: 
>> > invalid literal for float(): 28.275153 -97.464723
>> > 
>> > It looks like you have specified both latitude and longitude for latitude. 
>> > Edit weewx.conf, fix the error, save weewx.conf and restart WeeWX. Then 
>> > see if there are any further errors in the log.
>> > 
>> > 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 weewx-user+unsubscr...@googlegroups.com.
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/weewx-user/1a2982db-126d-4518-985a-db6d5ddff551%40googlegroups.com.
>> 
>> -- 
>> 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/B145BD70-49DD-4F81-87FE-3932027A5FF0%40yahoo.com.
> 
> -- 
> 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/CAEMY9Ffpy2es2uGC9ZZ6s9b4arBv3BPqPYZQD28kX8x5RzLjXA%40mail.gmail.com.

-- 
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/122C8C17-E223-405B-8190-0F41C06EF06F%40yahoo.com.


Re: [weewx-user] Re: web page is DEFAULT

2020-05-13 Thread gjr80
The user account you are using to edit weewx.conf has insufficient privileges, 
use an account that does have sufficient privileges or prefix you editor 
command with sudo.

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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/45e92719-00c9-4505-a2a3-a5106a3ac267%40googlegroups.com.


Re: [weewx-user] Re: web page is DEFAULT

2020-05-13 Thread Dave Webb KB1PVH
Use sudo nano /etc/weewx/weewx.conf

Dave-KB1PVH


Sent from my Galaxy S9

On Wed, May 13, 2020, 6:23 PM 'doug wright' via weewx-user <
weewx-user@googlegroups.com> wrote:

> Permissions denied to save weewx.conf
>
> Sent from my iPhone
>
> > On May 13, 2020, at 4:53 PM, gjr80  wrote:
> >
> > You have an error with your latitude setting in weewx.conf:
> >
> > May 13 16:32:29 weewx weewx[6603] CRITICAL __main__: 
> ValueError: invalid literal for float(): 28.275153 -97.464723
> >
> > It looks like you have specified both latitude and longitude for
> latitude. Edit weewx.conf, fix the error, save weewx.conf and restart
> WeeWX. Then see if there are any further errors in the log.
> >
> > 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 weewx-user+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/1a2982db-126d-4518-985a-db6d5ddff551%40googlegroups.com
> .
>
> --
> 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/B145BD70-49DD-4F81-87FE-3932027A5FF0%40yahoo.com
> .
>

-- 
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/CAEMY9Ffpy2es2uGC9ZZ6s9b4arBv3BPqPYZQD28kX8x5RzLjXA%40mail.gmail.com.


Re: [weewx-user] Re: web page is DEFAULT

2020-05-13 Thread 'doug wright' via weewx-user
Permissions denied to save weewx.conf

Sent from my iPhone

> On May 13, 2020, at 4:53 PM, gjr80  wrote:
> 
> You have an error with your latitude setting in weewx.conf:
> 
> May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   ValueError: 
> invalid literal for float(): 28.275153 -97.464723
> 
> It looks like you have specified both latitude and longitude for latitude. 
> Edit weewx.conf, fix the error, save weewx.conf and restart WeeWX. Then see 
> if there are any further errors in the log.
> 
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/1a2982db-126d-4518-985a-db6d5ddff551%40googlegroups.com.

-- 
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/B145BD70-49DD-4F81-87FE-3932027A5FF0%40yahoo.com.


[weewx-user] Re: web page is DEFAULT

2020-05-13 Thread gjr80
You have an error with your latitude setting in weewx.conf:

May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   ValueError: 
invalid literal for float(): 28.275153 -97.464723

It looks like you have specified both latitude and longitude for latitude. Edit 
weewx.conf, fix the error, save weewx.conf and restart WeeWX. Then see if there 
are any further errors in the log.

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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1a2982db-126d-4518-985a-db6d5ddff551%40googlegroups.com.


[weewx-user] Re: web page is DEFAULT

2020-05-13 Thread 'dwright361' via weewx-user
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@weewx:~ $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
pi@weewx:~ $ tail -f /var/log/syslog
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__: File 
"/usr/share/weewx/weewxd", line 148, in main
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   engine = 
weewx.engine.StdEngine(config_dict)
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 72, in __init__
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   
self.preLoadServices(config_dict)
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 112, in preLoadServices
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   
self.stn_info = weewx.station.StationInfo(self.console, 
**config_dict['Station'])
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__: File 
"/usr/share/weewx/weewx/station.py", line 51, in __init__
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   
self.latitude_f  = float(stn_dict['latitude'])
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   ValueError: 
invalid literal for float(): 28.275153 -97.464723
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:   Exiting.


On Wednesday, May 13, 2020 at 3:42:39 PM UTC-5, gjr80 wrote:
>
> Hi, 
>
> The answer is in your first post: 
>
> If WeeWX was installed from DEB or RPM package, no configuration should be 
> necessary since the reports are placed in the directory 
> /var/www/html/weewx, which is in the Apache DocumentRoot directory 
> /var/www/html 
>
> I am guessing that since you got a 404 error when you used /weewx in your 
> browser that WeeWX has not placed it’s generated pages in 
> /var/www/html/weewx. This could be because they have been saved elsewhere 
> or more likely they have not been generated at all. I suggest you look in 
> the log, are files being generated and where are they being saved? If you 
> run into difficulties edit weewx.conf, set debug = 1, save weewx.conf and 
> restart WeeWX. Let WeeWX run for 10-15 minutes then take a copy of the log 
> from when you restarted WeeWX through until the 10-15 minutes have elapsed 
> making sure you get the full WeeWX start up. Post the log extract here’s s 
> we will see if we can work out what it going on. 
>
> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/17a415eb-8771-42b6-8ad2-c4256fe50b65%40googlegroups.com.


[weewx-user] Re: web page is DEFAULT

2020-05-13 Thread gjr80
Hi,

The answer is in your first post:

If WeeWX was installed from DEB or RPM package, no configuration should be 
necessary since the reports are placed in the directory /var/www/html/weewx, 
which is in the Apache DocumentRoot directory /var/www/html

I am guessing that since you got a 404 error when you used /weewx in your 
browser that WeeWX has not placed it’s generated pages in /var/www/html/weewx. 
This could be because they have been saved elsewhere or more likely they have 
not been generated at all. I suggest you look in the log, are files being 
generated and where are they being saved? If you run into difficulties edit 
weewx.conf, set debug = 1, save weewx.conf and restart WeeWX. Let WeeWX run for 
10-15 minutes then take a copy of the log from when you restarted WeeWX through 
until the 10-15 minutes have elapsed making sure you get the full WeeWX start 
up. Post the log extract here’s s we will see if we can work out what it going 
on.

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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2b2f4e5f-8fc1-422d-9fa0-d9986f9225f1%40googlegroups.com.


[weewx-user] Re: web page is DEFAULT

2020-05-13 Thread 'dwright361' via weewx-user
I think my reports are in the wrong path . the Index.html is the default 
Debian test page. What folder are the reports from the weather station held?

On Wednesday, May 13, 2020 at 12:14:11 PM UTC-5, dwright361 wrote:
>
> Phil; I  tried that and I get :Not Found
>
> The requested URL was not found on this server.
> --
> Apache/2.4.25 (Raspbian) Server at 10.10.5.187 Port 80
> On Wednesday, May 13, 2020 at 11:58:59 AM UTC-5, Phil Green wrote:
>>
>> On my system I have to state folder /weewx at the end of your url in 
>> order to pickup the index.html in the weewx folder under the main root of 
>> the url. 
>> Regards
>> Phil
>>
>

-- 
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/85c5598a-8cc3-4bb9-b59b-1248b7fa2fff%40googlegroups.com.


[weewx-user] Re: web page is DEFAULT

2020-05-13 Thread 'dwright361' via weewx-user
Phil; I  tried that and I get :Not Found

The requested URL was not found on this server.
--
Apache/2.4.25 (Raspbian) Server at 10.10.5.187 Port 80
On Wednesday, May 13, 2020 at 11:58:59 AM UTC-5, Phil Green wrote:
>
> On my system I have to state folder /weewx at the end of your url in order 
> to pickup the index.html in the weewx folder under the main root of the 
> url. 
> Regards
> Phil
>

-- 
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/c7bc780f-0f2a-4feb-a49c-dac603bb2b50%40googlegroups.com.