https://bugs.kde.org/show_bug.cgi?id=499568

            Bug ID: 499568
           Summary: Command line export-sequence fails if file already
                    exists
    Classification: Applications
           Product: krita
           Version: 5.2.6
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Animation
          Assignee: krita-bugs-n...@kde.org
          Reporter: cromach...@gmail.com
  Target Milestone: ---

SUMMARY
Attempting to export an animation sequence from the command line results in an
error if the exported files already exist. This does not happen when exporting
a non-sequence, single image.

STEPS TO REPRODUCE
1. Make a document with an animation in it: test.kra
2. Exit Krita (cannot export with Krita open due to another bug
https://bugs.kde.org/show_bug.cgi?id=460631).
3. Export the document's animation:
  krita --export-sequence --export-filename test.png test.kra
4. Run the same export command again (as if you had edited the document and
wanted to update the output).

OBSERVED RESULT
krita.general: "Failed to render animation frames!" 

EXPECTED RESULT
The target files are overwritten.
Or, if this is not acceptable, then a more clear error could be given like:
"Failed to render animation frames! Output files cannot be overwritten with
export-sequence." 

WORKAROUND
Delete the files before running the export command.

SOFTWARE/OS VERSIONS
Operating System: NixOS 25.05
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.6.71 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to