Skip to content

SigMFile data_file is None from archive #70

@Deschain

Description

@Deschain

SigMFFile member data_file is None when creaeting a SigMFFile from archive. This ends up raising an exception when calling get_capture_byte_boundarys due to calling path.getsize with None.

end_byte = path.getsize(self.data_file) - self.get_global_field(self.TRAILING_BYTES_KEY, 0)

I don't know if there are other cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions