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

self.contents is 50199 bytes != self.length 245760. #5

Open
stayliv3 opened this issue Jul 14, 2017 · 2 comments
Open

self.contents is 50199 bytes != self.length 245760. #5

stayliv3 opened this issue Jul 14, 2017 · 2 comments

Comments

@stayliv3
Copy link

error message:

esp_rom.RomParseException: EspRomSection.init(): self.contents is 50199 bytes != self.length 245760.

i read the source code .

        self.contents = rom_bytes_stream.read(self.length)
        print(len(self.contents))

        if len(self.contents) != self.length:
            raise RomParseException(
                "EspRomSection.init(): self.contents is %d bytes != self.length %d."
                    % (len(self.contents), self.length))

is there something wrong about rom_bytes_stream.read ?

attach file is the user2.bin

@stayliv3
Copy link
Author

user2.bin.zip

@Mz1z
Copy link

Mz1z commented Mar 13, 2023

I have the same problem.

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

2 participants