Andrew

I was hoping that you weren't going to ask that.

During my investigations I changed a whole heap of things but I believe (ok 
don't laugh) that the root solution was the skin.conf swap.

I don't want you to waste your time in case it was one of those other 
things!!!

Paul

On Wednesday, 17 May 2017 10:25:34 UTC+1, Andrew Milner wrote:
>
> If you had post both skin.conf's we may have be able to help identify the 
> cause for you.
>
> So that was the only change you made to get it working again - stopped 
> weewx, swapped the skin.conf and restarted weewd -  no other changes to 
> anything??
>
>
> On Wednesday, 17 May 2017 12:20:48 UTC+3, Paul Carpenter wrote:
>
>> I realised that I needed to lake this more seriously and try and work out 
>> what was going on.
>>
>> Well that didn't work but what did was to revert to  my previous 
>> skin.conf and drop the vanilla skin.conf in 3.7.1
>>
>> I have no idea (from a visual inspection) why the new one didn't work in 
>> my  setup
>>
>> Sorry to waste your time 
>>
>> Paul
>>
>> On Saturday, 13 May 2017 12:38:54 UTC+1, gjr80 wrote:
>>>
>>> It's not clear to me exactly what the issue is; is dayhumidity.png 
>>> being generated or not. Arguably you could take "*I do have 
>>> dayhumidity.png in the html pages but it is not populated with data*" 
>>> to mean one of two things; either a plot devoid of data or a placeholder 
>>> with no image. I have seen no mention that the logs have been looked at yet 
>>> - do they show any errors; even if they don't have any errors a log extract 
>>> covering a couple of archive periods (along with the .conf files asked 
>>> for by Andrew) will clear up exactly what weeWx is generating and what it 
>>> is not.
>>>
>>> Gary
>>>
>>> On Saturday, 13 May 2017 21:09:43 UTC+10, Andrew Milner wrote:
>>>>
>>>> perhaps giving us an extract from your archive table together with the 
>>>> .conf and .skin you are using would help shed some light.
>>>>
>>>> if it was a units issue I would expect some errors in the log
>>>>
>>>> seeing the data which is trying to be plotted would certainly help to 
>>>> understand what may be happening!!
>>>>
>>>> is your site available to view?
>>>>
>>>>
>>>>
>>>>
>>>> On Saturday, 13 May 2017 13:18:42 UTC+3, Paul Carpenter wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> I do have data in all fields and it is being displayed in weekly, 
>>>>> monthly and yearly graphs.
>>>>>
>>>>> On day 1 I lost outHumidity and since then I have lost all other DAILY 
>>>>> graphs except rain and wind vector.
>>>>>
>>>>> Weekly still correct and up-to date
>>>>>
>>>>> I sort of suspect some sort of 'units' issue as I rebuilt the conf 
>>>>> file during the conversion but I don't understand how the weekly graph 
>>>>> would still be ok and up to date.
>>>>>
>>>>> The Units displaying in daily and weekly graphs are the same.
>>>>>
>>>>>
>>>>>
>>>>> Many thanks for your help
>>>>>
>>>>> Paul
>>>>>
>>>>> On Thursday, 11 May 2017 17:13:49 UTC+1, Andrew Milner wrote:
>>>>>>
>>>>>> what data do you have in the inHumidity and outHumidity fields in the 
>>>>>> database??? Note the caps in .conf are also required.
>>>>>>
>>>>>> On Thursday, 11 May 2017 15:25:14 UTC+3, Paul Carpenter wrote:
>>>>>>>
>>>>>>> I also rebuilt a new SD card (for a Pi) to transfer from Wheezy to 
>>>>>>> Jessie and used apt-get to install Weewx 3.7.1 (from 3.6.2 if I 
>>>>>>> remember 
>>>>>>> correctly)
>>>>>>>
>>>>>>> I do have dayhumidity.png in the html pages but it is not populated 
>>>>>>> with data.
>>>>>>>
>>>>>>> I do have the lines (shown by Tom above) in the skin.conf file for 
>>>>>>> Day, Week, Month and Year
>>>>>>>
>>>>>>> Also have the Weekly , Monthly and Yearly png files and these are 
>>>>>>> all populated and up to date.
>>>>>>>
>>>>>>> Any ideas appreciated
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, 3 May 2017 09:05:55 UTC+1, Nick Mason wrote:
>>>>>>>>
>>>>>>>> Tom, 
>>>>>>>>
>>>>>>>> thank you, those two lines of code were missing from skin.conf and 
>>>>>>>> from the backup. 
>>>>>>>>
>>>>>>>> Just to prove I wasn't going mad I put the original SD card back in 
>>>>>>>> the RPi and they are there! 
>>>>>>>>
>>>>>>>> I also had to add the code to the monthly and yearly sections, 
>>>>>>>> modified accordingly. 
>>>>>>>>
>>>>>>>> How they got removed from the backup I have no idea, it seems too 
>>>>>>>> specific for corruption during the backup but stranger things have 
>>>>>>>> happened
>>>>>>>>
>>>>>>>> Regards 
>>>>>>>> Nick
>>>>>>>>
>>>>>>>> On Tuesday, 2 May 2017 22:55:35 UTC+1, Tom Keffer wrote:
>>>>>>>>>
>>>>>>>>> If other images are being generated, but only the dayhumidity.png 
>>>>>>>>> image is missing, the problem must be in the skin.conf file. If you 
>>>>>>>>> did a 
>>>>>>>>> Debian install, it will be located in 
>>>>>>>>> /etc/weewx/skins/Standard/skin.conf
>>>>>>>>>
>>>>>>>>> The relevant section should look something like this:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>         ...
>>>>>>>>>         [[[daytempchill]]]
>>>>>>>>>             [[[[windchill]]]]
>>>>>>>>>             [[[[heatindex]]]]
>>>>>>>>>
>>>>>>>>>         [[[dayhumidity]]]
>>>>>>>>>             [[[[outHumidity]]]]
>>>>>>>>>
>>>>>>>>>         [[[dayrain]]]
>>>>>>>>>             # Make sure the y-axis increment is at least 0.02 for 
>>>>>>>>> the rain plot
>>>>>>>>>             yscale = None, None, 0.02
>>>>>>>>>             plot_type = bar
>>>>>>>>>             [[[[rain]]]]
>>>>>>>>>                 aggregate_type = sum
>>>>>>>>>                 aggregate_interval = 3600
>>>>>>>>>                 label = Rain (hourly total)
>>>>>>>>>         ...        
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, May 2, 2017 at 9:57 AM, Nick Mason <[email protected]> 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I've had a small but nagging problem for a while with my 
>>>>>>>>>> Raspberry Pi that runs weewx. When I try to upgrade rasbian I get an 
>>>>>>>>>> error 
>>>>>>>>>> message.
>>>>>>>>>>
>>>>>>>>>> I'm not sure if I get a partial upgrade or no upgrade following a;
>>>>>>>>>>
>>>>>>>>>> sudo apt-get update
>>>>>>>>>> sudo apt-get upgrade
>>>>>>>>>>
>>>>>>>>>> I finally got around to sorting it out by by creating a new 
>>>>>>>>>> MicroSD card with the latest rasbian image. I then decide that along 
>>>>>>>>>> with 
>>>>>>>>>> the latest OS that I'd do a fresh install of weewx as well and this 
>>>>>>>>>> time 
>>>>>>>>>> rather than do a manual download and install using setup.py I would 
>>>>>>>>>> install 
>>>>>>>>>> weewx via apt-get install weewx.
>>>>>>>>>>
>>>>>>>>>> All went well, it's a lot easier than the manual method and it 
>>>>>>>>>> worked as advertised. I then replaced the new database with the one 
>>>>>>>>>> from my 
>>>>>>>>>> backup and weewx dutifully brought it up to date. However, I noticed 
>>>>>>>>>> that 
>>>>>>>>>> the graphs on the web page were staggered and out of alignment and 
>>>>>>>>>> that 
>>>>>>>>>> this was because one of the graphs, Outside Humidity, is missing. 
>>>>>>>>>> All that 
>>>>>>>>>> shows is a small box with 'outside humidity' in it.
>>>>>>>>>>
>>>>>>>>>> I've had a look through the code and what should be displayed is 
>>>>>>>>>> the dayhumidity.png image. This image isn't being generated and does 
>>>>>>>>>> not 
>>>>>>>>>> appear in /var/www/html/weewx
>>>>>>>>>>
>>>>>>>>>> I've compared the new weewx.conf and skin.conf files with the 
>>>>>>>>>> backups I have from the older version and they look the same.
>>>>>>>>>>
>>>>>>>>>> Can someone point me at where the report is generated and the 
>>>>>>>>>> image file produced please so I can have a look at what's going on.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>> Nick
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>> 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.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>

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