Bug 368565 - G'Mic does not work in Krita 3.0.1 Win10. Error "No display available".
Summary: G'Mic does not work in Krita 3.0.1 Win10. Error "No display available".
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: G'Mic for Krita (show other bugs)
Version: 3.0.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL: http://s019.radikal.ru/i625/1609/55/6...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-10 19:53 UTC by Serge
Modified: 2016-10-11 15:55 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge 2016-09-10 19:53:02 UTC
Tried to use G'Mic 
Black & white --> Colorize [interactive] -> Lineart, Image + Colors (2 layers)

And get this:
Sorry! G'Mic failed, reason:*** Error in ./gimp_colorize_interactive/*if/*repeat/*substitute/ *** Command '-x_colorize': No display available. 

Win10, Krita 3.0.1, Huion WH1409.

Reproducible: Always

Steps to Reproduce:
1. Paint something and go to Filter --> G'Mic
2. Black & white --> Colorize [interactive] -> Lineart, Image + Colors (2 layers)
3. Press OK
Comment 1 Halla Rempt 2016-09-12 08:22:17 UTC
Yes, I can confirm. No idea why this is, we didn't update g'mic... Unless it's that we're building on Windows again, and g'mic gets confused.
Comment 2 Halla Rempt 2016-09-12 08:59:42 UTC
Git commit 6f2f7e9e881dcc87b222be7f8be54ca37aed4ece by Boudewijn Rempt.
Committed on 12/09/2016 at 08:59.
Pushed by rempt into branch 'master'.

Build using the right os and display on Windows

The ifdef only worked when cross-building, or when building with
msvc, it seems.

M  +1    -1    plugins/extensions/gmic/CMakeLists.txt

http://commits.kde.org/krita/6f2f7e9e881dcc87b222be7f8be54ca37aed4ece
Comment 3 Halla Rempt 2016-09-12 09:03:39 UTC
Oh, next time, please attach the image directly to the bug report instead of posting a link to an image sharing website.
Comment 4 Louis Mcarvy 2016-09-24 14:04:20 UTC
When going in to G'mic, I get the same problem as well as a visual error, when I got to Filter, G'mic, Black and white, the input time for B&W Photograph says "B&W photograph" I think it may have to do with the problem but I am not sure. I'm very new to this and I love using Krita, I hope to get it fixed soon.
Comment 5 Ren 2016-10-11 15:55:28 UTC
Is this supposed to be set as fixed? This is still present in 3.0.1.1 (the latest available on https://krita.org/en/download/krita-desktop/ as of writing). When following the steps in the description I get an error message:

Sorr! G'Mic failed, reason: *** Error in./gimp_colorize_interactive/*if/*repeat/*substitute/ *** Command '-x_colorize': No display available.

I'm on Windows 10, using the 64-bit installer.