Tom - Curiously the dropdown appears to be on all pages EXCEPT Oggi - and all do not seem to work - not week, month or year - all of which seem to try and have the drop down Andrew
On Thursday, 12 October 2017 17:08:31 UTC+3, Mauro De Lauretis wrote: > Believe me, It worked with the same settings as know. > > I removed the select option from index.html because it was still the same > story. > > Find attached index.html and skin.conf > > Il giorno giovedì 12 ottobre 2017 15:56:40 UTC+2, Tom Keffer ha scritto: >> >> I found the website where the dropdown list is located. We could have >> solved this faster if you had posted its location. >> http://www.meteopineto.it/info.html >> >> The problem is that the page where the dropdown list is located was not >> generated by the skin.conf file, so it has no knowledge of what months were >> generated. There is no magic here where the Javascript has some knowledge >> about what files are available. >> >> Put the dropdown list in the "Oggi" page, >> http://www.meteopineto.it/index.html, and I suspect all will be well. >> >> I doubt it ever worked. >> >> -tk >> >> On Thu, Oct 12, 2017 at 5:40 AM, Mauro De Lauretis <[email protected] >> > wrote: >> >>> @Andrew: yes, there is a reason. I wrongly copied twice the same line. >>> >>> @Tom: >>> >>> 1) That's what I have in my weewx.conf: >>> >>> # Where the generated reports should go, relative to WEEWX_ROOT >>> HTML_ROOT = public_html >>> >>> I did not rember that if I changed it on myself.. >>> >>> 2) in my index.html the > <select> option is still the original one, but >>> javascript does not work. My orginal tables are on: >>> http://www.meteopineto.it/NOAA/NOAA-2017.txt (example). >>> >>> 3) It is very strange, I never changed something, but only included the >>> forecast extension. >>> >>> >>> >>> Greetings >>> >>> >>> Il giorno giovedì 12 ottobre 2017 13:43:27 UTC+2, Tom Keffer ha scritto: >>>> >>>> For the most part, this looks normal, although you did not post from >>>> the startup of weewx, so we cannot see all the configuration information. >>>> >>>> Things to try: >>>> >>>> - HTML files are being put in /etc/weewx/public_html, which is a >>>> non-standard location. Did you change this in weewx.conf? >>>> - You say the problem is that the NOAA dropdown is not populated >>>> any longer. If you look inside the generated file, index.html, do you >>>> see >>>> any options in the <select> list? Can you either post the generated >>>> file, >>>> or point us to a website that displays it? >>>> - There are a lot of non-standard things in your template and in >>>> your skin.conf file, so it's very hard to diagnose. You may have to >>>> pare >>>> things down to the minimum to see where the problem is. >>>> >>>> Regards, >>>> >>>> -tk >>>> >>>> On Thu, Oct 12, 2017 at 3:39 AM, Andrew Milner <[email protected]> >>>> wrote: >>>> >>>>> Is there a reason why the log file repeats itself - the entries from >>>>> 12:05:16 - 12:05:18 appear to be duplicated >>>>> >>>>> >>>>> >>>>> >>>>> On Thursday, 12 October 2017 13:09:02 UTC+3, Mauro De Lauretis wrote: >>>>> >>>>>> Following my log file as requested: >>>>>> >>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.engine.StdArchive* >>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Archive will use >>>>>> data binding wx_binding* >>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Record generation >>>>>> will be attempted in 'hardware'* >>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Using archive >>>>>> interval of 300 seconds (specified by hardware)* >>>>>> *Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Use LOOP data in >>>>>> hi/low calculations: 1* >>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: manager: Daily summary >>>>>> version is 1.0* >>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Using binding >>>>>> 'wx_binding' to database 'weewx'* >>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: manager: Starting backfill >>>>>> of daily summaries* >>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.engine.StdArchive* >>>>>> *Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Loading service >>>>>> user.forecast.ZambrettiForecast* >>>>>> *Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> Zambretti: forecast version 3.2.14* >>>>>> *Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> Zambretti: last forecast issued 2017-10-12 09:00:00 CEST (1507791600), >>>>>> requested 2017-10-12 09:00:00 CEST (1507791600)* >>>>>> *Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> Zambretti: interval=600 max_age=604800 winddir_period=1800 >>>>>> pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 >>>>>> upper_pressure=1050.0* >>>>>> *Oct 12 12:03:15 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service user.forecast.ZambrettiForecast* >>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Loading service >>>>>> user.forecast.NWSForecast* >>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: >>>>>> forecast version 3.2.14* >>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: >>>>>> location ID (lid) is not specified* >>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: >>>>>> forecast office ID (foid) is not specified* >>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: >>>>>> forecast will not be run* >>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service user.forecast.NWSForecast* >>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Loading service >>>>>> user.forecast.WUForecast* >>>>>> *Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: WU: >>>>>> forecast version 3.2.14* >>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: WU: >>>>>> last forecast issued 2017-10-12 09:05:18 CEST (1507791918), requested >>>>>> 2017-10-12 09:05:18 CEST (1507791918)* >>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: WU: >>>>>> interval=10800 max_age=604800 api_key=XXXXXXXXXXXXc450 >>>>>> location=42.63468170,14.04046631 fc=hourly10day* >>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service user.forecast.WUForecast* >>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: engine: Loading service >>>>>> user.forecast.OWMForecast* >>>>>> *Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: OWM: >>>>>> forecast version 3.2.14* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: OWM: >>>>>> API key (api_key) is not specified* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: OWM: >>>>>> forecast will not be run* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service user.forecast.OWMForecast* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Loading service >>>>>> user.forecast.UKMOForecast* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> UKMO: forecast version 3.2.14* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> UKMO: API key (api_key) is not specified* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> UKMO: location is not specified* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> UKMO: forecast will not be run* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service user.forecast.UKMOForecast* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Loading service >>>>>> user.forecast.AerisForecast* >>>>>> *Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> Aeris: forecast version 3.2.14* >>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> Aeris: client identifier (client_id) is not specified* >>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> Aeris: client secret (client_secret) is not specified* >>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> Aeris: forecast will not be run* >>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service user.forecast.AerisForecast* >>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: engine: Loading service >>>>>> user.forecast.WWOForecast* >>>>>> *Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: WWO: >>>>>> forecast version 3.2.14* >>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: WWO: >>>>>> API key (api_key) is not specified* >>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: WWO: >>>>>> forecast will not be run* >>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service user.forecast.WWOForecast* >>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: engine: Loading service >>>>>> user.forecast.XTideForecast* >>>>>> *Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> XTide: forecast version 3.2.14* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> XTide: location (location) has not been specified* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> XTide: forecast will not be run* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service user.forecast.XTideForecast* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.restx.StdStationRegistry* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: StationRegistry: >>>>>> Station will be registered.* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.restx.StdStationRegistry* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.restx.StdWunderground* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: Wunderground-RF: >>>>>> Data for station IABRUZZO65 will be posted* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.restx.StdWunderground* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.restx.StdPWSweather* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: PWSweather: Posting >>>>>> not enabled.* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.restx.StdPWSweather* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.restx.StdCWOP* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: CWOP: Posting not >>>>>> enabled.* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.restx.StdCWOP* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.restx.StdWOW* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: WOW: Posting not >>>>>> enabled.* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.restx.StdWOW* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.restx.StdAWEKAS* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: restx: AWEKAS: Posting not >>>>>> enabled.* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.restx.StdAWEKAS* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.engine.StdPrint* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.engine.StdPrint* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service >>>>>> weewx.engine.StdReport* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading >>>>>> service weewx.engine.StdReport* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Starting up weewx >>>>>> version 3.7.1* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of >>>>>> console successful* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Clock error is >>>>>> -0.50 seconds (positive is fast)* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Getting archive >>>>>> packets since 2017-10-12 12:00:00 CEST (1507802400)* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of >>>>>> console successful* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: manager: Daily summary >>>>>> version is 1.0* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Retrieving 0 >>>>>> page(s); starting index= 0* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Starting main >>>>>> packet loop.* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of >>>>>> console successful* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Requesting 200 >>>>>> LOOP packets.* >>>>>> *Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of >>>>>> console successful* >>>>>> *Oct 12 12:05:15 raspberrypi weewx[26450]: vantage: Retrieving 1 >>>>>> page(s); starting index= 2* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: manager: Added record >>>>>> 2017-10-12 12:05:00 CEST (1507802700) to database 'weewx'* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: manager: Added record >>>>>> 2017-10-12 12:05:00 CEST (1507802700) to daily summary in 'weewx'* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: MainThread: >>>>>> Zambretti: starting thread* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: MainThread: WU: >>>>>> not yet time to do the forecast* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: generating forecast for 2017-10-12 09:00:00 CEST (1507791600)* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: using winddir from 2017-10-12 08:30:00 CEST (1507789800) to >>>>>> 2017-10-12 09:00:00 CEST (1507791600)* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: using pressure from 2017-10-12 06:00:00 CEST (1507780800) to >>>>>> 2017-10-12 09:00:00 CEST (1507791600)* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: vantage: DMPAFT complete: >>>>>> page timestamp 2017-10-03 14:50:00 CEST (1507035000) less than final >>>>>> timestamp 2017-10-12 12:05:00 CEST (1507802700)* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Catch up >>>>>> complete.* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running >>>>>> reports for latest time in the database.* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running >>>>>> report StandardReport* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Requesting 200 >>>>>> LOOP packets.* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Daily summary >>>>>> version is 1.0* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: gentle wake up of >>>>>> console successful* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: units=16 winddir=224.444850458 pressure=1021.98265865 >>>>>> first_p=1021.50398811 last_p=1021.50398811* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: pressure=1021.98265865 month=9 winddir=9 trend=0.0 north=True* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: code is E* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: generated 1 forecast record* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: saving 1 forecast records* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Added record >>>>>> 2017-10-12 12:05:00 CEST (1507802700) to database 'forecast'* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: saved 1 forecast records* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: deleting forecasts prior to 1507197917* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: restx: StationRegistry: >>>>>> Failed to publish record 2017-10-12 12:05:00 CEST (1507802700): FAIL: >>>>>> execute failed: database disk image is malformed* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: reportengine: Found >>>>>> configuration file /etc/weewx/skins/Standard/skin.conf for report >>>>>> StandardReport* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: cheetahgenerator: using >>>>>> search list ['weewx.cheetahgenerator.Almanac', >>>>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', >>>>>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', >>>>>> 'weewx.cheetahgenerator.Extras', 'user.stats.MyStats', >>>>>> 'user.forecast.ForecastVariables']* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: manager: Daily summary >>>>>> version is 1.0* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: deleted forecasts prior to 1507197917* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: terminating thread* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: using winddir from 2017-10-12 08:30:00 CEST (1507789800) to >>>>>> 2017-10-12 09:00:00 CEST (1507791600)* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: using pressure from 2017-10-12 06:00:00 CEST (1507780800) to >>>>>> 2017-10-12 09:00:00 CEST (1507791600)* >>>>>> *Oct 12 12:05:16 raspberrypi weewx[26450]: vantage: DMPAFT complete: >>>>>> page timestamp 2017-10-03 14:50:00 CEST (1507035000) less than final >>>>>> timestamp 2017-10-12 12:05:00 CEST (1507802700)* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Catch up >>>>>> complete.* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running >>>>>> reports for latest time in the database.* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running >>>>>> report StandardReport* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Requesting 200 >>>>>> LOOP packets.* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Daily summary >>>>>> version is 1.0* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: gentle wake up of >>>>>> console successful* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: units=16 winddir=224.444850458 pressure=1021.98265865 >>>>>> first_p=1021.50398811 last_p=1021.50398811* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: pressure=1021.98265865 month=9 winddir=9 trend=0.0 north=True* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: code is E* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: generated 1 forecast record* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: saving 1 forecast records* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Added record >>>>>> 2017-10-12 12:05:00 CEST (1507802700) to database 'forecast'* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: saved 1 forecast records* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: deleting forecasts prior to 1507197917* >>>>>> *Oct 12 12:05:17 raspberrypi weewx[26450]: restx: StationRegistry: >>>>>> Failed to publish record 2017-10-12 12:05:00 CEST (1507802700): FAIL: >>>>>> execute failed: database disk image is malformed* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: reportengine: Found >>>>>> configuration file /etc/weewx/skins/Standard/skin.conf for report >>>>>> StandardReport* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: cheetahgenerator: using >>>>>> search list ['weewx.cheetahgenerator.Almanac', >>>>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', >>>>>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', >>>>>> 'weewx.cheetahgenerator.Extras', 'user.stats.MyStats', >>>>>> 'user.forecast.ForecastVariables']* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: manager: Daily summary >>>>>> version is 1.0* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: deleted forecasts prior to 1507197917* >>>>>> *Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: >>>>>> Zambretti: terminating thread* >>>>>> *Oct 12 12:06:22 raspberrypi weewx[26450]: cheetahgenerator: >>>>>> Generated 9 files for report StandardReport in 64.23 seconds* >>>>>> *Oct 12 12:06:22 raspberrypi weewx[26450]: manager: Daily summary >>>>>> version is 1.0* >>>>>> *Oct 12 12:06:31 raspberrypi weewx[26450]: imagegenerator: Generated >>>>>> 12 images for StandardReport in 9.17 seconds* >>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: copygenerator: copied 86 >>>>>> files to /etc/weewx/public_html* >>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: reportengine: Running >>>>>> report forecast* >>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: reportengine: Found >>>>>> configuration file /etc/weewx/skins/forecast/skin.conf for report >>>>>> forecast* >>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: cheetahgenerator: using >>>>>> search list ['weewx.cheetahgenerator.Almanac', >>>>>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', >>>>>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', >>>>>> 'weewx.cheetahgenerator.Extras', 'user.forecast.ForecastVariables']* >>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: manager: Daily summary >>>>>> version is 1.0* >>>>>> *Oct 12 12:06:32 raspberrypi weewx[26450]: cheetahgenerator: >>>>>> Generated 0 files for report forecast in 0.11 seconds* >>>>>> *Oct 12 12:06:34 raspberrypi dhcpcd[407]: eth0: Router Advertisement >>>>>> from fe80::9e97:26ff:fe62:7e7a* >>>>>> *Oct 12 12:06:34 raspberrypi weewx[26450]: copygenerator: copied 87 >>>>>> files to /etc/weewx/public_html/forecast* >>>>>> *Oct 12 12:06:34 raspberrypi weewx[26450]: reportengine: Running >>>>>> report FTP* >>>>>> *Oct 12 12:06:34 raspberrypi weewx[26450]: reportengine: Found >>>>>> configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP* >>>>>> *Oct 12 12:06:34 raspberrypi weewx[26450]: ftpupload: Attempting >>>>>> connection to ftp.meteopineto.it <http://ftp.meteopineto.it>* >>>>>> >>>>>> Il giorno mercoledì 11 ottobre 2017 15:10:18 UTC+2, Tom Keffer ha >>>>>> scritto: >>>>>>> >>>>>>> Well, perhaps the error was caused by copying from the RPi to >>>>>>> Windows. >>>>>>> >>>>>>> In any case, we still have not seen a log file. Set debug=1, restart >>>>>>> weewx, then post the log from startup to the first report generation. >>>>>>> >>>>>>> -tk >>>>>>> >>>>>>> On Wed, Oct 11, 2017 at 5:52 AM, Mauro De Lauretis < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Thanks for your reply Tom, I will have a look at it as soon as I >>>>>>>> can, but It seems strange because I didn't get the error you posted me, >>>>>>>> >>>>>>>> >>>>>>>> Il giorno martedì 10 ottobre 2017 14:19:35 UTC+2, Tom Keffer ha >>>>>>>> scritto: >>>>>>>>> >>>>>>>>> When I try your template (renamed as index.html.tmpl) and your >>>>>>>>> skin configuration (renamed as skin.conf), I get this error: >>>>>>>>> >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: Generate >>>>>>>>> failed with exception '<type 'exceptions.UnicodeDecodeError'>' >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: **** >>>>>>>>> Ignoring template /home/weewx/skins/Standard/index.html.tmpl >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: **** >>>>>>>>> Reason: 'utf8' codec can't decode byte 0xe0 in position 12436: >>>>>>>>> invalid >>>>>>>>> continuation byte >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** Traceback (most >>>>>>>>> recent call last): >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** File >>>>>>>>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 327, in generate >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** >>>>>>>>> filtersLib=weewx.cheetahgenerator) >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** File >>>>>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in >>>>>>>>> __init__ >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** >>>>>>>>> self._compile(source, file, compilerSettings=compilerSettings) >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** File >>>>>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in >>>>>>>>> _compile >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** >>>>>>>>> keepRefToGeneratedCode=True) >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** File >>>>>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 740, in >>>>>>>>> compile >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** >>>>>>>>> settings=(compilerSettings or {})) >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** File >>>>>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1577, in >>>>>>>>> __init__ >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** source = >>>>>>>>> source.decode(encoding) >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** File >>>>>>>>> "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** return >>>>>>>>> codecs.utf_8_decode(input, errors, True) >>>>>>>>> Oct 10 05:08:09 nuc wee_reports[15923]: **** UnicodeDecodeError: >>>>>>>>> 'utf8' codec can't decode byte 0xe0 in position 12436: invalid >>>>>>>>> continuation >>>>>>>>> byte >>>>>>>>> >>>>>>>>> These errors can be difficult to find. You'll have to go through >>>>>>>>> your file index.html.tmpl carefully, By deleting parts of the file, >>>>>>>>> the >>>>>>>>> bad UTF-8 characters appears to be in the line >>>>>>>>> >>>>>>>>> <i><b>Nota:</b> Le immagini sono riprese e trasmesse ad una >>>>>>>>> distanza tale da non permettere il riconoscimento dei tratti somatici >>>>>>>>> delle >>>>>>>>> persone, così come previsto dalla vigente normativa sulla privacy.</i> >>>>>>>>> >>>>>>>>> but I cannot be sure. There are a lot of scripts, styles, and >>>>>>>>> classes that I don't recognize in your report, so I'm afraid I cannot >>>>>>>>> help >>>>>>>>> you much. >>>>>>>>> >>>>>>>>> -tk >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Oct 10, 2017 at 4:00 AM, Mauro De Lauretis < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> What kind of bad character did you mean? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Il giorno martedì 22 agosto 2017 16:13:20 UTC+2, Tom Keffer ha >>>>>>>>>> scritto: >>>>>>>>>>> >>>>>>>>>>> It's hard to do an evaluation without a log file. >>>>>>>>>>> >>>>>>>>>>> The file you included, index.txt, has a bad character in it that >>>>>>>>>>> does not encode with UTF-8. That could be the problem, but it's >>>>>>>>>>> hard to >>>>>>>>>>> tell without the log. >>>>>>>>>>> >>>>>>>>>>> Also, why is it named index.txt instead of index.html.tmpl? >>>>>>>>>>> >>>>>>>>>>> -tk >>>>>>>>>>> >>>>>>>>>>> On Tue, Aug 22, 2017 at 1:51 AM, Mauro De Lauretis < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> Up! >>>>>>>>>>>> >>>>>>>>>>>> Nobody can help me to find a solution? >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> 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. >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>> 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. >>>>> >>>> >>>> -- >>> 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.
