Skip to content

Keep getting "IndexError: list index out of range" #2

@davidwachs

Description

@davidwachs

Hey, AWESOME code, but I have an issue...

when it parses my svgs, I keep getting index out of range... any idea what I can do to fix this?

I get this even with simple SVGs:

<svg xmlns="http://www.w3.org/2000/svg" width="6120" height="7920" version="1.1">

 <path d="M 6.078125 -9.390625 C6.078125 -9.9375 6.265625 -11.046875 6.015625 -11.59375 L 5.96875 -11.59375C5.796875 -11.953125 5.296875 -12.09375 4.859375 -12.421875C4.640625 -12.59375 4.421875 -12.953125 4.140625 -12.953125C3.890625 -12.953125 3.3125 -12.703125 2.765625 -12.28125C1.578125 -11.375 0.109375 -9.75 0.109375 -8.671875C0.109375 -8.28125 0.4375 -7.953125 0.859375 -7.78125C2.484375 -7.0625 4.6875 -9.390625 6.078125 -9.390625ZM8.09375 -5.796875C6.4375 -5.65625 5.96875 -6.734375 6.046875 -8.921875C6.078125 -9.9375 6.265625 -11.625 6.265625 -12.34375L6.015625 -12.34375M8.09375 -5.796875" transform="translate(72, 100.8)"/>

</svg>

I've been struggling with this... any help you can lend would be amazing... thanks so much in advance.

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