minor V5 bug:
weewx:~ $ weectl station create —config=station1/weewx.conf
(using relative filename) creates everything fine except it sets WEEWX_HOME to
station1 in weewx.conf, so
weewx:~ $ weewxd —config=station1/weewx.conf
runs fine until it crashes when tries to generate a report:
ngen += self.generate(section[subsection], subsection, gen_ts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/home/weewx/venv/lib/python3.11/site-packages/weewx/cheetahgenerator.py", line
245, in generate
os.chdir(os.path.join(self.config_dict['WEEWX_ROOT'],
FileNotFoundError: [Errno 2] No such file or directory: 'station1/skins/Seasons'
i suggest either the weectl code converts the relative filename in —config= to
absolute filename for WEEWX_HOME, or change doc to say absolute pathname must
be specified
⊣GE⊢
--
You received this message because you are subscribed to the Google Groups
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-development/E8BA924C-8E40-46E5-BEE3-2D8F376BCE1F%40geddy.au.