godot-4-importality icon indicating copy to clipboard operation
godot-4-importality copied to clipboard

Error 196608 - Krita -> AnimatedSprite2D

Open hunterschramm opened this issue 2 years ago • 1 comments

./core/variant/variant_utility.cpp:905 - Export is failed. Errors chain: Export error: 21 (Query failed), description: "An error occurred while executing the Krita command. Process exited with code -196608: Command: powershell Argument: -File Argument: E:\Godot\Plugins\PowerShellScript\runs_with_saved_creds.ps1 Argument: E:\Godot\Plugins\PowerShellScript\creds.txt Argument: C:\Program Files\Krita (x64)\bin\krita.com Argument: --export-sequence Argument: --export-filename Argument: R:\TEMP/img.png Argument: R:\TEMP/img.kra" Error importing 'res://Assets/Animations/test.kra'.

image

image

hunterschramm avatar Sep 22 '23 20:09 hunterschramm

Hmm... It looks like the script was unable to launch Krita under the specified user.

Try launching Krita manually to export a sequence of frames. To do this, enter into the command line:

C:\Program Files\Krita (x64)\bin\krita.com --export-sequence --export-filename R:\TEMP/img.png path/to/your/file.kra

If this command successfully generates a set of animation frame files, then try to run it as a new user using the script:

powershell -File E:\Godot\Plugins\PowerShellScript\runs_with_saved_creds.ps1 E:\Godot\Plugins\PowerShellScript\creds.txt C:\Program Files\Krita (x64)\bin\krita.com --export-sequence --export-filename R:\TEMP/img.png path/to/your/file.kra

Please let me know the results of your experiments.

If the script was unable to launch Krita and reported some errors to the console, please attach its output.

nklbdev avatar Sep 23 '23 01:09 nklbdev