https://bugs.kde.org/show_bug.cgi?id=400459
Bug ID: 400459
Summary: CLI export does not work for some file while GUI
export works for the same file
Product: krita
Version: 4.1.5
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: File formats
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 115969
--> https://bugs.kde.org/attachment.cgi?id=115969&action=edit
Krita file that this bug happened
SUMMARY
When I try to export through command line for some file, there is no output.png
in the folder while if I use the export dialog in File > Export the file
exported successfully. The thing is that this happens only to some file, which
is totally random to me
STEPS TO REPRODUCE
1. Download attached .kra file
2. Use Krita export dialog (File > Export) to any .png name and that will run
successfully
3. Run krita assign3_6.kra --export --export-filename asdf.png on the same
folder as the downloaded .kra file and see that there is no asdf.png in that
folder after the command has exited
OBSERVED RESULT
For GUI export it works as expected, there is a correct not corrupted .png on
destination folder, while with CLI export there is no .png at all, and no error
message at the terminal window
Terminal output:
$ krita assign3_6.kra --export --export-filename aas.png
Invalid profile : "/usr/share/color/icc/colord/Crayons.icc" "Crayon Colors"
Invalid profile : "/usr/share/color/icc/colord/x11-colors.icc" "X11 Colors"
krita.general: Warning: some tiles have leaked:
krita.general: Tiles in memory: 11905
Total tiles: 11905
$ ls
assign3_6.kra
EXPECTED RESULT
CLI export works if GUI export works, so there should be a .png file on that
folder
ADDITIONAL INFORMATION
Krita
Version: 4.1.5
Qt
Version (compiled): 5.11.2
Version (loaded): 5.11.2
OS Information
Build ABI: x86_64-little_endian-lp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: linux
Kernel Version: 4.18.16-arch1-1-ARCH
Pretty Productname: Arch Linux
Product Type: arch
Product Version: unknown
OpenGL Info
**OpenGL not initialized**
--
You are receiving this mail because:
You are watching all bug changes.