Skip to content

Error raised when one seeks to bad spot in file and then reads #491

@mhvk

Description

@mhvk

As noted by @00rebe, if one seeks on purpose to a bad spot in the file and then tries reading, one gets

AttributeError: 'Mark5BStreamReader' object has no attribute '_frame'

This is because the bad frame machinery uses a previously existing frame as a template for the invalid frame that it wants to return.

Could be fixed by starting with an empty invalid frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions