[weewx-user] adding records from one weewx database to another?

2019-09-24 Thread Dana Roode
Is there a way to extract archive records from one weewx.sdb file and 
import then into another?  I see there is a utility that allows importing 
of CSV data files.

My linux system died on September 9th and I did not have time to build a 
new one right away (the system and weather station is located 80 miles away 
from me).  I did have the old one from about 10 months ago, and I put that 
in line.  It received a couple of weeks of records from the Davis Vantage 
Pro2 weather station.  I setup the new system with the database I had 
through September 9th and now that database is the active one.  I'd like to 
move a few weeks of data from the interim system to the active one.

I'm running the latest weewx, now using Ubuntu rather than Centos.  It went 
very well, other than a bug I previously reported (fixed with a vantage.py 
change).  I will post about that later.

  Dana

-- 
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/7370f9a4-2c9c-496e-b198-c98dd6cf5007%40googlegroups.com.


Re: [weewx-user] Get values from a database on another machine?

2019-09-24 Thread Thomas Keffer
>
> Must the new database have datetime, unUnits and interval fields?


Yes.

The answers to most of your other questions are in the section *The
database *, in the
Customizing Guide. Take a look there.

Perhaps someone will look at your monitor.py, but that's well outside the
scope of WeeWX.

-tk

-- 
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/CAPq0zEDx4_2imET%2BzVHVwq%2BkiNAhz9_F1_m4mQyEFvHV2GFw5w%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-09-24 Thread Greg Reive
I get those gaps when the communication from the console to the weather
station drops.

I graph the signal quality and the gaps coincide with the missing data.

On Tue, 24 Sep. 2019, 21:47 Kike .Asekas,  wrote:

> I have some small gaps in the graphics that I don't know because they
> appear since those records exist in the database.
> What can they be due to?
>
> [image: Screenshot_2019-09-24 Areal, Padrón Weather Conditions.png]
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/VyVMEfuxClo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/231950ff-48fe-482f-af71-b012c12f4225%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/CAD_tbc95U5soP1e99_57UsOKLuSewKEw%3DcjZ%3Dg7w-LKQg9AumA%40mail.gmail.com.


Re: [weewx-user] Get values from a database on another machine?

2019-09-24 Thread Mikael Fredriksson
Sorry missed to attach the link

https://github.com/Pyplate/rpi_temp_logger/blob/master/monitor.py

-- 
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/9b3637b4-2e3f-49d1-a664-13b0df9d5d4d%40googlegroups.com.


Re: [weewx-user] Get values from a database on another machine?

2019-09-24 Thread Mikael Fredriksson
Hi!

Thanks for your answers.

I will try to get tk's option to work first.

But there are some questions!
I need to get the database to be setup as intended first before I try to get 
the settings in weewx right.

Must the new database have datetime, unUnits and interval fields? I started 
with fields timestamp and temp and those worked but they was not in epoch. Now 
I got it to log in epoch time format ( after changing datetime('now', 
'localtime' to strftime('%s','now', 'localtime'); but when I create a new 
database with those three fields (datetime, unUnits,interval and temp)  it 
doesn't log anything. I will attach the script I'm using (monitor.py). I've got 
the datebase to populate when only using fields datetime and temp.
How schould I setup the database to work with weewx?
I  did setup the database like this:

Table: temps

Fields:
datetime INTEGER unique not null primary
unUnits INTEGER not null
interval INTERGER not null
temp NUMRIC

And it don't write to it.

Only when I setup like this:

Table : temps

Fields:
datetime INTERGER unique not null primary
temp NUMRIC


Here I found the monitor.py script I use.
I've also added "import datetime"


Haven't worked with database before so there's much trail and error! 

Thanks /Mikael

-- 
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/ce2285c2-5dea-4a5d-8e4f-a378fae53ac0%40googlegroups.com.


[weewx-user] Re: image caching problem with Chrome

2019-09-24 Thread Chris Richmond
Thanks, it was the first enabled report in the list.  I've moved it to the 
end now.  The config setup is mostly the default for 3.9.1
for a Vantage station.

Chris

On Monday, September 23, 2019 at 5:04:20 PM UTC-7, gjr80 wrote:
>
> Hi,
>
> Reports are processed in the order listed in weewx.conf under [StdReport], 
> have a look under [StdReport], is [[RSYNC]] before or after 
> [[SeasonsReport]]? Based on the log extract provided I am guessing it is 
> before. If so try moving then entire [[RSYNC]] stanza to be after (the 
> entire) [[SeasonsReport]] stanza. If [[RSYNC]] is indeed after 
> [[SeasonsReport]] then post a copy of your [StdReport] stanza (if you do 
> make sure any passwords, user names or other sensitive info is obfuscated). 
> Note you will need to restart WeeWX or do a config reload for any 
> weewx.conf changes to take effect.
>
>>
>>

-- 
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/9bbf9782-f7c4-48b8-a47f-7b5fcf6a68c8%40googlegroups.com.


Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Thomas Keffer
Well, if the error went away when you replaced the seasons directory, it
must have been in the templates. Your error is typical of templates missing
the #encoding directive.

The other possibility, that the encoding option was wrong in skin.conf,
would not cause this error. Instead, the Cheetah engine would have just
quietly ignored the spanish characters.

-tk

On Tue, Sep 24, 2019 at 5:52 AM Kike .Asekas  wrote:

> Thank you. The file have #encoding UTF-8. I remove the seasons folder and
> it copy from github. I change weewx.conf labels to spanish with spanish
> characters and I don't have errors now. I don't know where was the fault.
>
> El martes, 24 de septiembre de 2019, 14:47:45 (UTC+2), Thomas Keffer
> escribió:
>>
>> The problem is almost surely in the file
>> /etc/weewx/skins/Seasons/index.html.tmpl. Double check that the top of
>> the file include a #encoding directive:
>>
>> ## Copyright 2009-2018 Tom Keffer, Matthew Wall
>> ## Distributed under terms of GPLv3.  See LICENSE.txt for your rights.
>> #errorCatcher Echo
>> ##
>> ## Specifying an encoding of UTF-8 is usually safe:
>> #encoding UTF-8
>> ##
>> 
>>
>> If it does, send me privately your copy of
>> /etc/weewx/skins/Seasons/index.html.tmpl,
>> /etc/weewx/skins/Seasons/skin.conf, and /etc/weewx/weewx.conf and I will
>> see if I can replicate the error. Obfuscate any passwords in weewx.conf.
>>
>> -tk (tke...@gmail.com)
>>
>>
>> On Tue, Sep 24, 2019 at 5:09 AM Kike .Asekas  wrote:
>>
>>> cheetahgenerator: Generate failed with exception '>> 'exceptions.UnicodeDecodeError'>'
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: cheetahgenerator: 
>>> Ignoring template /etc/weewx/skins/Seasons/index.html.tmpl
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: cheetahgenerator:  Reason:
>>> 'ascii' codec can't decode byte 0xc3 in position 1815: ordinal not in
>>> range(128)
>>> Sep 24 14:05:27 raspberrypi weewx[27767]:   Traceback (most recent
>>> call last):
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: File
>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: 
>>> fd.write(str(compiled_template))
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in
>>> __str__
>>> Sep 24 14:05:27 raspberrypi weewx[27767]:   rc = getattr(self,
>>> mainMethName)()
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: File
>>> "_etc_weewx_skins_Seasons_index_html_tmpl.py", line 216, in respond
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1685, in
>>> _handleCheetahInclude
>>> Sep 24 14:05:27 raspberrypi weewx[27767]:   file=file)
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 772, in compile
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: 
>>> settings=(compilerSettings or {}))
>>> Sep 24 14:05:27 raspberrypi weewx[27767]: File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1708, in
>>> __init__
>>> Sep 24 14:05:27 raspberrypi weewx[27767]:   source =
>>> unicode(source)
>>> Sep 24 14:05:27 raspberrypi weewx[27767]:   UnicodeDecodeError:
>>> 'ascii' codec can't decode byte 0xc3 in position 1815: ordinal not in
>>> range(128)
>>>
>>>
>>> El martes, 24 de septiembre de 2019, 13:49:13 (UTC+2), Thomas Keffer
>>> escribió:

 It sure would help if you showed us the log...

 On Tue, Sep 24, 2019 at 4:27 AM Kike .Asekas  wrote:

