Skip to content

An issue on some MULTILEADER explosion #793

Description

@IvanKachaikinCendas

Hi @mozman ! As usual, thanks first of all for your amazing package :)

I found some new issue while trying to explode some MULTILEADER found in an external DXF. More specifically, the following exception occurs:
ezdxf.proxygraphic.ProxyGraphicError: Proxy graphic error: Unexpected end of buffer.
Please let me know if you would like the full stack trace.

To Reproduce

  1. Download a DXF file provided below, then run the following code
import ezdxf
drawing = ezdxf.readfile('broken_mleader.dxf')
msp = drawing.modelspace()
mleader = msp.query('MULTILEADER').entities[0]
mleader.explode()
  1. Information about the ezdxf version and the OS: ezdxf==1.0.0, works in the same way on Windows and MacOS.
  2. A simplified and zipped DXF file which still triggers the error: available below.
    broken_mleader.zip

Once again, not sure if you can fix it somehow on ezdxf end or it is rather undocumented strange DXF mechanics, but in any case thanks for taking this issue into account and please let me know if you need any additional detail :)

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