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

error extracting system_dlkm.img #9

Open
cfig opened this issue Dec 20, 2023 · 0 comments
Open

error extracting system_dlkm.img #9

cfig opened this issue Dec 20, 2023 · 0 comments

Comments

@cfig
Copy link

cfig commented Dec 20, 2023

erofs_tool.py extract  system_dlkm.img out
0x00000400-0x00000480: SUPER
root_nid=38
Traceback (most recent call last):
  File "/home/yu/Downloads/erofs_tool.py", line 655, in <module>
    main()
  File "/home/yu/Downloads/erofs_tool.py", line 62, in main
    args.target(args)
  File "/home/yu/Downloads/erofs_tool.py", line 77, in command_extract
    erofs = Erofs(args.erofs_image)
            ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/yu/Downloads/erofs_tool.py", line 237, in __init__
    self.root_inode = self.get_inode(self.super.root_nid, FileType.EROFS_FT_DIR)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/yu/Downloads/erofs_tool.py", line 244, in get_inode
    return DirInode(self, nid)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/yu/Downloads/erofs_tool.py", line 454, in __init__
    super(DirInode, self).__init__(erofs, nid)
  File "/home/yu/Downloads/erofs_tool.py", line 295, in __init__
    assert self.inode_header.i_advise & 0x01 == 0
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Can this issue be resolved?

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