> I sorry. I don't know where is the problem. I remove all spanish
> characters from skin.conf, index.html.tmpl and weewx.conf and I remove the
> template and copy it again from the git repository and the error 
> continues.
>
> El martes, 24 de septiembre de 2019, 12:54:09 (UTC+2), Kike .Asekas
> escribió:
>>
>> I think is in skin.conf. I remove all spanish characters in the
>> template and the error continues. The template is index.html.tmpl
>>
>> El lunes, 23 de septiembre de 2019, 23:02:45 (UTC+2), Thomas Keffer
>> escribió:
>>>
>>> Is there error from a Spanish character in the template, or in
>>> skin.conf, or weewx.conf?
>>>
>>> Which template?
>>>
>>> Please include the log.
>>>
>>> -tk
>>>
>>> On Mon, Sep 23, 2019 at 10:46 AM Kike .Asekas 
>>> wrote:
>>>
 I get this error when I try using spanish characters (ñ,á,é,í,ó,ú).
 I have #encoding UTF-8 in each page althougnt I get the error in a page
 only and i have encoding = utf8 in [CheetahGenerator] in skin.conf.

 --
 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...@googlegroups.com.
 To 

Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Kike .Asekas
Thank you. The file have #encoding UTF-8. I remove the seasons folder and 
it copy from github. I change weewx.conf labels to spanish with spanish 
characters and I don't have errors now. I don't know where was the fault.

