Skip to content

CLI png export hangs #2190

@Simre1

Description

@Simre1
  • 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.

Describe the bug
In the past, I have used drawio -x -f png -o myfile.png myfile.drawio to batch the creation of png files for my drawio diagrams. However, it stopped working recently. Now, the process simply hangs, never finishes and does not produce a png file. The same happens for jpeg, but pdf and svg still work.

To Reproduce
Steps to reproduce the behavior:

  1. Create a .drawio file in the editor
  2. Run drawio -x -f png -o myfile.png myfile.drawio

Expected behavior
The png file should be generated.

  • draw.io version 28.0.6
  • OS: Arch Linux
  • Wayland

PNG export via the editor GUI still works, just not the CLI version. I am assuming that some system update has bricked drawio for me.

Thanks for taking a look at this!

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