When using graphics/gimp-gmic-plugin the Filter 'Film Emulation causes a network error. I tried it with the latest port – and also with an older port: 1.5.9.0_6 in the latest port it is this message *** Error in ./gimp_emulate_film_bw/_gimp_emulate_film/*if/*if/*if* *** Unreachable network file 'http://gmic.sourceforge.net/data_film_presets/ilford_hp5_plus_400.cimgz'. In the 1.5.9.0_6 port it is this: *** Error in ./gimp_emulate_film_bw/_gimp_emulate_film/*if/*if/*if/ *** cimg::load_network_external(): Failed to load file 'http://gmic.sourceforge.net/data_film_presets/ilford_hp5_plus400.cimgz' with external commands 'wget' or 'curl'. The Reason is: the called location isn't available any more: Wrong: http://gmic.sourceforge.net/data_film_presets Correct: http://gmic.eu/data_film_presets/ This new URL should be in the Code. Not the old one.
Maybe you can go to version 1.6.8 - Latest stable version.
Today I am wondering: why this error comes up now? The URL changed already before! And also should there no notwork connection necessary if(!) this filter is already used before! Every used film_emulation_filter is only loaded from the Internet on FIRST USE! After that first use it should be stored somewhere local. It seems that this usage of local stored filters is broken.. Its always looking to the internet. But why? Maybe I'm wrong, but every try to store the filters local, to avoid the network error, wasn't successful :(
Hi, I just tried to patch src/gmic_def.gmic by replacing old url's with new ones. But it doesn't fixed the situation: it created empty ~/.gmic_film_data directory and I'm seeing some zero-sized .gmicz files created in /tmp, but it still doesn't apply this filters. I also tried to select "[download all filters]" or something like that and it also doesn't working. So I'm now trying to update to 1.6.8.
Btw, there is the link [1] where you can download all the plugins manually and extract them into ~/.gmic_film_presets. [1] http://gmic.eu/data_film_presets/all_gmic_film_presets.zip
Is it possible, that you ask the GMIC people - what happened? That must bei a basic change on the filter system/naming/placement.. There is also a maintainer - (Project Manager and Main Developer) David Tschumperlé. By the Way, another Bug in GMIC on freeBSD was, that the filter "Details / Sharpen [inverse diffusion]" crashes since 1.6 - thats why I stuck to 1.5.9. Maybe you can test this in 1.6.8
I Tried also the manually download and put the results into ~/.gmic_film_presets. I tried both: get all: http://gmic.eu/data_film_presets/all_gmic_film_presets.zip and get some - picked out of this dir: http://gmic.eu/data_film_presets e.g. http://gmic.eu/data_film_presets/ilford_hp5_plus_400.cimgz If you pick ALL then the names are different: film_ilford_hp5_plus_400.cimgz ilford_hp5_plus_400.cimgz But - both don't work!
Created attachment 164207 [details] gmic 1.6.8 update So I finally ported 1.6.8 and can't say if it solves your problem (fetching of presets). But it definitely doesn't saves them to ~/.gmic_film_presets. So I asked here: https://github.com/dtschump/gmic-minimal/issues/3 You also can apply this patch to your ports tree and test yourself.
"Details / Sharpen [inverse diffusion]" doesn't seems crashing in 1.6.8 for me.
Got the response: presets are now cached into ~/.config/gmic and it's working. Please test it and let me know if everything is fine now.
In 1.6.8 NOTHING works. EVERY Filter throws that: ,---- | cimg::fopen(): Failed to open '/proc/self/status' with mode 'rb'. `----
Let's leave the merge-quarterly flag ? until MFH commit lands with PR: reference to this issue. Then set + :)
has this anything to do with it: the olde one is in 'FreeBSD configuration' and the new one in 'default Unix configuration': ===> Configuring for gimp-gmic-plugin-1.5.9.0_6 ===> Building for gimp-gmic-plugin-1.5.9.0_6 gmake[2]: Entering directory '/usr/ports/graphics/gimp-gmic-plugin/work/gmic-1.5.9.0/src' ** ** FreeBSD configuration ** ===> Configuring for gimp-gmic-plugin-1.6.8 ===> Building for gimp-gmic-plugin-1.6.8 gmake[2]: Entering directory '/usr/ports/graphics/gimp-gmic-plugin/work/gmic-1.6.8/src' ** ** Start building G'MIC with default Unix configuration. **
What does this mean: Let's leave the merge-quarterly flag ? until MFH commit lands with PR: reference to this issue. Then set + :) Sorry I am not a developer. If there is anything to patch, please write CLEARLY -what to do -in which folder
(In reply to rotkap from comment #13) The comment was more for Ruslan :)
(In reply to rotkap from comment #10) What is your FreeBSD version/architecture? Do you have procfs mounted?
(In reply to Kubilay Kocak from comment #11) Sorry, looks like I don't understand how it works in bugzilla. I added '+' to mark it as 'should MFH'.
(In reply to rotkap from comment #12) That's ok. In older versions of gmic we needed some custom build code for FreeBSD, not it's not needed anymore.
my system is: FreeBSD 10.1-RELEASE-p5 amd64 I Do not have any procfs mounted (I even dont Know what it is for, and my system runs very good whithout it) What I did was just this: cd /usr/ports/graphics/gimp-gmic-plugin patch < gmic-168.diff That was it.
I have procfs mounted because I'm gnome user. Anyway, I can't reproduce your errors, so I'd recommend to try to mount procfs. Add this line to your /etc/fstab and do `mount /proc`. proc /proc procfs rw 0 0 If it's indeed required to run gimp-gmic, then I'll add this into pkg-message.
Please can you ask the Gmic people, if this is realy new in 1.6.8? The Plugin always worked whithout that until now.. Why this is now needed?
I just unmounted procfs and it still working just fine here. So looks like it's not the cause. The only difference with you that I test in FreeBSD 11.
Okay, now I have procfs mounted: But still the same Errror: ,---- | cimg::fopen(): Failed to open '/proc/self/status' with mode 'rb'. `---- That was not the reason.
Yes, I already checked it in previous comment and said so. Btw, where do you seeing this error?
It comes in a popup window: http://rotkap.tsdh.org/Gmic-Error168.png It apears when I Press OK (or th other Button, that caption I have only in Germen - it menas "go"). To mee, it looks like it comes "on the end" of that operation. The Preview window works.
Aha, now I see it too. Only used preview and Apply before.
Oh - ypu can see it. In my case it comes up even on the Apply button.
One idea für the behavior of gimp-gmic-plug < 1.6.8 (eg. 1.6, 1.5..) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205390 The software gimp is always forgetting his screens! After every new Start, there are always windows missing, that should be there, since last quit of the software. It seems, that gimp is not writing its settings on close. I highly think that is something to do with this gimp-gmic-plugin Bug: The gimp-gmic-plugin has a “double error”: The project has changed the URL where to find Filters in the Internet – BUT it has also forgotten its local stored filters. So it is always searching the Internet und fails. The Question is: Why it is searching in the net – when it has the filters local? See the relation? Gimp always forget his settings – also does gimp-gmic-plugin do: Forget its settings.
Hm, /proc/self/status is first class linuxismus ... On FreeBSD I haven't seen a /proc/self/... and I suspect there will never be one. This should be escalated to upstream if there is no easy solution to make this work on FreeBSD. Only a rant about the other error messages, and no I don't want to install X11 on console only any of my systems. I suspect gimp and plugins looking for updates even a local copy exists, now SF return a hard 404 instead a 301/302 redirect and that is not right handled by gimp and plugins. Are the issues also present with 1.5.x/1.6.x without internet access? (I suspect a hang until it run's in a timeout and no hard errors but that's only a guess)
1) I was thinking about the linuxismus: What does GMIC with /proc/self/ on Windows? 2) To the original PR: Yes, Gmic (not Gimp!) is looking for it's filters in the net, even if a local copy exists. But: There is a Howto for Offline working, but it does not work with GMIC 1.5.x and 1.6.x guess: the internal structure of it's filters has changed (Binary type / *.cimgz). So a Download and offline use of this Filters (zip-file) fails, because this filters are brandnew and only for 1.6.8. Workaround: maybe: get some offline filters for 1.5x to 1.6.x (not 1.6.8). It could work. Maybe. 3) Yes, the the issues also present with 1.5.x/1.6.x - independent to the Internet Access Finaly: it seems to be a double Bug in 1.5.x /1.6.x (maybe not 1.6.8): 1) the URL changed 2) the offline format/structure of the filters changed
Hi, is there something happen? Or is this peace of open source software unusable forever?!
What does this mean (reveived via mail): https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205257 Kubilay Kocak <koobs@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=2053 | |90
Created attachment 167419 [details] patch-1.6.9 Heino, can you test if the problem is reproducable with this patch applied ? Have you tried to rise an issue with upstream at https://github.com/dtschump/gmic ?
A commit references this bug: Author: rm Date: Tue Mar 22 21:57:06 UTC 2016 New revision: 411677 URL: https://svnweb.freebsd.org/changeset/ports/411677 Log: graphics/gimp-gmic-plugin: update to 1.6.9 This update also solving problem with presets downloading, mentioned in PR. PR: 205257 MFH: 2016Q1 Changes: head/graphics/gimp-gmic-plugin/Makefile head/graphics/gimp-gmic-plugin/distinfo head/graphics/gimp-gmic-plugin/files/patch-Makefile head/graphics/gimp-gmic-plugin/files/patch-gmic__gimp.cpp
Problem resolved.