El martes, 24 de septiembre de 2019, 14:47:45 (UTC+2), Thomas Keffer 
escribió:
>
> The problem is almost surely in the file 
> /etc/weewx/skins/Seasons/index.html.tmpl. Double check that the top of 
> the file include a #encoding directive:
>
> ## Copyright 2009-2018 Tom Keffer, Matthew Wall
> ## Distributed under terms of GPLv3.  See LICENSE.txt for your rights.
> #errorCatcher Echo
> ##
> ## Specifying an encoding of UTF-8 is usually safe:
> #encoding UTF-8
> ##
> 
>
> If it does, send me privately your copy of 
> /etc/weewx/skins/Seasons/index.html.tmpl, 
> /etc/weewx/skins/Seasons/skin.conf, and /etc/weewx/weewx.conf and I will 
> see if I can replicate the error. Obfuscate any passwords in weewx.conf.
>
> -tk (tke...@gmail.com )
>
>
> On Tue, Sep 24, 2019 at 5:09 AM Kike .Asekas  > wrote:
>
>> cheetahgenerator: Generate failed with exception '> 'exceptions.UnicodeDecodeError'>'
>> Sep 24 14:05:27 raspberrypi weewx[27767]: cheetahgenerator:  Ignoring 
>> template /etc/weewx/skins/Seasons/index.html.tmpl
>> Sep 24 14:05:27 raspberrypi weewx[27767]: cheetahgenerator:  Reason: 
>> 'ascii' codec can't decode byte 0xc3 in position 1815: ordinal not in 
>> range(128)
>> Sep 24 14:05:27 raspberrypi weewx[27767]:   Traceback (most recent 
>> call last):
>> Sep 24 14:05:27 raspberrypi weewx[27767]: File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
>> Sep 24 14:05:27 raspberrypi weewx[27767]:   
>> fd.write(str(compiled_template))
>> Sep 24 14:05:27 raspberrypi weewx[27767]: File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in 
>> __str__
>> Sep 24 14:05:27 raspberrypi weewx[27767]:   rc = getattr(self, 
>> mainMethName)()
>> Sep 24 14:05:27 raspberrypi weewx[27767]: File 
>> "_etc_weewx_skins_Seasons_index_html_tmpl.py", line 216, in respond
>> Sep 24 14:05:27 raspberrypi weewx[27767]: File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1685, in 
>> _handleCheetahInclude
>> Sep 24 14:05:27 raspberrypi weewx[27767]:   file=file)
>> Sep 24 14:05:27 raspberrypi weewx[27767]: File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 772, in compile
>> Sep 24 14:05:27 raspberrypi weewx[27767]:   
>> settings=(compilerSettings or {}))
>> Sep 24 14:05:27 raspberrypi weewx[27767]: File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1708, in 
>> __init__
>> Sep 24 14:05:27 raspberrypi weewx[27767]:   source = 
>> unicode(source)
>> Sep 24 14:05:27 raspberrypi weewx[27767]:   UnicodeDecodeError: 
>> 'ascii' codec can't decode byte 0xc3 in position 1815: ordinal not in 
>> range(128)
>>
>>
>> El martes, 24 de septiembre de 2019, 13:49:13 (UTC+2), Thomas Keffer 
>> escribió:
>>>
>>> It sure would help if you showed us the log...
>>>
>>> On Tue, Sep 24, 2019 at 4:27 AM Kike .Asekas  wrote:
>>>
 I sorry. I don't know where is the problem. I remove all spanish 
 characters from skin.conf, index.html.tmpl and weewx.conf and I remove the 
 template and copy it again from the git repository and the error continues.

 El martes, 24 de septiembre de 2019, 12:54:09 (UTC+2), Kike .Asekas 
 escribió:
>
> I think is in skin.conf. I remove all spanish characters in the 
> template and the error continues. The template is index.html.tmpl
>
> El lunes, 23 de septiembre de 2019, 23:02:45 (UTC+2), Thomas Keffer 
> escribió:
>>
>> Is there error from a Spanish character in the template, or in 
>> skin.conf, or weewx.conf?
>>
>> Which template?
>>
>> Please include the log.
>>
>> -tk
>>
>> On Mon, Sep 23, 2019 at 10:46 AM Kike .Asekas  
>> wrote:
>>
>>> I get this error when I try using spanish characters (ñ,á,é,í,ó,ú). 
>>> I have #encoding UTF-8 in each page althougnt I get the error in a page 
>>> only and i have encoding = utf8 in [CheetahGenerator] in skin.conf.
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/1b478f7f-8c11-41f5-93dd-24bee5f39ff0%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 

Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Thomas Keffer
The problem is almost surely in the file
/etc/weewx/skins/Seasons/index.html.tmpl. Double check that the top of the
file include a #encoding directive:

## Copyright 2009-2018 Tom Keffer, Matthew Wall
## Distributed under terms of GPLv3.  See LICENSE.txt for your rights.
#errorCatcher Echo
##
## Specifying an encoding of UTF-8 is usually safe:
#encoding UTF-8
##


If it does, send me privately your copy of
/etc/weewx/skins/Seasons/index.html.tmpl,
/etc/weewx/skins/Seasons/skin.conf, and /etc/weewx/weewx.conf and I will
see if I can replicate the error. Obfuscate any passwords in weewx.conf.

-tk (tkef...@gmail.com)


On Tue, Sep 24, 2019 at 5:09 AM Kike .Asekas  wrote:

> cheetahgenerator: Generate failed with exception ' 'exceptions.UnicodeDecodeError'>'
> Sep 24 14:05:27 raspberrypi weewx[27767]: cheetahgenerator:  Ignoring
> template /etc/weewx/skins/Seasons/index.html.tmpl
> Sep 24 14:05:27 raspberrypi weewx[27767]: cheetahgenerator:  Reason:
> 'ascii' codec can't decode byte 0xc3 in position 1815: ordinal not in
> range(128)
> Sep 24 14:05:27 raspberrypi weewx[27767]:   Traceback (most recent
> call last):
> Sep 24 14:05:27 raspberrypi weewx[27767]: File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Sep 24 14:05:27 raspberrypi weewx[27767]: 
> fd.write(str(compiled_template))
> Sep 24 14:05:27 raspberrypi weewx[27767]: File
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in
> __str__
> Sep 24 14:05:27 raspberrypi weewx[27767]:   rc = getattr(self,
> mainMethName)()
> Sep 24 14:05:27 raspberrypi weewx[27767]: File
> "_etc_weewx_skins_Seasons_index_html_tmpl.py", line 216, in respond
> Sep 24 14:05:27 raspberrypi weewx[27767]: File
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1685, in
> _handleCheetahInclude
> Sep 24 14:05:27 raspberrypi weewx[27767]:   file=file)
> Sep 24 14:05:27 raspberrypi weewx[27767]: File
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 772, in compile
> Sep 24 14:05:27 raspberrypi weewx[27767]: 
> settings=(compilerSettings or {}))
> Sep 24 14:05:27 raspberrypi weewx[27767]: File
> "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1708, in
> __init__
> Sep 24 14:05:27 raspberrypi weewx[27767]:   source =
> unicode(source)
> Sep 24 14:05:27 raspberrypi weewx[27767]:   UnicodeDecodeError:
> 'ascii' codec can't decode byte 0xc3 in position 1815: ordinal not in
> range(128)
>
>
> El martes, 24 de septiembre de 2019, 13:49:13 (UTC+2), Thomas Keffer
> escribió:
>>
>> It sure would help if you showed us the log...
>>
>> On Tue, Sep 24, 2019 at 4:27 AM Kike .Asekas  wrote:
>>
>>> I sorry. I don't know where is the problem. I remove all spanish
>>> characters from skin.conf, index.html.tmpl and weewx.conf and I remove the
>>> template and copy it again from the git repository and the error continues.
>>>
>>> El martes, 24 de septiembre de 2019, 12:54:09 (UTC+2), Kike .Asekas
>>> escribió:

 I think is in skin.conf. I remove all spanish characters in the
 template and the error continues. The template is index.html.tmpl

 El lunes, 23 de septiembre de 2019, 23:02:45 (UTC+2), Thomas Keffer
 escribió:
>
> Is there error from a Spanish character in the template, or in
> skin.conf, or weewx.conf?
>
> Which template?
>
> Please include the log.
>
> -tk
>
> On Mon, Sep 23, 2019 at 10:46 AM Kike .Asekas 
> wrote:
>
>> I get this error when I try using spanish characters (ñ,á,é,í,ó,ú). I
>> have #encoding UTF-8 in each page althougnt I get the error in a page 
>> only
>> and i have encoding = utf8 in [CheetahGenerator] in skin.conf.
>>
>> --
>> 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...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/1b478f7f-8c11-41f5-93dd-24bee5f39ff0%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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/9b51bca4-22ac-4a2e-8525-2ada1ad7537e%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe 

Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Kike .Asekas
cheetahgenerator: Generate failed with exception ''
Sep 24 14:05:27 raspberrypi weewx[27767]: cheetahgenerator:  Ignoring 
template /etc/weewx/skins/Seasons/index.html.tmpl
Sep 24 14:05:27 raspberrypi weewx[27767]: cheetahgenerator:  Reason: 
'ascii' codec can't decode byte 0xc3 in position 1815: ordinal not in 
range(128)
Sep 24 14:05:27 raspberrypi weewx[27767]:   Traceback (most recent call 
last):
Sep 24 14:05:27 raspberrypi weewx[27767]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Sep 24 14:05:27 raspberrypi weewx[27767]:   
fd.write(str(compiled_template))
Sep 24 14:05:27 raspberrypi weewx[27767]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1045, in 
__str__
Sep 24 14:05:27 raspberrypi weewx[27767]:   rc = getattr(self, 
mainMethName)()
Sep 24 14:05:27 raspberrypi weewx[27767]: File 
"_etc_weewx_skins_Seasons_index_html_tmpl.py", line 216, in respond
Sep 24 14:05:27 raspberrypi weewx[27767]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1685, in 
_handleCheetahInclude
Sep 24 14:05:27 raspberrypi weewx[27767]:   file=file)
Sep 24 14:05:27 raspberrypi weewx[27767]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 772, in compile
Sep 24 14:05:27 raspberrypi weewx[27767]:   
settings=(compilerSettings or {}))
Sep 24 14:05:27 raspberrypi weewx[27767]: File 
"/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1708, in 
__init__
Sep 24 14:05:27 raspberrypi weewx[27767]:   source = unicode(source)
Sep 24 14:05:27 raspberrypi weewx[27767]:   UnicodeDecodeError: 'ascii' 
codec can't decode byte 0xc3 in position 1815: ordinal not in range(128)


El martes, 24 de septiembre de 2019, 13:49:13 (UTC+2), Thomas Keffer 
escribió:
>
> It sure would help if you showed us the log...
>
> On Tue, Sep 24, 2019 at 4:27 AM Kike .Asekas  > wrote:
>
>> I sorry. I don't know where is the problem. I remove all spanish 
>> characters from skin.conf, index.html.tmpl and weewx.conf and I remove the 
>> template and copy it again from the git repository and the error continues.
>>
>> El martes, 24 de septiembre de 2019, 12:54:09 (UTC+2), Kike .Asekas 
>> escribió:
>>>
>>> I think is in skin.conf. I remove all spanish characters in the template 
>>> and the error continues. The template is index.html.tmpl
>>>
>>> El lunes, 23 de septiembre de 2019, 23:02:45 (UTC+2), Thomas Keffer 
>>> escribió:

 Is there error from a Spanish character in the template, or in 
 skin.conf, or weewx.conf?

 Which template?

 Please include the log.

 -tk

 On Mon, Sep 23, 2019 at 10:46 AM Kike .Asekas  wrote:

> I get this error when I try using spanish characters (ñ,á,é,í,ó,ú). I 
> have #encoding UTF-8 in each page althougnt I get the error in a page 
> only 
> and i have encoding = utf8 in [CheetahGenerator] in skin.conf.
>
> -- 
> 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...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/1b478f7f-8c11-41f5-93dd-24bee5f39ff0%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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/9b51bca4-22ac-4a2e-8525-2ada1ad7537e%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/3d534392-8fea-4c0b-b357-d63126010a1f%40googlegroups.com.


Re: [weewx-user] Mqtt live data

2019-09-24 Thread K Weaver
Hey, I tried to add MaxSolar and screwed up my weewx.sdb

So I had to go back a few steps. For some reason now I cant get duckdns to
authenticate.

On Fri, Sep 20, 2019, 8:13 AM Eric Mears  wrote:

