Skip to content

Error opening files. #2

@peptoniet

Description

@peptoniet

Thanks for your work.
If I open a compressed file, it does not work.
If I open an uncompressed file, it gives error: JSON.parse: unterminated string at line 1 column 180 of the JSON data
BUT, if I edit the first line of the file from:
<mxfile host="Electron" modified="2021-12-07T12:20:14.136Z" compressed="false" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/15.8.7 Chrome/91.0.4472.164 Electron/13.6.2 Safari/537.36" version="15.8.7" etag="8210kuws28tPRYDJH6_n" type="device">
To:
<mxfile>
it displays the file without problems.
Again, thank you for your work.

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