Bug 478668 - Error exporting Comic
Summary: Error exporting Comic
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: 5.2.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-17 22:07 UTC by Renato Dias
Modified: 2024-01-18 18:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Detailed trace file. (29.83 KB, text/plain)
2023-12-17 22:07 UTC, Renato Dias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Dias 2023-12-17 22:07:31 UTC
Created attachment 164263 [details]
Detailed trace file.

SUMMARY
Krita coughs up an error when exporting a comic project(bug present since 5.1.5) and the comic export freezes afterwards.


STEPS TO REPRODUCE
1. Open a comic project.
2. Click export Comic
3. Wait until 33%
4. Error.

OBSERVED RESULT
Pictures export midway through before error. Comic export freezes after the error comes up.

EXPECTED RESULT
All pages exported.

SOFTWARE/OS VERSIONS
Windows: Windows 10 23H2

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2024-01-17 13:33:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2052
Comment 2 wolthera 2024-01-18 18:09:37 UTC
Git commit 8631d1d0fcbb64ecde23dacda9b1adbef7d42346 by Wolthera van Hövell, on behalf of Wolthera van Hövell tot Westerflier.
Committed on 18/01/2024 at 19:09.
Pushed by woltherav into branch 'master'.

CPMT: Fix crash in comic exporter due incorrect api usage.

The script uses shapes() instead of children(), which causes the script to abort.

M  +1    -1    plugins/python/comics_project_management_tools/comics_exporter.py

https://invent.kde.org/graphics/krita/-/commit/8631d1d0fcbb64ecde23dacda9b1adbef7d42346
Comment 3 wolthera 2024-01-18 18:10:18 UTC
Git commit eb66f225d6f52867abcf3301196c7a1fe283ec2f by Wolthera van Hövell, on behalf of Wolthera van Hövell tot Westerflier.
Committed on 18/01/2024 at 19:10.
Pushed by woltherav into branch 'krita/5.2'.

CPMT: Fix crash in comic exporter due incorrect api usage.

The script uses shapes() instead of children(), which causes the script to abort.


(cherry picked from commit 8631d1d0fcbb64ecde23dacda9b1adbef7d42346)

M  +1    -1    plugins/python/comics_project_management_tools/comics_exporter.py

https://invent.kde.org/graphics/krita/-/commit/eb66f225d6f52867abcf3301196c7a1fe283ec2f
Comment 4 wolthera 2024-01-18 18:12:40 UTC
Hi,

This was caused by the exporter not handling grouped vector shapes correctly. This is fixed now and should be available in tomorrow's Krita - Plus from krita.org.