Skip to content

Error- unpack requires a buffer of 16 bytes #12

Open
@milindsolage

Description

@milindsolage

Trying to execute this on a sample onenote file and it errors out.
self.uintMagic, self.FileNodeListID, self.nFragmentSequence = struct.unpack('<8sII', file.read(16))
struct.error: unpack requires a buffer of 16 bytes

OS- Windows2019 with latest version of Python.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions