Skip to content
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 'name [ SM-t220] #43

Open
shyambandla opened this issue Mar 19, 2023 · 0 comments
Open

Comments

@shyambandla
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant