One user tried to install weewx-DWD <https://github.com/roe-dl/weewx-DWD> into
an WeeWX installation made by pip. The error messages refer to files of
core WeeWX:
(weewx-venv) user@pc:~$ sudo weectl extension install weewx-dwd.zip
[sudo] Passwort für user:
Error parsing config file: Unable to find file 'weewx.conf'. Tried
directories ['/root/weewx-data', '/etc/weewx', '/home/weewx']
Traceback (most recent call last):
File "/usr/share/weewx/weeutil/startup.py", line 86, in start_app
config_path, config_dict = weecfg.read_config(config_option, [config_arg])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weecfg/*init*.py", line 147, in read_config
config_path = find_file(option_path, args, locations=locations,
file_name=file_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weecfg/*init*.py", line 104, in find_file
raise OSError(f"Unable to find file '{file_name}'. Tried directories
{locations}")
OSError: Unable to find file 'weewx.conf'. Tried directories
['/root/weewx-data', '/etc/weewx', '/home/weewx']
I have no glue what happens there. The messages say, that weewx.conf could
not be found. Looking for that file is not part of install.py.
Unfortunately I cannot try the installation myself actually. And I have no
experience with weewx-venv.
See install.py <https://github.com/roe-dl/weewx-DWD/blob/master/install.py>
here.
There is a configure() method in this case, which is not widely used. But
there is no reference to weewx.conf in it. I would have expected that the
copying and linking in it may fail within a virtual environment, but the
error messages say otherwise.
--
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 on the web visit
https://groups.google.com/d/msgid/weewx-user/91c18ebb-c9b1-4bdf-b1b6-8e6224e4d537n%40googlegroups.com.