> It's still not working for me:
>
> WebSocket connection to 'ws://mosscrkmqtt.duckdns.org:9001/mqtt' failed:
> Error in connection establishment: net::ERR_ADDRESS_UNREACHABLE
>
>
> mosscrkmqtt.duckdns.org resolves
>
> $ dig mosscrkmqtt.duckdns.org
>
>
> ; <<>> DiG 9.10.6 <<>> mosscrkmqtt.duckdns.org
>
> ;; global options: +cmd
>
> ;; Got answer:
>
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13595
>
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
>
>
> ;; OPT PSEUDOSECTION:
>
> ; EDNS: version: 0, flags:; udp: 4000
>
> ;; QUESTION SECTION:
>
> ;mosscrkmqtt.duckdns.org. IN A
>
>
> ;; ANSWER SECTION:
>
> mosscrkmqtt.duckdns.org. 58 IN A 75.190.103.181
>
>
> ;; Query time: 154 msec
>
> ;; SERVER: 192.168.0.91#53(192.168.0.91)
>
> ;; WHEN: Wed Sep 18 07:01:49 PDT 2019
>
> ;; MSG SIZE  rcvd: 68
>
>
>
> but I can't open port 9001
>
>
>
> $ telnet mosscrkmqtt.duckdns.org 9001
>
> Trying 75.190.103.181...
>
> telnet: connect to address 75.190.103.181: Network is unreachable
>
> telnet: Unable to connect to remote host
>
>
>
>
> Can you confirm port 9001 is open to the outside world and is port
> forwarding to your weewx computer host?
>
>
>
> Eric
>
>
>
>
>
>
>
>
> On Tue, Sep 17, 2019 at 8:36 PM K Weaver  wrote:
>
>> Ok, problem solved. I put my dynamic DNS in the web socket host location
>> and it looks all good now.
>>
>> On Tue, Sep 17, 2019, 7:54 PM K Weaver  wrote:
>>
>>> The 162 IP may be my dynamic  dns...
>>>
>>> On Tue, Sep 17, 2019, 7:38 PM Eric Mears  wrote:
>>>
 I'm seeing this when I use the chrome debugger:

  mqttws31.min.js:36 WebSocket connection to 'ws://
 192.168.86.51:9001/mqtt' failed: Error in connection establishment:
 net::ERR_CONNECTION_TIMED_OUT


 I don't think  192.168.86.51 is right,  mosscreekweather.org is
 mapping to 162.241.244.37

 Did you open port 9001 to the outside world on your router?


 Eric


 On Tue, Sep 17, 2019 at 2:52 PM K Weaver  wrote:

> I have mqtt up and running with mo errors. 1883 for the port and 9001
> for the web socket.
>
> When Im home on the wifi I can connect and get the green flashing dot.
> Over the web outside my network it gets the pending connection message.
>
> I can post logs later if needed. I was hoping I was missing something
> simple.
>
> Mosscreekweather.org/weewx
>
> --
> 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/8e9d790d-75bd-4fea-b0b2-e34ce063%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/CACzmTWfW_feh2j-X3AsXu7CF2PxDGYeVO1iGz2XqNswLt0M0Eg%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/CAJ3%3D2yWV797-Vt5L-kW%3DpdudCmtPaB8qA5hOYr52SmGwZX73mA%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/CACzmTWcL6EwmCJ4CqstnN7peUq9HgfDzxYSb8LDoDgYS5342dQ%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 

Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Thomas Keffer
It sure would help if you showed us the log...

On Tue, Sep 24, 2019 at 4:27 AM Kike .Asekas  wrote:

> I sorry. I don't know where is the problem. I remove all spanish
> characters from skin.conf, index.html.tmpl and weewx.conf and I remove the
> template and copy it again from the git repository and the error continues.
>
> El martes, 24 de septiembre de 2019, 12:54:09 (UTC+2), Kike .Asekas
> escribió:
>>
>> I think is in skin.conf. I remove all spanish characters in the template
>> and the error continues. The template is index.html.tmpl
>>
>> El lunes, 23 de septiembre de 2019, 23:02:45 (UTC+2), Thomas Keffer
>> escribió:
>>>
>>> Is there error from a Spanish character in the template, or in
>>> skin.conf, or weewx.conf?
>>>
>>> Which template?
>>>
>>> Please include the log.
>>>
>>> -tk
>>>
>>> On Mon, Sep 23, 2019 at 10:46 AM Kike .Asekas  wrote:
>>>
 I get this error when I try using spanish characters (ñ,á,é,í,ó,ú). I
 have #encoding UTF-8 in each page althougnt I get the error in a page only
 and i have encoding = utf8 in [CheetahGenerator] in skin.conf.

 --
 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...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/weewx-user/1b478f7f-8c11-41f5-93dd-24bee5f39ff0%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/9b51bca4-22ac-4a2e-8525-2ada1ad7537e%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/CAPq0zECW6jZ3Xyg2sv3jiqwA6WmHKNS8rWbS%2BQYEjhWm03Z9%2BQ%40mail.gmail.com.


[weewx-user] Re: Belchertown skin 1.0 released!

2019-09-24 Thread Kike .Asekas
I have some small gaps in the graphics that I don't know because they 
appear since those records exist in the database.
What can they be due to?

[image: Screenshot_2019-09-24 Areal, Padrón Weather Conditions.png]



-- 
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/231950ff-48fe-482f-af71-b012c12f4225%40googlegroups.com.


Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Kike .Asekas
I sorry. I don't know where is the problem. I remove all spanish characters 
from skin.conf, index.html.tmpl and weewx.conf and I remove the template 
and copy it again from the git repository and the error continues.

El martes, 24 de septiembre de 2019, 12:54:09 (UTC+2), Kike .Asekas 
escribió:
>
> I think is in skin.conf. I remove all spanish characters in the template 
> and the error continues. The template is index.html.tmpl
>
> El lunes, 23 de septiembre de 2019, 23:02:45 (UTC+2), Thomas Keffer 
> escribió:
>>
>> Is there error from a Spanish character in the template, or in skin.conf, 
>> or weewx.conf?
>>
>> Which template?
>>
>> Please include the log.
>>
>> -tk
>>
>> On Mon, Sep 23, 2019 at 10:46 AM Kike .Asekas  wrote:
>>
>>> I get this error when I try using spanish characters (ñ,á,é,í,ó,ú). I 
>>> have #encoding UTF-8 in each page althougnt I get the error in a page only 
>>> and i have encoding = utf8 in [CheetahGenerator] in skin.conf.
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/1b478f7f-8c11-41f5-93dd-24bee5f39ff0%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/9b51bca4-22ac-4a2e-8525-2ada1ad7537e%40googlegroups.com.


Re: [weewx-user] 'ascii' codec can't decode byte 0xc3

2019-09-24 Thread Kike .Asekas
I think is in skin.conf. I remove all spanish characters in the template 
and the error continues. The template is index.html.tmpl

El lunes, 23 de septiembre de 2019, 23:02:45 (UTC+2), Thomas Keffer 
escribió:
>
> Is there error from a Spanish character in the template, or in skin.conf, 
> or weewx.conf?
>
> Which template?
>
> Please include the log.
>
> -tk
>
> On Mon, Sep 23, 2019 at 10:46 AM Kike .Asekas  > wrote:
>
>> I get this error when I try using spanish characters (ñ,á,é,í,ó,ú). I 
>> have #encoding UTF-8 in each page althougnt I get the error in a page only 
>> and i have encoding = utf8 in [CheetahGenerator] in skin.conf.
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/1b478f7f-8c11-41f5-93dd-24bee5f39ff0%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/9460682d-1b36-45a5-9ab6-d140aeb61b80%40googlegroups.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Andrew Milner
yes, but you would have been looking AFTER cheetah had abandoned its 
processing due to lack of space - so any partially written files would have 
been deleted by the time you came to have a look as cheetah shut down.

On Tuesday, 24 September 2019 12:25:49 UTC+3, Scott Grayban wrote:
>
> I increased the tmpfs size and that was it. I didn't associate the space 
> issue because I thought I had enough showing in free. 
>
>

-- 
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/f85f686f-3e30-4fcf-afe6-9b07f42015d1%40googlegroups.com.


Re: [weewx-user] Re: Weewx 3.9.2 and WMR200 crash: Non-positive value for record field 'interval': 0

2019-09-24 Thread Patrick J
Hi,

I am testing the new driver for almost 2 weeks now, and I am still getting 
frequent crashes, so this is not the solution to this problem.

On Tuesday, September 24, 2019 at 7:58:09 AM UTC+2, Björn Torkelsson wrote:
>
> Hi Thomas,
>
> I have the same problem as Patrick. Though I had no luck with the new 
> driver version you suggested him to try with. I get: 
>
> Sep 24 07:13:57 ripslinger weewx[17315]: engine: Starting up weewx version 
> 3.9.2
> Sep 24 07:13:59 ripslinger weewx[17315]: wmr200: MainThread: I 
> genStartup() Delaying archive packet processing until live packet received
> Sep 24 07:13:59 ripslinger weewx[17315]: wmr200: MainThread: I Time drift 
> between host and console in seconds:-361
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I 
> genStartup() Still receiving archive packets cnt:0 len:1
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Using pc 
> time adjusting archive record time by -361 sec 2019-09-21 13:08:00 CEST 
> (1569064080) => 2019-09-21 13:01:59 CEST (1569063719)
> Sep 24 07:14:00 ripslinger weewx[17315]: engine: Main loop exiting. 
> Shutting engine down.
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: Thread-2: I USB polling 
> device thread exiting
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I USB polling 
> thread expired
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: Thread-1: I Watchdog 
> received shutdown
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: Thread-1: I Watchdog 
> thread exiting
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Watchdog 
> thread expired
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Received 
> packet count live:1 archive:1 control:1
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Received 
> bytes:600 sent bytes:40
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Packet 
> archive queue len:0 live queue len:1
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: W Exiting 
> with packets still in live queue cnt:1
> Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Driver 
> gracefully exiting
> Sep 24 07:14:00 ripslinger weewx[17315]: engine: Caught unrecoverable 
> exception in engine:
> Sep 24 07:14:00 ripslinger weewx[17315]:   'WMR200' object has no 
> attribute 'wmr200'
> Sep 24 07:14:00 ripslinger weewx[17315]:   Traceback (most recent 
> call last):
> Sep 24 07:14:00 ripslinger weewx[17315]: File 
> "/usr/share/weewx/weewx/engine.py", line 894, in main
> Sep 24 07:14:00 ripslinger weewx[17315]:   engine.run()
> Sep 24 07:14:00 ripslinger weewx[17315]: File 
> "/usr/share/weewx/weewx/engine.py", line 160, in run
> Sep 24 07:14:00 ripslinger weewx[17315]:   
> self.dispatchEvent(weewx.Event(weewx.STARTUP))
> Sep 24 07:14:00 ripslinger weewx[17315]: File 
> "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
> Sep 24 07:14:00 ripslinger weewx[17315]:   callback(event)
> Sep 24 07:14:00 ripslinger weewx[17315]: File 
> "/usr/share/weewx/weewx/engine.py", line 520, in startup
> Sep 24 07:14:00 ripslinger weewx[17315]:   
> self._catchup(self.engine.console.genStartupRecords)
> Sep 24 07:14:00 ripslinger weewx[17315]: File 
> "/usr/share/weewx/weewx/engine.py", line 632, in _catchup
> Sep 24 07:14:00 ripslinger weewx[17315]:   for record in 
> generator(lastgood_ts):
> Sep 24 07:14:00 ripslinger weewx[17315]: File 
> "/usr/share/weewx/weewx/drivers/wmr200.py", line 1940, in genStartupRecords
> Sep 24 07:14:00 ripslinger weewx[17315]:   
> timestamp_packet_previous += self.wmr200.time_drift
> Sep 24 07:14:00 ripslinger weewx[17315]:   AttributeError: 
> 'WMR200' object has no attribute 'wmr200'
> Sep 24 07:14:00 ripslinger weewx[17315]:   Exiting.
>
> Den torsdag 12 september 2019 kl. 14:40:52 UTC+2 skrev Thomas Keffer:
>>
>> Hello, Patrick
>>
>> Can you try this version 
>> 
>>  
>> of the driver?
>>
>> On Tue, Sep 10, 2019 at 9:43 PM Patrick J  wrote:
>>
>>> Hi,
>>>
>>> Last night, weewx crashed again, exactly the same scenario. Any help 
>>> would be greatly appreciated.
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/f6b0c669-5b12-48c8-bd7b-f3abc5c6b5b3%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 

Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Scott Grayban
I increased the tmpfs size and that was it. I didn't associate the space 
issue because I thought I had enough showing in free. 

