aospdtgen icon indicating copy to clipboard operation
aospdtgen copied to clipboard

AttributeError: 'NoneType' object has no attribute 'name [ SM-t220]

Open shyambandla opened this issue 3 years ago • 0 comments

python3 -m aospdtgen output/ Android device tree generator Version 1.0.0

[INFO] Figuring out partitions scheme [WARNING] Unknown HAL type native [INFO] Parsing build props and device info [INFO] Parsing fstab [INFO] Extracting boot image [INFO] Cloning AIK... Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/ubuntu/.local/lib/python3.8/site-packages/aospdtgen/main.py", line 11, in main() File "/home/ubuntu/.local/lib/python3.8/site-packages/aospdtgen/main.py", line 31, in main dump = DeviceTree(args.dump_path) File "/home/ubuntu/.local/lib/python3.8/site-packages/aospdtgen/device_tree.py", line 62, in init self.boot_configuration = BootConfiguration(self.path) File "/home/ubuntu/.local/lib/python3.8/site-packages/aospdtgen/utils/boot_configuration.py", line 26, in init self.boot_image_info = self.boot_aik_manager.unpackimg(self.boot) File "/home/ubuntu/.local/lib/python3.8/site-packages/sebaubuntu_libs/libaik/init.py", line 109, in unpackimg image_prefix = image.name AttributeError: 'NoneType' object has no attribute 'name'

getting this error. please help me

shyambandla avatar Mar 19 '23 17:03 shyambandla