| Summary: | The Batch Exporter plugin is broken in Krita 6 | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | zallist |
| Component: | * Unknown | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | NOR | ||
| Version First Reported In: | 6.0.0-beta1 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/d8679eb80ecc3af133821784ee510a766bad219d | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
Git commit c41ebad4e0bb447ca2eea138f3d2a810897d4cce by Freya Lupen. Committed on 11/02/2026 at 19:56. Pushed by freyalupen into branch 'master'. Fix error in Batch Exporter M +1 -1 plugins/python/batch_exporter/Infrastructure.py https://invent.kde.org/graphics/krita/-/commit/c41ebad4e0bb447ca2eea138f3d2a810897d4cce Git commit d8679eb80ecc3af133821784ee510a766bad219d by Freya Lupen. Committed on 11/02/2026 at 20:01. Pushed by freyalupen into branch 'krita/6.0'. Fix error in Batch Exporter (cherry picked from commit c41ebad4e0bb447ca2eea138f3d2a810897d4cce) Co-authored-by: Freya Lupen <penguinflyer2222@gmail.com> M +1 -1 plugins/python/batch_exporter/Infrastructure.py https://invent.kde.org/graphics/krita/-/commit/d8679eb80ecc3af133821784ee510a766bad219d |
I received the following error on trying to perform a Batch Export using the Batch Export plugin in Krita 6.0.0-beta1: ``` Traceback (most recent call last): File "C:\Program Files\Krita (x64)\share\krita\pykrita\batch_exporter\batch_exporter.py", line 61, in exportAllLayers kickstart(it) ~~~~~~~~~^^^^ File "C:\Program Files\Krita (x64)\share\krita\pykrita\batch_exporter\Utils\__init__.py", line 13, in kickstart deque(it, maxlen=0) ~~~~~^^^^^^^^^^^^^^ File "C:\Program Files\Krita (x64)\share\krita\pykrita\batch_exporter\Utils\__init__.py", line 9, in <lambda> return lambda *a: f(*reversed(a)) ~^^^^^^^^^^^^^^ File "C:\Program Files\Krita (x64)\share\krita\pykrita\batch_exporter\Infrastructure.py", line 290, in save img = nodeToImage(self) File "C:\Program Files\Krita (x64)\share\krita\pykrita\batch_exporter\Infrastructure.py", line 30, in nodeToImage if not icc_profile and self.inherit: ^^^^ NameError: name 'self' is not defined ``` The merge request that seems to have broken it is https://invent.kde.org/graphics/krita/-/merge_requests/2446 where icc profile support was added and seems to now be required to avoid the error. Steps to reproduce: * Try and do any kind of batch export without the "icc=" property. * Receive the above traceback. Bugfix: I believe this is simply a typo in the codebase. On line 30, instead of trying to access `self.inherit` the plugin should be attempting to access `wnode.inherit`