-- 
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/78a24dc5-f813-4107-905c-cf3f9f91f965%40googlegroups.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Glenn McKechnie
Thoughts...

/home/weewx/public_html is 20Meg in size, 13 Meg is used leaving 7~ish
for Belchertown and admin.
Is that enough for your setup (Here Belchertown takes 1.5 Meg)

I'm assuming by the Inode count that Public_html is in tmpfs?
Is there a size limit for tmpfs in /etc/default/tmpfs?

How large is the file that
/etc/weewx/skins/Highcharts_Belchertown/json/year.json.tmpl generates.

And, what happens if you point the html space to write to the physical
disc (temporarily). What happens then, what is the size of the
directory then (du -h)

Finally, if none of this is on a tmpfs, what does ' sudo dmeg ' say -
In particular, any write errors.

And the type of the weewx_html partition - ext4? Journal reservation
will take a chunk of that.




On 24/09/2019, Scott Grayban  wrote:
> Same thing...
>
> # wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
>
>
> Sep 24 00:47:42 weewx-pi wee_reports[4524]: cheetahgenerator:  Ignoring
>
> template /etc/weewx/skins/Highcharts_Belchertown/json/year.json.tmpl
> Sep 24 00:47:42 weewx-pi wee_reports[4524]: cheetahgenerator:  Reason:
> [
> Errno 28] No space left on device
> Sep 24 00:47:42 weewx-pi wee_reports[4524]:   Traceback (most recent
> call last):
> Sep 24 00:47:42 weewx-pi wee_reports[4524]: File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Sep 24 00:47:42 weewx-pi wee_reports[4524]:   fd.write(str(
> compiled_template))
> Sep 24 00:47:42 weewx-pi wee_reports[4524]:   IOError: [Errno 28] No
> space left on device
>
>
>
> It's only this one report
> --> /etc/weewx/skins/Highcharts_Belchertown/json/year.json.tmpl
> All the others generate and I have been working this error for weeks...
> just can't figure out why. Settings are all correct or all the report would
>
> be failing.
>
> On Tuesday, September 24, 2019 at 12:44:10 AM UTC-7, Andrew Milner wrote:
>>
>> just out of curiosity what happens if you stop weewx and run reports
>> manually using wee_reports??
>>
>>
>>
>> On Tuesday, 24 September 2019 10:03:34 UTC+3, Scott Grayban wrote:
>>>
>>> Oh and I also have mosquitto and apache running.
>>>
>>> I did a reboot again -- Maybe I can figure out why I am getting this
>>> error.. Seems to be untraceable at this point.
>>>
>>
>
> --
> 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/9c78c0f2-1735-4072-b9f9-b2992b0080a2%40googlegroups.com.
>


-- 


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

-- 
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/CAAraAzj3TR0FACWV%2BStNxLJzdo5eemNMcJ5yBJ%2BLt0Ag1baZTw%40mail.gmail.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Scott Grayban
Ok thanks.

-- 
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/7677bcfe-f016-4a83-bc31-31bad8adda12%40googlegroups.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Andrew Milner
perhaps you should speak directly to Pat if the issue is only with the 
Highcharts year plot of belchertown and see if he can reproduce the fault 
on his test systems.  That route is more likely to resolve the problem I 
would have thought.





