ERROR: 'NoneType' object is not subscriptable
Created by: PureTryOut
From a clean chroot, I'm trying to install Plasma Mobile to an sdcard. I do have to note that I use the packages from my binary repo.
Running ./pmbootstrap.py install --add plasma-mobile,plasma-phone-components
gives me the error in the title just after creating the initramfs. The last message before the error is Calculate depends of packages ['postmarketos-mkinitfs'], arch: armhf
.
It kills the process.
(020456) [12:15:33] Calculate depends of packages ['postmarketos-mkinitfs'], arch: armhf
(020456) [12:15:33] ERROR: 'NoneType' object is not subscriptable
(020456) [12:15:33] Run 'pmbootstrap log' for details.
(020456) [12:15:33] See also: <https://postmarketos.org/troubleshooting>
(020456) [12:15:33] Traceback (most recent call last):
File "./pmbootstrap.py", line 53, in main
getattr(pmb.helpers.frontend, args.action)(args)
File "/home/****/Documents/Projects/Personel/postmarketos-pmbootstrap/pmb/helpers/frontend.py", line 91, in install
pmb.install.install(args)
File "/home/****/Documents/Projects/Personel/postmarketos-pmbootstrap/pmb/install/install.py", line 138, in install
pmb.chroot.initfs.build(args, flavor, suffix)
File "/home/****/Documents/Projects/Personel/postmarketos-pmbootstrap/pmb/chroot/initfs.py", line 29, in build
pmb.chroot.apk.install(args, ["postmarketos-mkinitfs"], suffix)
File "/home/****/Documents/Projects/Personel/postmarketos-pmbootstrap/pmb/chroot/apk.py", line 190, in install
args, build, arch, package, packages_installed):
File "/home/****/Documents/Projects/Personel/postmarketos-pmbootstrap/pmb/chroot/apk.py", line 129, in install_is_necessary
data_repo["version"])
TypeError: 'NoneType' object is not subscriptable
I've uploaded a full log here. The command used was ./pmbootstrap.py --verbose install --add plasma-mobile,plasma-phone-components --sdcard=/dev/mmcblk0
.