Traceback (most recent call last):
File "/usr/bin/archinstall", line 8, in <module> sys.exit(run_as_a_module())
File "/usr/lib/python3.10/site-packages/archinstall/__init__.py",line 312, in run_as_a_module script.execute()
File "/usr/lib/python3.10/site-packages/archinstall/lib/profiles.py",line 195, in execute
self.spec.loader.exec_module(sys.modules[self.namespace])
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib. bootstrap>", line 241, in _call_with_frames_remoued
File "/usr/lib/python3.10/site-packages/archinstall/examples/guided.py", line 293, in <module> config_output
= ConfigurationOutput(archinstall.arguments)
File "/usr/lib/python3.10/site-packages/archinstall/lib/configuration.py",line 49, in__init__ self.process_config()
File "/usr/lib/python3.10/site-packages/archinstall/lib/configuration.py",line 75, in__process_config
self._user_credentials['encryption_password'] = self. _config[key].encryption_password
AttributeError: 'NoneType' object has no attribute 'encryption_password'
archinstall 17.80s user 12.68s systen 2% cpu 19:28.75 total
1 root@archiso ~ #
应该是因为NoneType没能找到encryption_password这个属性,有懂Python的大佬看看吗?
最近编辑记录 Sergey (2023-04-02 10:56:30)
离线
没有设置密码?
离线
它这个密码是磁盘密码,不是root密码,一般不都是可以不填的吗
离线
离线
Tbh, the easiest way to fix #1704 is to:
nano +74 /usr/lib/python3.10/site-packages/archinstall/lib/configuration.py
- if key == 'disk_encryption':
+ if key == 'disk_encryption' and self._config[key]:
As the patch hasn't been released as a pacman package yet, which is why won't help currently.pacman -Syu archinstall
这个是作者的回复,现在可以标注为已解决了
离线