jgraph / drawio-desktop

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

try to save and this error appears: "EBADF: bad file descriptor, write"...what to do? #1743

Closed dudumello closed 3 months ago

dudumello commented 4 months ago

Preflight Checklist

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

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

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

davidjgraph commented 4 months ago

Could you attach a zipped copy of the file please?

If you haven't saved one, go to extras->edit diagram and copy the contents of the main area, paste that into a text editor and try to save.

davidjgraph commented 4 months ago

Maybe also try the solution suggested in https://forum.obsidian.md/t/cannot-resolve-error-failed-to-save-file-filepath-ebadf-bad-file-descriptor-write-make-a-backup/60017.

dudumello commented 4 months ago

I noticed that I can save the file in the desktop area but whenever I try to save it in my documents folder that error appears :/