Skip to content

Error when attemping extract of cramfs image #1

@tridentsx

Description

@tridentsx

My test:/home/tridentsx/dumps/test/backup/nand/09-06-2023_17-21/fma5.img
WARNING: old cramfs format
Traceback (most recent call last):
File "/home/tridentsx/dumps/./test.py", line 43, in
unpack_dump("./backup_176.zip")
File "/home/tridentsx/dumps/./test.py", line 33, in unpack_dump
extract_dir(rootdir, "fma5") # Extract a directory tree
File "/usr/local/lib/python3.10/dist-packages/pycramfs/extract.py", line 108, in extract_dir
path.mkdir(file.mode, exist_ok=force)
AttributeError: 'PurePosixPath' object has no attribute 'mkdir'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions