Skip to content

error extracting system_dlkm.img #9

@cfig

Description

@cfig
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions