https://bugs.kde.org/show_bug.cgi?id=387433
Bug ID: 387433 Summary: Scripter plugin requires Python 3.5 Product: krita Version: 4.0 pre-alpha Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Scripting Assignee: krita-bugs-n...@kde.org Reporter: bunf2...@apps.opensourcelaw.biz Target Milestone: --- The scripter plugin requires Python 3.5 (uses async def/await). Python 3.5 is not backwards compatible with Python 3.4 and aborts the scipter plugin during krita startup on systems with earlier versions of Python 3. Python 3.5 is not available* for install on my distro (OpenSuSE Leap 42.3). This plugin can be modified to run on earlier versions of Python 3 by using @asyncio.coroutine/yield. File to change: inst/share/krita/pykrita/scripter/debugger_scripter/debugger.py Diff: >diff debugger.py debugger_new.py 77c77,79 < async def display(self): --- > > @asyncio.coroutine > def display(self): 82c84 < await asyncio.sleep(0.3) --- > yield asyncio.sleep(0.3) 89,90c91,93 < async def start(self): < await self.display() --- > @asyncio.coroutine > def start(self): > yield self.display() 92c95,96 < async def step(self): --- > @asyncio.coroutine > def step(self): 94c98 < await self.display() --- > yield self.display() 96c100,101 < async def stop(self): --- > @asyncio.coroutine > def stop(self): 99c104 < await self.display() --- > yield self.display() * it can be installed, but it breaks a lot of other installed packages. -- You are receiving this mail because: You are watching all bug changes.