Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 196608 - Krita -> AnimatedSprite2D #16

Open
hunterschramm opened this issue Sep 22, 2023 · 1 comment
Open

Error 196608 - Krita -> AnimatedSprite2D #16

hunterschramm opened this issue Sep 22, 2023 · 1 comment

Comments

@hunterschramm
Copy link

./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 hunterschramm changed the title Error 196608 Error 196608 - Krita -> AnimatedSprite2D Sep 22, 2023
@nklbdev
Copy link
Owner

nklbdev commented Sep 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants