-
Bug
-
Resolution: Fixed
-
Important (Ebuild)
-
None
-
None
-
None
-
impacts metro usability (setup is a replacement for "autosetup")
If you try to set up a build for an architecture which doesn't have a tarball available at https://build.funtoo.org/, the script will exit with the following message:
Traceback (most recent call last): File "/root/metro/./scripts/setup", line 414, in <module> main() File "/root/metro/./scripts/setup", line 372, in main create_file(c_path.joinpath("version", "stage3"), mirror_path, latest_build, owner=owner, group=group, dirmode=dirmode, mode=mode) File "/root/metro/./scripts/setup", line 88, in create_file f.write(contents) TypeError: write() argument must be str, not None
It would be better if the script at least issued a more informative message in this case, but ideally the user would get this message right in the curses interface and be allowed to choose a different architecture instead.