Bug 364664

Summary: "Internal Error" when I try to open a .psd containing animation frames.
Product: [Applications] krita Reporter: ChristianB <christianjohnbunyan>
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: critical CC: halla
Priority: NOR    
Version First Reported In: 3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: attachment-29488-0.html
attachment-7493-0.html
attachment-9811-0.html

Description ChristianB 2016-06-23 09:06:11 UTC
I started making an animation using Krita 3.0's animation feature. Saved the file, then tried to reopen it later: wouldn't open and I got an "internal error" message as the reason. Tried repeatedly to reopen the file in Krita, then in Photoshop CC, then Manga Studio 5.0 Ex, but won't open anywhere now. Can't access my work at all now.

BTW. I looked up "internal error" in previous bug threads for Krita. Didn't find anything related to animation but did find another "internal error" related issue; this suggested that turning OpenGL on and off might help. Tried this. Didn't work. Would appreciate your help! Thanks so much!  

Reproducible: Always

Steps to Reproduce:
1. Try to open PSD with Krita animation frames. 
2. Delay, Krita slows down. 
3. Get a message: "could not open file... reason: internal error." 

Actual Results:  
Couldn't open file. 

Expected Results:  
Opened the file and allowed me to continue working on the animation. 

Am working on a Pro Surface 3. Not sure if that helps you.
Comment 1 Halla Rempt 2016-06-23 09:42:53 UTC
Hm, saving an animation to PSD certainly isn't supported -- Krita's and Photoshop's animation approach is way too different. But we should warn the user and not create a broken PSD file, of course. Could you make the original .kra and broken .psd file available for debugging?
Comment 2 Halla Rempt 2016-06-23 09:44:20 UTC
Eek, on re-reading I get the impression that you didn't save as .kra. PSD is not suitable as a working format for Krita because it doesn't support all of Krita's features -- if you use PSD for that, you will lose work :-(.
Comment 3 Halla Rempt 2016-06-23 09:49:30 UTC
Hm, and on testing with 3.0 and a simple animation with two frames, I didn't get an internal error (I did lose all pixel data that wasn't in the current frame, though), so I really need your original file.
Comment 4 ChristianB 2016-06-24 08:45:57 UTC
Created attachment 99675 [details]
attachment-29488-0.html

Hello there,

Changing the file from psd. to Krita solved the animation issue! Thanks so
much for your tip.

Cheers,
Christian.

On 23 June 2016 at 11:49, Boudewijn Rempt via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=364664
>
> Boudewijn Rempt <boud@valdyas.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |boud@valdyas.org
>
> --- Comment #3 from Boudewijn Rempt <boud@valdyas.org> ---
> Hm, and on testing with 3.0 and a simple animation with two frames, I
> didn't
> get an internal error (I did lose all pixel data that wasn't in the current
> frame, though), so I really need your original file.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 5 Halla Rempt 2016-06-24 11:50:38 UTC
Did you do that by just renaming the extension?
Comment 6 ChristianB 2016-06-24 12:25:59 UTC
Created attachment 99677 [details]
attachment-7493-0.html

Hi there,

The original was a .lip (a Manga Studio file). I'd heard that Krita was
good with .psd files so I saved the .lip as a .psd. Then I opened the .psd
in Krita and re-saved it as a Krita doc. Bit of a round about way to get
the result I wanted but seems to have worked so far. Why do you ask?

Many thanks,
Christian.

On 24 June 2016 at 13:50, Boudewijn Rempt via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=364664
>
> --- Comment #5 from Boudewijn Rempt <boud@valdyas.org> ---
> Did you do that by just renaming the extension?
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 7 Halla Rempt 2016-06-24 12:44:47 UTC
Because I had understood that you had created an animation in Krita, saved that as a psd file, which then could not be loaded in any application (which is not unexpected, psd doesn't support advanced animation features). It then sounded like you simply did a rename of that file from bla.psd to bla.kra, after which Krita could load it. If that had been the case, there would have been a bug in the file dialog: if you select the psd extension, krita should not save as kra.

In any case, this doesn't sound like a bug in Krita anymore, though we still need to warn users better about unsupported features when exporting. But there's already an issue for that, even though I cannot find the number now.
Comment 8 ChristianB 2016-06-24 13:05:35 UTC
Created attachment 99678 [details]
attachment-9811-0.html

Ah, got it! Thanks for your help again. Agree, would be good to have a
little warning about saving animation in Krita, not .psd-- for newbies such
as myself.

All the best and keep up the great work!

Cheers,
Christian.

On 24 June 2016 at 14:44, Boudewijn Rempt via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=364664
>
> Boudewijn Rempt <boud@valdyas.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|---                         |INVALID
>
> --- Comment #7 from Boudewijn Rempt <boud@valdyas.org> ---
> Because I had understood that you had created an animation in Krita, saved
> that
> as a psd file, which then could not be loaded in any application (which is
> not
> unexpected, psd doesn't support advanced animation features). It then
> sounded
> like you simply did a rename of that file from bla.psd to bla.kra, after
> which
> Krita could load it. If that had been the case, there would have been a
> bug in
> the file dialog: if you select the psd extension, krita should not save as
> kra.
>
> In any case, this doesn't sound like a bug in Krita anymore, though we
> still
> need to warn users better about unsupported features when exporting. But
> there's already an issue for that, even though I cannot find the number
> now.
>
> --
> You are receiving this mail because:
> You reported the bug.
>