Should be fixed now. On Mon, Mar 13, 2023 at 6:29 AM Tom Keffer <[email protected]> wrote:
> Things got messed up when I moved resources back to their V4 positions in > an attempt to accommodate the package installers. I guess that didn't work > out! > > On Mon, Mar 13, 2023 at 12:35 AM Vince Skahan <[email protected]> > wrote: > >> I get the following on a clean debian 11 (in Docker) setup trying to do >> the initial station create: >> >> weewx@39d6376302ad:~$ weectl station create >> The configuration file will be created at >> /home/weewx/weewx-data/weewx.conf. >> Traceback (most recent call last): >> File "/home/weewx/.local/bin/weectl", line 8, in <module> >> sys.exit(main()) >> File "/home/weewx/.local/lib/python3.9/site-packages/weectl.py", line >> 45, in main >> namespace.func(namespace) >> File >> "/home/weewx/.local/lib/python3.9/site-packages/weectllib/parse_station.py", >> line 188, in create_station >> weecfg.station_config.station_create(config_path=namespace.config, >> File >> "/home/weewx/.local/lib/python3.9/site-packages/weecfg/station_config.py", >> line 66, in station_create >> with importlib.resources.open_text('wee_resources', 'weewx.conf', >> encoding='utf-8') as fd: >> File "/usr/lib/python3.9/importlib/resources.py", line 121, in open_text >> open_binary(package, resource), encoding=encoding, errors=errors) >> File "/usr/lib/python3.9/importlib/resources.py", line 91, in >> open_binary >> return reader.open_resource(resource) >> File "<frozen importlib._bootstrap_external>", line 995, in >> open_resource >> FileNotFoundError: [Errno 2] No such file or directory: >> '/home/weewx/.local/lib/python3.9/site-packages/wee_resources/weewx.conf' >> >> >> The problem does not exist on a20 but does on a21 and a22. For the >> moment I'm working around it by specifying weewx==5.0a20 to stick with the >> older alpha for testing. >> >> >> -- >> 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/73cc6f07-c6b9-433f-a6e1-bf605cac421cn%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-development/73cc6f07-c6b9-433f-a6e1-bf605cac421cn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/CAPq0zEDYekqqpbpPqk18jy_TFBXA9RqkNt%3DxLZyQ75%2Bb8f3b-A%40mail.gmail.com.
