Posts: 571
Threads: 130
Joined: Nov 2019
Reputation:
4
06-26-2021, 03:35 AM
(This post was last modified: 06-26-2021, 03:49 AM by meetdilip.)
Hi, I heavily depend on Filters > Edge Detect > Difference of Gaussians (legacy ) to convert images into line art. During the last couple of days ( perhaps a week ), whenever I use this option, the output is a blank canvas.
Then I tried to use bede plugin which worked fine for Artistic > Comic Book for 2.10. Sadly, I am getting this error now
Quote:Traceback (most recent call last):
File "/tmp/tmp.Yn1vXJkgGt/gimp/2.0/python/gimpfu.py", line 740, in response
dialog.res = run_script(params)
File "/tmp/tmp.Yn1vXJkgGt/gimp/2.0/python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "/home/myPC/.config/GIMP-AppImage/2.10/plug-ins/bede2.10.py", line 34, in bd
pdb.plug_in_gmic_qt(img, layer, 1, 0, '-fx_curves_interactive 7,0,1,7,0,0,'+pointLum+',100,100,-1,0,0,'+pointSat+',100,100,-1,0,0,100,100,-1,0,0,100,100,-1,')
RuntimeError: cancelled
I am using a very early 2.10.25 AppImage and have changed almost nothing in the last 30 - 40 days. I am using the GMIC-QT plugin provided by @rich2005
It would be nice to know how to fix these. Thanks.
Edit : Looks like I have set GMIC to auto update " Weekly ". Is that what is causing the current issue ?
Edit 2 : I replaced the GMIC QT plugin (gmic_gimp_qt-298) which I got from this website to .config > gmic and turned off the GMIC auto updates. But even then both the filters are not working.
Posts: 1,528
Threads: 70
Joined: May 2021
Reputation:
167
Operating system(s):
Gimp version: 2.10
06-26-2021, 03:55 AM
(This post was last modified: 06-26-2021, 04:42 AM by PixLab.)
(06-26-2021, 03:35 AM)meetdilip Wrote: Hi, I heavily depend on Filters > Edge Detect > Difference of Gaussians (legacy ) to convert images into line art. During the last couple of days ( perhaps a week ), whenever I use this option, the output is a blank canvas.
Then I tried to use bede plugin which worked fine for Artistic > Comic Book for 2.10. Sadly, I am getting this error now
Quote:Traceback (most recent call last):
File "/tmp/tmp.Yn1vXJkgGt/gimp/2.0/python/gimpfu.py", line 740, in response
dialog.res = run_script(params)
File "/tmp/tmp.Yn1vXJkgGt/gimp/2.0/python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "/home/myPC/.config/GIMP-AppImage/2.10/plug-ins/bede2.10.py", line 34, in bd
pdb.plug_in_gmic_qt(img, layer, 1, 0, '-fx_curves_interactive 7,0,1,7,0,0,'+pointLum+',100,100,-1,0,0,'+pointSat+',100,100,-1,0,0,100,100,-1,0,0,100,100,-1,')
RuntimeError: cancelled
I am using a very early 2.10.25 AppImage and have changed almost nothing in the last 30 - 40 days. I am using the GMIC-QT plugin provided by @rich2005
It would be nice to know how to fix these. Thanks.
Edit : Looks like I have set GMIC to auto update " Weekly ". Is that what is causing the current issue ?
I have the .deb from handbooks GIMP 2.10.24 and the Appimage with plugins GIMP 2.10.25 continuous release from aferrero2707 and did tried "Filters > Edge Detect > Difference of Gaussians (legacy )" on both GIMP version.
I got a blank layer as well on both GIMP
It seems to be a python problem, may be related to an update on the OS (Ubuntu based OS?) conflict between python 3.x and python 2.7?
Sorry I can't tell if it's that or not, it's above my field of competences, and yes I can see that G'MIC is involved at the end of your traceback...
My first thought would be to try with an older version of the GIMP appimage with plugins, a version like 2-3 months older, or with an older version of G'MIC to see which one is the faulty one...
https://gmic.eu/files/linux/
or the G'MIC appimage for GIMP https://github.com/aferrero2707/gimp-plu...continuous (this is not GIMP, but G'MIC)
But I would say Don't try this at home and save all your GIMP/G'MIC configuration before to do anything or wait for some one with a knowledgeable answer
In the terminal type
to know what python your system is using
Posts: 571
Threads: 130
Joined: Nov 2019
Reputation:
4
I have the same error with 2.10.23 with plugins AppImage. Considering it is happening widely, it might be something to do with by 20.04 ?
Posts: 1,528
Threads: 70
Joined: May 2021
Reputation:
167
Operating system(s):
Gimp version: 2.10
06-26-2021, 06:04 AM
(This post was last modified: 06-26-2021, 06:06 AM by PixLab.)
(06-26-2021, 05:55 AM)meetdilip Wrote: I have the same error with 2.10.23 with plugins AppImage. Considering it is happening widely, it might be something to do with by 20.04 ?
may be, we need to have some feed back from people which do not use an Ubuntu based distro (or debian?)
In all case I did reported it on the forum where David Tschumperle (the G'MIC's big boss) is every day https://discuss.pixls.us/t/bug-latest-gm...0-24/25607
Let see what he will say, if it's G'MIC or Ubuntu (if I recall, he is also using an Ubuntu based distro)
Posts: 571
Threads: 130
Joined: Nov 2019
Reputation:
4
I removed gmic when I used 2.10.23 AppImage. But the problem was still there.
Posts: 571
Threads: 130
Joined: Nov 2019
Reputation:
4
06-26-2021, 07:37 AM
(This post was last modified: 06-26-2021, 07:37 AM by meetdilip.)
Tired 2.10.23 and 25 AppImage s without plugins on Fedora 34 Live. Difference of Gaussians (legacy) blank canvas issue happened there as well, on both versions.
Posts: 1,528
Threads: 70
Joined: May 2021
Reputation:
167
Operating system(s):
Gimp version: 2.10
I just tried the english version of bede2.10.py => https://www.gimpscripts.net/2021/04/phot...lugin.html with G'MIC 2.9.7
and it does work fine with GIMP 2.10.25 appimage.
about Difference of Gaussians (legacy), indeed there seems to be a bug in the appimage and the .deb package
Posts: 6,361
Threads: 275
Joined: Oct 2016
Reputation:
565
Operating system(s):
Gimp version: 2.10
(06-26-2021, 03:35 AM)meetdilip Wrote: Hi, I heavily depend on Filters > Edge Detect > Difference of Gaussians (legacy ) to convert images into line art. During the last couple of days ( perhaps a week ), whenever I use this option, the output is a blank canvas.
Works fine in my self-compiled 2.10.25 (which is also a very early 2.10.25):
Posts: 7,136
Threads: 155
Joined: Oct 2016
Reputation:
1,006
Operating system(s):
Gimp version: 2.10
06-26-2021, 08:54 AM
(This post was last modified: 06-26-2021, 09:13 AM by rich2005.
Edit Reason: added quote
)
@meeetdilip
Quote:Edit 2 : I replaced the GMIC QT plugin (gmic_gimp_qt-298) which I got from this website to .config > gmic and turned off the GMIC auto updates. But even then both the filters are not working.
You also need to replace the gmic updated298.gmic file see below:
-------------
The gmic code is constantly changing which can break some of those filters.
The latest 2.9.8 does have a problem with the updates.
For 'buntu 18.04 / mint 19 / gimp appimages you can get:
The 2.9.8 plugin https://u.pcloud.link/publink/show?code=...lGrJGFii8V goes in ~/.config/GIMP-AppImage/2.10/plug-ins/
A working gmic update file https://u.pcloud.link/publink/show?code=...ObzX1Hfxm7 goes in ~/.config/gmic/
You could indeed go back to a gmic_gimp_qt 2.9.7 although some of the newer testing filters might not be there.
For gimp appimages you will find one here: https://www.gimp-forum.net/Thread-gmic-g...untu-18-04
This explanation of the Gimp appimage built-in gmic plugin and replacements. https://youtu.be/SI9-f_bSpTc with that bede plugin
Just a note, not only linux problem, the same for Windows Gimp 2.10.24 / gmic_gimp_qt 2.9.8
Posts: 571
Threads: 130
Joined: Nov 2019
Reputation:
4
06-26-2021, 12:14 PM
(This post was last modified: 06-26-2021, 12:15 PM by meetdilip.)
Thanks @rich2005
After replacing the 2 files
1. Comic Book for 2.10 is working
2. Difference of Gaussians (legacy) blank canvas stays
Edit - in preview, it shows correctly
|