I looked at the code in weewx to instantiate search_list_extensions and I can’t 
readily see how there could be additional params passed to the initialization 
of user.forecast.ForecastVariables.

I would set debug=1 and post the logs so I and others could have a look.  Read 
up on how to post issues here: 
https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user

> On Jan 13, 2025, at 9:23 AM, John Kline <j...@johnkline.com> wrote:
> 
> And the answer to my first question:
> “ What changes have you made?” is?
> 
>> On Jan 13, 2025, at 8:09 AM, Dan Hinckley <d...@suiattle.org> 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 
>>>> <weewx-user@googlegroups.com> 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 <d...@suiattle.org> 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 weewx-user+unsubscr...@googlegroups.com.
>>>> 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 weewx-user+unsubscr...@googlegroups.com.
>>> 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 weewx-user+unsubscr...@googlegroups.com.
>> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/8B82F61A-58AA-477E-8E42-4251BB193068%40johnkline.com.

Reply via email to