SUMMARY Choose tool >scripts> scripter dose not work with error """ The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "C:\Program Files\Krita (x64)\share\krita\pykrita\scripter\scripter.py", line 41, in initialize self.uicontroller.initialize(self) File "C:\Program Files\Krita (x64)\share\krita\pykrita\scripter\uicontroller.py", line 86, in initialize self.loadActions() File "C:\Program Files\Krita (x64)\share\krita\pykrita\scripter\uicontroller.py", line 139, in loadActions action['parent'].addAction(action['action']) AttributeError: 'NoneType' object has no attribute 'addAction' """ SOFTWARE/OS VERSIONS Windows:10Home ADDITIONAL INFORMATION It was working up to 4.1.8 but it stopped working from 4.2 alpha
I am sorry, but I cannot reproduce the problem: the scripter plugin starts fine for me.
I've also tried to reproduce on Windows, and couldn't reproduce it there either.
Excuse me. I did not try important conditions. I get an error when I change the display language to something other than English. For example, Deutsch Chinese Japanese. . .
Ah, thanks -- yes, that does it. Confirming.
Git commit 855e33784e248b75b8f1694d2716359c71a93ebf by Boudewijn Rempt. Committed on 12/06/2019 at 14:32. Pushed by rempt into branch 'master'. Look up the parent by translated name This fixes loading the scripter when not everything has been translated yet. M +1 -1 plugins/python/scripter/uicontroller.py https://invent.kde.org/kde/krita/commit/855e33784e248b75b8f1694d2716359c71a93ebf
Git commit d13657d44e22fa5cb238b81ff6724669d0ee6f49 by Boudewijn Rempt. Committed on 13/06/2019 at 06:02. Pushed by rempt into branch 'krita/4.2'. Look up the parent by translated name This fixes loading the scripter when not everything has been translated yet. M +1 -1 plugins/python/scripter/uicontroller.py https://invent.kde.org/kde/krita/commit/d13657d44e22fa5cb238b81ff6724669d0ee6f49