Not a diagram file (error on line 1 at column 1: Document is empty)

2,462 views
Skip to first unread message

Sabrine

unread,
Jan 18, 2023, 9:27:06 AM1/18/23
to diagrams.net Q&A
Hello,

I was using draw.io online and I have modified/completed my diagram several times. Suddently, when I tried to open my diagram I had an error pop-up saying : Not a diagram file (error on line 1 at column 1: Document is empty). My file has three pages, so it is not empty. Please find my file here attached.
Could please tell me if you are able to open it? If yes, could you please help me recovering my file?

Thank you in advance.

Best regards,
Sabrine
2013080.drawio

diagrams.net Q&A

unread,
Jan 18, 2023, 9:57:18 AM1/18/23
to diagrams.net Q&A
This is a PDF file. Try renaming the file to 2013080.drawio.pdf and open that instead. It will be imported correctly as it contains the diagram data.

Sabrine samorah laki

unread,
Jan 18, 2023, 10:56:31 AM1/18/23
to diagrams.net Q&A
Hello, 

That didn't work...It is not a pdf file, it is a .drawio file : 

image.png

Maybe Google transforms the file here.
Thank you in advance.
Sabrine

--
You received this message because you are subscribed to a topic in the Google Groups "diagrams.net Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drawio/O47AJ3RC8Gs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drawio+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/drawio/0bd2acf3-0181-44a5-926d-cde7ec4c639an%40googlegroups.com.

diagrams.net Q&A

unread,
Jan 18, 2023, 10:58:24 AM1/18/23
to diagrams.net Q&A
It is is PDF file, the one you attached. If I open it with a hex editor the starting sequence is that of a PDF file.

diagrams.net Q&A

unread,
Jan 19, 2023, 12:52:15 AM1/19/23
to diagrams.net Q&A
If you rename the file and open that, the app will recognize the file format and load the embedded diagram.

Sabrine samorah laki

unread,
Jan 19, 2023, 2:52:24 AM1/19/23
to diagrams.net Q&A
Hello,

I will send it again. I have renamed it to "test". I hope you will have it as a drawio file now.





test.drawio

Sabrine samorah laki

unread,
Jan 19, 2023, 2:52:44 AM1/19/23
to diagrams.net Q&A
Hello, I did that and it still didn't work...

diagrams.net Q&A

unread,
Jan 19, 2023, 3:01:45 AM1/19/23
to diagrams.net Q&A
test.drawio.pdf

Sabrine samorah laki

unread,
Jan 19, 2023, 4:19:16 AM1/19/23
to diagrams.net Q&A
Reply all
Reply to author
Forward
0 new messages