I’m getting the following error using Snapcraft 7.1.1:
$ snapcraft remote-build
No section: 'login.ubuntu.com'
Full execution log:
'/home/john/.cache/snapcraft/log/snapcraft-20220813-090317.996729.log'
I’m not sure when it stopped working for me. The log file contains:
$ cat /home/john/.cache/snapcraft/log/snapcraft-20220813-090317.996729.log
2022-08-13 09:03:17.997 Starting Snapcraft 7.1.1
2022-08-13 09:03:17.998 No section: 'login.ubuntu.com'
2022-08-13 09:03:17.999 Traceback (most recent call last):
2022-08-13 09:03:17.999 File "/snap/snapcraft/8053/lib/python3.8/site-packages/snapcraft/commands/store/_legacy_account.py", line 78, in _get_macaroons_from_conf
2022-08-13 09:03:17.999 root_macaroon_raw = conf.get(host, "macaroon")
2022-08-13 09:03:17.999 File "/snap/snapcraft/8053/usr/lib/python3.8/configparser.py", line 781, in get
2022-08-13 09:03:17.999 d = self._unify_values(section, vars)
2022-08-13 09:03:17.999 File "/snap/snapcraft/8053/usr/lib/python3.8/configparser.py", line 1149, in _unify_values
2022-08-13 09:03:17.999 raise NoSectionError(section) from None
2022-08-13 09:03:17.999 configparser.NoSectionError: No section: 'login.ubuntu.com'
2022-08-13 09:03:17.999 Full execution log:
'/home/john/.cache/snapcraft/log/snapcraft-20220813-090317.996729.log'
I couldn’t find anything in the release notes to help:
Anyone have any suggestions for what I might be doing wrong?
Thanks,
John