In skin.conf:
> # [[[tidesgraphic]]]
> # template = tides-graphic.html.tmpl
In weewx.conf:
[Forecast]
data_binding = forecast_binding
[[XTide]]
location = "Cundy Harbor, New Meadows River, Casco Bay, Maine"
# How often to generate the tide forecast, in seconds
interval = 1209600
# The length of the time period for forecasts, in seconds
duration = 2419200
# How often to prune old tides from database, None to keep forever
#max_age = 2419200
[[Zambretti]]
hemisphere = NORTH
[[NWS]]
lid = MEZ024
foid = GYX
[[WU]]
api_key = "key_here"
[[Aeris]]
client_id = "id_here"
client_secret = "secret_here"
And in forecast.py, the location of^tide'
> XT_PROG = '/usr/local/bin/tide'
> On 13 Jan, 2025, at 12:23, 'John Kline' via weewx-user
> <[email protected]> wrote:
>
> And the answer to my first question:
> “ What changes have you made?” is?
>
>> On Jan 13, 2025, at 8:09 AM, Dan Hinckley <[email protected]> wrote:
>>
>> # configuration file for the forecast skin demonstration
>> # $Id: skin.conf 1780 2018-01-27 15:27:02Z mwall $
>>
>> [Extras]
>> version = 3.5
>>
>> # specify settings here or in the template that includes forecast_table.inc
>> # [[forecast_table_settings]]
>> # source = NWS
>> # num_periods = 72
>> # show_legend = 1
>> # show_hourly = 0
>> # show_day = 1
>> # show_date = 1
>> # show_outlook = 1
>> # show_temp = 1
>> # show_dewpoint = 0
>> # show_humidity = 0
>> # show_wind = 1
>> # show_tides = 1
>> # show_sun = 0
>> # show_moon = 0
>> # show_pop = 1
>> # show_precip = 1
>> # show_obvis = 1
>>
>> # specify settings here or in the template that includes forecast_strip.inc
>> # [[forecast_strip_settings]]
>> # source = Aeris
>> # num_periods = 300
>> # show_temp = 1
>> # show_temp_min = 1
>> # show_temp_max = 1
>> # show_dewpoint = 0
>> # show_humidity = 0
>> # show_wind = 1
>> # show_clouds = 1
>> # show_pop = 1
>> # show_snow = 1
>> # show_precip = 1
>> # show_sun = 0
>> # show_moon = 0
>> # show_moonphase = 0
>> # show_tides = 0
>>
>> # specify settings here or in the template that includes forecast_iconic.inc
>> # [[forecast_iconic_settings]]
>> # source = WU
>> # num_days = 7
>> # bar_size = 150
>> # orientation = vertical
>> # show_date = 0
>> # show_pop = 0
>> # show_precip = 1
>> # show_obvis = 1
>>
>> # specify settings here or in the template that includes forecast_compact.inc
>> # [[forecast_compact_settings]]
>> # source = WU
>> # num_days = 4
>> # show_wind = 1
>> # show_pop = 1
>> # show_precip = 1
>> # show_obvis = 1
>>
>> # Uncomment here or override in weewx.conf to display other units
>> #[Units]
>> # [[Groups]]
>> # group_altitude = meter
>> # group_degree_day = degree_C_day
>> # group_pressure = mbar
>> # group_radiation = watt_per_meter_squared
>> # group_rain = mm
>> # group_rainrate = mm_per_hour
>> # group_speed = meter_per_second
>> # group_speed2 = meter_per_second2
>> # group_temperature = degree_C
>>
>> [CheetahGenerator]
>> search_list_extensions = user.forecast.ForecastVariables
>> [[ToDate]]
>> [[[forecast]]]
>> template = index.html.tmpl
>> [[[table]]]
>> template = single-table.html.tmpl
>> [[[multitable]]]
>> template = multiple-tables.html.tmpl
>> [[[strip]]]
>> template = single-strip.html.tmpl
>> [[[stripvertical]]]
>> template = single-strip-vertical.html.tmpl
>> [[[multistrip]]]
>> template = multiple-strips.html.tmpl
>> [[[periods]]]
>> template = forecast-periods.html.tmpl
>> [[[zambretti]]]
>> template = zambretti.html.tmpl
>> [[[tides]]]
>> template = tides.html.tmpl
>> # [[[tidesgraphic]]]
>> # template = tides-graphic.html.tmpl
>> [[[iconic]]]
>> template = iconic.html.tmpl
>> [[[iconichorizontal]]]
>> template = iconic-horizontal.html.tmpl
>> [[[compact]]]
>> template = compact.html.tmpl
>>
>> [CopyGenerator]
>> copy_once = forecast.css, forecast_strip.css, forecast_iconic.css,
>> forecast_strip.css, forecast_table.css, forecast_compact.css, icons/*.png
>>
>> [Generators]
>> generator_list = weewx.cheetahgenerator.CheetahGenerator,
>> weewx.reportengine.CopyGenerator
>>
>>
>>> On 13 Jan, 2025, at 11:07, 'John Kline' via weewx-user
>>> <[email protected]> wrote:
>>>
>>> What changes have you made?
>>>
>>> Paste here the contents of skins/forecast/skin.conf
>>>
>>>>> On Jan 13, 2025, at 7:36 AM, Dan Hinckley <[email protected]> wrote:
>>>>
>>>> Can someone point me to what I have done (or not done) to cause the
>>>> forecasting extension v.3.5 to throw this error:
>>>>
>>>> Jan 13 06:35:17 kali-linux-2024-2 weewxd[3985574]: ERROR
>>>> weewx.reportengine: Unable to instantiate generator
>>>> 'user.forecast.ForecastVariables'
>>>> Jan 13 06:35:17 kali-linux-2024-2 weewxd[3985574]: ERROR
>>>> weewx.reportengine: **** ForecastVariables.__init__() takes 2
>>>> positional arguments but 7 were given
>>>> Jan 13 06:35:17 kali-linux-2024-2 weewxd[3985574]: ERROR
>>>> weewx.reportengine: **** Traceback (most recent call last):
>>>> Jan 13 06:35:17 kali-linux-2024-2 weewxd[3985574]: ERROR
>>>> weewx.reportengine: **** File
>>>> "/home/house/weewx-venv/lib/python3.12/site-packages/weewx/reportengine.py",
>>>> line 231, in run
>>>> Jan 13 06:35:17 kali-linux-2024-2 weewxd[3985574]: ERROR
>>>> weewx.reportengine: **** obj =
>>>> weeutil.weeutil.get_object(generator)(
>>>> Jan 13 06:35:17 kali-linux-2024-2 weewxd[3985574]: ERROR
>>>> weewx.reportengine: ****
>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> Jan 13 06:35:17 kali-linux-2024-2 weewxd[3985574]: ERROR
>>>> weewx.reportengine: **** TypeError: ForecastVariables.__init__()
>>>> takes 2 positional arguments but 7 were given
>>>> Jan 13 06:35:17 kali-linux-2024-2 python3[3985574]: Traceback (most recent
>>>> call last):
>>>> Jan 13 06:35:17 kali-linux-2024-2 python3[3985574]: File
>>>> "/home/house/weewx-venv/lib/python3.12/site-packages/weewx/reportengine.py",
>>>> line 231, in run
>>>> Jan 13 06:35:17 kali-linux-2024-2 python3[3985574]: obj =
>>>> weeutil.weeutil.get_object(generator)(
>>>> Jan 13 06:35:17 kali-linux-2024-2 python3[3985574]:
>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> Jan 13 06:35:17 kali-linux-2024-2 python3[3985574]: TypeError:
>>>> ForecastVariables.__init__() takes 2 positional arguments but 7 were given
>>>> Jan 13 06:35:17 kali-linux-2024-2 weewxd[3985574]: ERROR
>>>> weewx.reportengine: **** Generator ignored
>>>>
>>>> WeeWx 5.1
>>>> Kali Linux in Parallels VM
>>>> macOS Monterey
>>>> Forecasting v 3.5
>>>>
>>>> --
>>>> 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 visit
>>>> https://groups.google.com/d/msgid/weewx-user/4E97EF39-EEFB-4597-88E4-58FC6B3630E6%40suiattle.org.
>>>
>>> --
>>> 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 visit
>>> https://groups.google.com/d/msgid/weewx-user/ABF819F2-3B15-4E96-90A2-31E95B224385%40johnkline.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 [email protected].
>> To view this discussion visit
>> https://groups.google.com/d/msgid/weewx-user/8D24F162-8335-4F08-BCF2-373D56082527%40suiattle.org.
>
> --
> 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 visit
> https://groups.google.com/d/msgid/weewx-user/CE9B8599-F956-4B36-8B4F-63DA72AB5719%40johnkline.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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/0F6BF73A-7AF3-43B4-9771-6548953EC926%40suiattle.org.