Hello!
I am using weewx 3.9.2 (installed via rpm) on
leap 15.1 and a a little bit modified version
from niculskin (installed manually).
I manually installed highcharts from git
https://github.com/gjr80/weewx-highcharts
and do my best to follow the instruction on
https://github.com/gjr80/weewx-highcharts/wiki/User's-Guide
to get it run.
But it does not run. :(
My local weewx is at /usr/share/weewx, config
is at /etc/weewx, local "www" is at /var/www/htdocsweewx.
To /usr/share/weewx/user I put
highcharts.py
highcharts.pyc
To /etc/weewx/skins/Highcharts I put
json-dir, js-dir and skin.conf.
json-dir I put to /etc/weewx/skins/niculskin too, I do
not know, of there necessay too?
Dito I put the two js-files to /etc/weewx/skins/niculskin/js
In /etc/weewx/weewx.conf I add the stanzalines
for highcharts at StdReport form UserGuide.
There are only the lines
[[[CheetahGenerator]]]
[[[[ToDate]]]]
[[[[[YearJSON]]]]]
stale_age = 3600
no monthjson. Is it ok?
To /var/www/htdocs/weewx I put graphs.html
and check, that the relative path to js is ok.
I restart weewxd and with wee_reports I run
the reports.
If I check with journalctl -b | grep weewx
there is inside:
Mär 31 12:45:08 linux wee_reports[28082]: reportengine: Found configuration
file /etc/weewx/skins/Highcharts/skin.conf for report 'Highcharts'
Mär 31 12:45:08 linux wee_reports[28082]: cheetahgenerator: using search list
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras',
'user.highchartsSearchX.highchartsMinRanges',
'user.highchartsSearchX.highchartsWeek',
'user.highchartsSearchX.highchartsYear',
'user.highchartsSearchX.highchartsWindRose']
Mär 31 12:45:10 linux wee_reports[28082]: cheetahgenerator: **** Ignoring
template /etc/weewx/skins/Highcharts/json/week.json.tmpl
Mär 31 12:45:10 linux wee_reports[28082]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Mär 31 12:45:10 linux wee_reports[28082]: **** File
"_etc_weewx_skins_Highcharts_json_week_json_tmpl.py", line 371, in respond
Mär 31 12:45:11 linux wee_reports[28082]: cheetahgenerator: **** Ignoring
template /etc/weewx/skins/Highcharts/json/year.json.tmpl
Mär 31 12:45:11 linux wee_reports[28082]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Mär 31 12:45:11 linux wee_reports[28082]: **** File
"_etc_weewx_skins_Highcharts_json_year_json_tmpl.py", line 363, in respond
Mär 31 12:45:11 linux wee_reports[28082]: reportengine: Found configuration
file /etc/weewx/skins/niculskin/skin.conf for report 'StandardReport'
Mär 31 12:45:11 linux wee_reports[28082]: cheetahgenerator: using search list
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras',
'user.historygenerator.MyXSearch']
Mär 31 12:45:20 linux wee_reports[28082]: copygenerator: copied 11 files to
/var/www/htdocs/weewx
Mär 31 12:45:20 linux wee_reports[28082]: reportengine: Found configuration
file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Mär 31 12:45:27 linux wee_reports[28082]: ftpupload: Uploaded file
/RSS/weewx_rss.xml
But why does it ignore the json-files?
/var/www/htdocs/weewx/graphs.html
only shows the text from html. No plots.
How I can get it run?
Regards, Astrid
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/8f01193a-895d-4b58-aba5-5d0b699f6579%40googlegroups.com.