Gary, understood on all counts. My belief is that the copy generator will copy the newly generated files by the report generator. In this case, it's the 4 json files. This is how it's working in Belchertown 0.7, as well as in 0.8rc1,2,3. I don't think I need to explicitly specify
copy_always = *.json. If this were the case, then the Standard skin would have
copy_always = *.html - which is does not. Further, my skin would have been broken since 0.1.
Aside from all of that, I did perform an install with the install.py, and my syslog did return an error of a missing file. It doesn't seem to be related, but still something I just fixed in a recent commit.
Back to this issue: From an install using setup.py, I have installed the Belchertown skin using /home/weewx/bin/wee_extension --install. My weewx.conf is below:
[[Highcharts_Belchertown]]
HTML_ROOT = public_html/belchertown
skin = Highcharts_Belchertown
[[Belchertown]]
HTML_ROOT = public_html/belchertown
skin = Belchertown
Upon issuing a /home/weewx/bin/wee_reports, I get the following:
Nov 27 14:32:09 setuppy wee_reports[1473]: cheetahgenerator: Generated 4 files for report Highcharts_Belchertown in 2.52 seconds
Nov 27 14:32:09 setuppy wee_reports[1473]: copygenerator: copied 0 files to /home/weewx/public_html/belchertown
However, within /home/weewx/public_html/belchertown/json I have 4 json files with a timestamp of 14:32. So it seems it IS copying them, but it's saying it is NOT.
The charts on the website are updated as well.
And again at 9:40 (note my system is in UTC, so it shows 14:40):
Nov 27 14:40:18 setuppy weewx[1689]: cheetahgenerator: Generated 4 files for report Highcharts_Belchertown in 2.70 seconds
Nov 27 14:40:18 setuppy weewx[1689]: copygenerator: copied 0 files to /home/weewx/public_html/belchertown
root@setuppy:/home/weewx# ls -al /home/weewx/public_html/belchertown/json
total 3320
drwxr-xr-x 2 root root 4096 Nov 27 14:40 .
drwxr-xr-x 11 root root 4096 Nov 27 14:40 ..
-rw-r--r-- 1 root root 4150 Nov 27 14:40 day.json
-rw-r--r-- 1 root root 1035 Nov 27 14:32 earthquake.json
-rw-r--r-- 1 root root 14 Nov 27 14:40 index.html
-rw-r--r-- 1 root root 1961 Nov 27 14:40 month.json
-rw-r--r-- 1 root root 2157 Nov 27 14:40 week.json
-rw-r--r-- 1 root root 9995 Nov 27 14:40 weewx_data.json
-rw-r--r-- 1 root root 3353388 Nov 27 14:40 year.json
And the charts have updated as well for 9:40.
At this time I don't see anything wrong with Belchertown. Maybe a slight cosmetic bug with the output of the copygenerator?
Rich, when you see the archive interval run and it says 0 files copied, please confirm the timestamps on the files in bold above. Do they update?
If you have MQTT disabled on your Belchertown skin, you will need to refresh the page to see the updated charts.
Let me know what happens.