Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/archinstall/__init__.py", line 329, in run_as_a_module
main()
File "/usr/lib/python3.11/site-packages/archinstall/__init__.py", line 324, in main
importlib.import_module(mod_name)
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 256, in <module>
perform_installation(archinstall.storage.get('MOUNT_POINT', Path('/mnt')))
File "/usr/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 118, in perform_installation
with Installer(
File "/usr/lib/python3.11/site-packages/archinstall/lib/installer.py", line 109, in __exit__
raise exc_val
File "/usr/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 133, in perform_installation
installation.generate_key_files()
File "/usr/lib/python3.11/site-packages/archinstall/lib/installer.py", line 265, in generate_key_files
part_mod.safe_dev_path,
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/device_model.py", line 716, in safe_dev_path
raise ValueError('Device path was not set')
ValueError: Device path was not set
Steps to reproduce
archinstall
Use a best-effort default partition layout
/dev/sda
entry and press enterext4
Encryption password
Partitions
<- Back
Use a best-effort default partition layout
/dev/sda
entry selected and press enterext4
Add a user
Confirm and exit
Install
Debugging
It looks like the
disk_encryption
configuration refers to a partitionobj_id
that is not present in thepartitions
array.Log
Full log
Disk configs
Backtrace
Version
2.7.1