On Tuesday, 24 September 2019 10:53:31 UTC+3, Scott Grayban wrote:
>
> Same thing...
>
> # wee_reports 
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
>
>
> Sep 24 00:47:42 weewx-pi wee_reports[4524]: cheetahgenerator:  
> Ignoring template /etc/weewx/skins/Highcharts_Belchertown/json/year.json.
> tmpl
> Sep 24 00:47:42 weewx-pi wee_reports[4524]: cheetahgenerator:  Reason: 
> [Errno 28] No space left on device
> Sep 24 00:47:42 weewx-pi wee_reports[4524]:   Traceback (most recent 
> call last):
> Sep 24 00:47:42 weewx-pi wee_reports[4524]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Sep 24 00:47:42 weewx-pi wee_reports[4524]:   fd.write(str(
> compiled_template))
> Sep 24 00:47:42 weewx-pi wee_reports[4524]:   IOError: [Errno 28] No 
> space left on device
>
>
>
> It's only this one report 
> --> /etc/weewx/skins/Highcharts_Belchertown/json/year.json.tmpl
> All the others generate and I have been working this error for weeks... 
> just can't figure out why. Settings are all correct or all the report would 
> be failing.
>
> On Tuesday, September 24, 2019 at 12:44:10 AM UTC-7, Andrew Milner wrote:
>>
>> just out of curiosity what happens if you stop weewx and run reports 
>> manually using wee_reports??
>>
>>
>>
>> On Tuesday, 24 September 2019 10:03:34 UTC+3, Scott Grayban wrote:
>>>
>>> Oh and I also have mosquitto and apache running.
>>>
>>> I did a reboot again -- Maybe I can figure out why I am getting this 
>>> error.. Seems to be untraceable at this point.
>>>
>>

-- 
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/003a1ba9-ed84-40f6-82c8-bf2be77ced34%40googlegroups.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Scott Grayban
Same thing...

# wee_reports 
Using configuration file /etc/weewx/weewx.conf
Generating for all time


Sep 24 00:47:42 weewx-pi wee_reports[4524]: cheetahgenerator:  Ignoring 
template /etc/weewx/skins/Highcharts_Belchertown/json/year.json.tmpl
Sep 24 00:47:42 weewx-pi wee_reports[4524]: cheetahgenerator:  Reason: [
Errno 28] No space left on device
Sep 24 00:47:42 weewx-pi wee_reports[4524]:   Traceback (most recent 
call last):
Sep 24 00:47:42 weewx-pi wee_reports[4524]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Sep 24 00:47:42 weewx-pi wee_reports[4524]:   fd.write(str(
compiled_template))
Sep 24 00:47:42 weewx-pi wee_reports[4524]:   IOError: [Errno 28] No 
space left on device



It's only this one report 
--> /etc/weewx/skins/Highcharts_Belchertown/json/year.json.tmpl
All the others generate and I have been working this error for weeks... 
just can't figure out why. Settings are all correct or all the report would 
be failing.

On Tuesday, September 24, 2019 at 12:44:10 AM UTC-7, Andrew Milner wrote:
>
> just out of curiosity what happens if you stop weewx and run reports 
> manually using wee_reports??
>
>
>
> On Tuesday, 24 September 2019 10:03:34 UTC+3, Scott Grayban wrote:
>>
>> Oh and I also have mosquitto and apache running.
>>
>> I did a reboot again -- Maybe I can figure out why I am getting this 
>> error.. Seems to be untraceable at this point.
>>
>

-- 
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/9c78c0f2-1735-4072-b9f9-b2992b0080a2%40googlegroups.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Andrew Milner
just out of curiosity what happens if you stop weewx and run reports 
manually using wee_reports??



On Tuesday, 24 September 2019 10:03:34 UTC+3, Scott Grayban wrote:
>
> Oh and I also have mosquitto and apache running.
>
> I did a reboot again -- Maybe I can figure out why I am getting this 
> error.. Seems to be untraceable at this point.
>

-- 
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/ceeb57a7-790e-4e76-855d-7bc55c340909%40googlegroups.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Scott Grayban
Oh and I also have mosquitto and apache running.

I did a reboot again -- Maybe I can figure out why I am getting this 
error.. Seems to be untraceable at this point.

-- 
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/41d09119-4a4d-4657-8dba-9f52433b839e%40googlegroups.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Scott Grayban
GPU is 64MB

No X running. Only weewx and hostapd running

# free -m 
  totalusedfree  shared  buff/cache   
available 
Mem:937 160 504  33 272 
693 
Swap:  1875   01875




On Monday, September 23, 2019 at 11:29:47 PM UTC-7, Andrew Milner wrote:
>
> looking at the error again - could it be out of memory rather than file 
> space??  As you are on a Pi have you tried adjusting graphics memory v cpu 
> memory sizes?  What size memory RPi are you using??  My Rpi3 gives
> MemTotal 927  Used 269  Free 177  Shared 54  Buff/cache 480  available 540
> swap total 99  used 0  free 99
>
> so i seem to have a lot more free memory available, but i do run headless 
> and only access via ssh - so have little need for graphics memory
>
>
>
>
> On Tuesday, 24 September 2019 08:06:50 UTC+3, Scott Grayban wrote:
>>
>> Not that either...
>>
>> # free -m
>>   totalusedfree  shared  buff/cache  
>>  available
>> Mem:874 512  95  54 266  
>>253
>> Swap:  1749 1061642
>>
>>

-- 
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/ad02532a-fcf9-468e-967a-9799efb799e2%40googlegroups.com.


Re: [weewx-user] No space left on device when generating Highcharts_Belchertown/json/year.json.tmpl

2019-09-24 Thread Andrew Milner
looking at the error again - could it be out of memory rather than file 
space??  As you are on a Pi have you tried adjusting graphics memory v cpu 
memory sizes?  What size memory RPi are you using??  My Rpi3 gives
MemTotal 927  Used 269  Free 177  Shared 54  Buff/cache 480  available 540
swap total 99  used 0  free 99

so i seem to have a lot more free memory available, but i do run headless 
and only access via ssh - so have little need for graphics memory




On Tuesday, 24 September 2019 08:06:50 UTC+3, Scott Grayban wrote:
>
> Not that either...
>
> # free -m
>   totalusedfree  shared  buff/cache  
>  available
> Mem:874 512  95  54 266
>  253
> Swap:  1749 1061642
>
>

-- 
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/d5997ae6-fdf2-4547-b96f-849a5671e9af%40googlegroups.com.