Skip to content

CLI reports "Export Failed" but export was successful #2248

@daemonPainter

Description

@daemonPainter

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

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
CLI recursive export of multiple drawio to PNG files reports Error: Export Failed: <filename>, but the export appears to be successful.

To Reproduce
Steps to reproduce the behavior:

  1. No-install version is executed via command line
  2. Execute the following command in a folder containing multiple drawings; bug is sporadic, it appears to happen more frequently when overriding existing PNGs in the same folder. The folder is backed up via OneDrive
  3. run draw.io.exe -x -f png -t -r .
  4. Observe error

Expected behavior
No error reports should be generated upon successful exports.

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

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

  • draw.io version 28.2.8

Desktop (please complete the following information):

  • Windows 11

Additional context
Behavior described in #2246 also applies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions