While trying to get Skymap installed I'm running into this error:
Traceback (most recent call last):
File "/usr/share/weewx/weectl.py", line 85, in <module>
main()
~~~~^^
File "/usr/share/weewx/weectl.py", line 74, in main
namespace.func(namespace)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/share/weewx/weectllib/__init__.py", line 77, in dispatch
_do_dispatch(namespace)
~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/share/weewx/weectllib/__init__.py", line 109, in _do_dispatch
namespace.action_func(config_dict, namespace)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weectllib/report_cmd.py", line 93, in run_reports
weectllib.report_actions.run_reports(config_dict,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
epoch=namespace.epoch,
^^^^^^^^^^^^^^^^^^^^^^
report_date=namespace.date, report_time=namespace.time,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
reports=namespace.reports)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weectllib/report_actions.py", line 84, in run_reports
engine = weewx.engine.DummyEngine(config_dict)
File "/usr/share/weewx/weewx/engine.py", line 89, in __init__
self.loadServices(config_dict)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/share/weewx/weewx/engine.py", line 157, in loadServices
obj = weeutil.weeutil.get_object(svc)(self, config_dict)
File "/etc/weewx/bin/user/skymapalmanac.py", line 2394, in __init__
alm_conf_dict['Texts'] = self.process_language(config_dict,
alm_conf_dict.get('additional_localization_sources',['internal','Seasons']))
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/etc/weewx/bin/user/skymapalmanac.py", line 2475, in process_language
SkymapService._update_localization_from_skin(conf, skin_root, source, lang)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/etc/weewx/bin/user/skymapalmanac.py", line 2663, in
_update_localization_from_skin
conf['moon_phase_new_moon'] =
data.get('Almanac',dict()).get('moon_phases',[])[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Both Skymap and Skyfield are the same version 0.6. and installed via weectl
Per the instructions I've replaced the original celestial.inc with the new
one, added almanac.html.tmpl and skymap.html.tmpl to the Seasons skin
folder. Restarted weewx and ran sudo weectl report run and the error is as
show above.
Any suggestions as to what needs to be done? Other info needed?
Thanks for the help.
--
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/b363eed7-c450-4aee-b7b9-048e6a08faf1n%40googlegroups.com.