jgraph / drawio-desktop

Official electron build of draw.io
https://www.diagrams.net
Apache License 2.0
47.87k stars 4.82k forks source link

Not a diagram file error #1752

Closed CarlosRega closed 1 month ago

CarlosRega commented 1 month ago

Preflight Checklist

Describe the bug After accepting an automatic upgrade prompt this morning my file saved yesterday fails to open with a Not a diagram file error

To Reproduce Steps to reproduce the behavior:

  1. Go to File -> Open
  2. Select the file attached
  3. The following error shows: image

Expected behavior This file was opening fine until the upgrade this morning

draw.io version (In the Help->About menu of the draw.io editor):

Desktop (please complete the following information):

Additional context N/A IsoTestsFlow.zip

davidjgraph commented 1 month ago

Open the file in a text editor and delete the first diagram element:

<diagram id="C5RBs43oDa-KdzZeNtuy" name="Start Up Cycle" />

then save and load it. You saved the file with 24.4.6, which had this issue. 24.4.8 has it fixed.

CarlosRega commented 1 month ago

Thank you for the really fast response and solution. And thank you too for this great software.