By the way, this isn’t my code, but I seem to be the maintainer of it now.

Dan’l, it would help to know if you have nulls for sun/moon rise/set, or nulls in the tides.  Do you have xtide installed?  Are you trying the new alamanac?

My guess is that $alm.sunrise.raw and friends are None.

If you are using the new almanac, try removing it and see if you still get errors.  Either way, get back to me.

As for xtide, if you are using it, tell me how you installed it.

On Jan 18, 2026, at 12:59 PM, John Kline <[email protected]> wrote:


Actually, you no longer have that error.  This one is in forecast_strip.inc

These values should probably not be None, but the code shouldn’t error on this.  I’ll send you a forecast_strip.inc shortly.

On Jan 18, 2026, at 12:15 PM, Dan Hinckley <[email protected]> wrote:


John,

Swapped that in, and we still seem to have the error. Do you need more info from me?

2026-01-18T15:06:01.851681-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: ERROR weewx.cheetahgenerator: ****    File "/home/house/weewx-venv/lib/python3.12/site-packages/weewx/cheetahgenerator.py", line 334, in generate
2026-01-18T15:06:01.851751-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
2026-01-18T15:06:01.851787-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: ERROR weewx.cheetahgenerator: ****                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-18T15:06:01.851843-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: ERROR weewx.cheetahgenerator: ****    File "_home_house_weewx_data_skins_forecast_single_strip_html_tmpl.py", line 110, in respond
2026-01-18T15:06:01.851882-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: ERROR weewx.cheetahgenerator: ****    File "/home/house/weewx-venv/lib/python3.12/site-packages/Cheetah/Template.py", line 1712, in _handleCheetahInclude
2026-01-18T15:06:01.851901-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
2026-01-18T15:06:01.851931-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: ERROR weewx.cheetahgenerator: ****    File "_home_house_weewx_data_skins_forecast_forecast_strip_inc.py", line 978, in respond
2026-01-18T15:06:01.851962-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: ERROR weewx.cheetahgenerator: ****  TypeError: '<' not supported between instances of 'int' and 'NoneType'
2026-01-18T15:06:02.021614-05:00 ubuntu-gnu-linux-24-04-3 weewxd[24104]: DEBUG user.purple: new_loop_packet(Event type: <class 'weewx.NEW_LOOP_PACKET'> | packet: {'dateTime': 1768766761, 'usUnits': 17, 'windSpeed': 0.73, 'windDir': 251})


On Jan 18, 2026, at 14:32, 'John Kline' via weewx-user <[email protected]> wrote:

Please skins/forecast/forecast_table.inc with the file attached and let me know how that works out.


--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/-67wc9q71UU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/3D7AB7A4-D654-4B30-84D1-103DDF004D2F%40johnkline.com.
<forecast_table.inc>


On Jan 18, 2026, at 10:47 AM, Dan'l B <[email protected]> wrote:


Running 5.2 in a venn on Ubuntu VM in Parallels, with Forecast extension 4 installed and it throws me the following error. I can go look at line 143 but am not sure how to cure the error.

2026-01-18T13:25:31.607940-05:00 ubuntu-gnu-linux-24-04-3 weewxd[14663]: ERROR weewx.cheetahgenerator: ****    File "_home_house_weewx_data_skins_forecast_multiple_tables_html_tmpl.py", line 143, in respond
2026-01-18T13:25:31.607998-05:00 ubuntu-gnu-linux-24-04-3 weewxd[14663]: ERROR weewx.cheetahgenerator: ****    File "/home/house/weewx-venv/lib/python3.12/site-packages/Cheetah/Template.py", line 1712, in _handleCheetahInclude
2026-01-18T13:25:31.608034-05:00 ubuntu-gnu-linux-24-04-3 weewxd[14663]: ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
2026-01-18T13:25:31.608073-05:00 ubuntu-gnu-linux-24-04-3 weewxd[14663]: ERROR weewx.cheetahgenerator: ****    File "_home_house_weewx_data_skins_forecast_forecast_table_inc.py", line 1178, in respond
2026-01-18T13:25:31.608130-05:00 ubuntu-gnu-linux-24-04-3 weewxd[14663]: ERROR weewx.cheetahgenerator: ****  TypeError: '<=' not supported between instances of 'int' and 'NoneType'


--
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/b96ba5a3-8541-488e-9f9f-0d190618ce1fn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/-67wc9q71UU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/3D7AB7A4-D654-4B30-84D1-103DDF004D2F%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/4A6B792A-28D2-4B86-8965-9D1B1E3C4F2D%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/32C5010A-D08A-48EE-8AEE-90549FC0A10B%40johnkline.com.

Reply via email to