-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'encryption password' #1715
Comments
The current archinstall script on Arch Live ISO is broken. The issue has been fixed in this repo though. You should clone this repo in live ISO and exec the install script. |
Duplicate of #1704, fixed in #1705 and published in v2.5.5 a few minutes ago :) Temporary workaround as mentioned in #1712 (comment): - if key == 'disk_encryption':
+ if key == 'disk_encryption' and self._config[key]: |
Sorry for bumping the closed issue, but I just want to add that simply updating archinstall with pacman also seems to do the trick. |
Yepp, you can access it by doing |
nano +74 /usr/lib/python3.10/site-packages/archinstall/lib/configuration.py
Thank you, guys! That's solve my problem! |
Oh my! this is my first-time installing arch, wasted 5 hours trying to get the solution for this error. and the install-script was the culprit. |
This is my first time too. Faced the issue too. updating archlinux fixed. :) |
This was an embarrassing bug. I think, to prevent future cases like this, archinstall, at the start if Internet connection is available, should check if the current version has a critical bug like this and tell users to run pacman -Sy archinstall to update it and exit. |
Yeah not fantastic. I fired up a VM today for a test and tried What's confusing me is how there hasn't been an emergency/new archiso build to replace the broken package from the April 1st 2023 ISO. So most people trying Archlinux for the first time this month expecting to use This was on There should be a pipeline and tests for the archinstall scripts so they can be tagged as working before being built into archiso. Tests would've caught this problem before the problematic commit made it to the ISO. |
Little mistakes happen. I like the idea of suggesting to update the version, if internet access is available. |
This error still appears in ISO(2023.4), thanks so much for your idea. |
When I finished configuring the Disk layout item, the Disk encryption item was empty, I saw on bloggers who used this script that the item said "None". I think that's why I can't use the script. I tried to run it on a Virtual Machine and on a laptop, but there and there was this error.
The text was updated successfully, but these errors were encountered: