Page 3 of 3

Re: possible bug show: in IM 6.7.1.0 Q16 Mac OSX

Posted: 2011-08-04T22:55:37-07:00
by anthony
fmw42 wrote:<delegate decode="miff" encode="show" spawn="True" command=""/usr/local/bin/display" -delay 0 -window-group %[group] -title "%l " "ephemeral:%i"" echo show;/>


convert zelda1.jpg show:

I get no echo and no image showing.
You missed a semi-colon between commands.

<delegate decode="miff" encode="show" spawn="True" command=""/usr/local/bin/display" -delay 0 -window-group %[group] -title "%l " "ephemeral:%i"" ; echo show;/>

the semi-colon before it is part of the '"' character escape for XML (like HTML)

OR using "set -x"

<delegate decode="miff" encode="show" spawn="True" command="set -x; "/usr/local/bin/display" -delay 0 -window-group %[group] -title "%l " "ephemeral:%i""/>

If you now do not get any output that delegate is not running! Presumably then an internal "show" delegate is running instead!

Re: possible bug show: in IM 6.7.1.0 Q16 Mac OSX

Posted: 2011-08-05T09:48:48-07:00
by fmw42
Making each of the changes you list above makes no difference. No image displayed and no listing to the terminal.

One last question. After editing the delegates.xml file and saving it, do I need to reboot? I have not been doing that.

Re: possible bug show: in IM 6.7.1.0 Q16 Mac OSX

Posted: 2011-08-07T22:17:00-07:00
by anthony
A reboot is only needed when a 'daemon' system process is involved, that needs to 'reread' its configuration or settings.
And even then you can often avoid the reboot.

IM however is not a daemon process (not yet anyway), a reboot is NOT needed.

It looks to me like the system delegate.xml file is not being read! Perhaps Cristy can shed light on why this is the case.
Most likely it means that these delgates are compiled in though if that is the case why provide a external install file! And how can we tell if they actually match what the system defult file declares?

Looks like we are back to creating personal delegate and modifying that.
So make your your "show" and "win" delegate copy (using some other name) and see if they act like the system version.

Re: possible bug show: in IM 6.7.1.0 Q16 Mac OSX

Posted: 2011-08-17T18:01:12-07:00
by fmw42
IM 6.7.1.7 Q16 HDRI Mac OSX Tiger

convert rose: show:

is working again. What was changed?

Re: possible bug show: in IM 6.7.1.0 Q16 Mac OSX

Posted: 2011-08-18T00:11:58-07:00
by anthony
No idea. Though setting -verbose will now have IM report the the delegate executed and the save info for the input image into the output delegate.

That is a useful addition.

Re: possible bug show: in IM 6.7.1.0 Q16 Mac OSX

Posted: 2011-08-18T09:31:51-07:00
by fmw42
The only difference I know is that I am now in HDRI mode. I will check again when I get back to non-hdri mode.

Re: possible bug show: in IM 6.7.1.0 Q16 Mac OSX

Posted: 2011-08-18T16:59:04-07:00
by anthony
That certainly could effect a timing or race condition issue.

The strangest thing about all this, is that if display is actually running, but failing to read its input why do we not see any error about file or image not found? And if display is not running why don't we get an error to say it failed to be run. We should at least get some error when "show:" fails.

Okay, I'll wait for you to re-compile.

NOTE: you can actually have two or more versions of IM installed, though 'personal' installs do seem to run a little slower due to extra setup time needed. I myself current have three. IM Q16 (system), IM Q16 HDRI (personal), and IM version 7 (personal)

Re: possible bug show: in IM 6.7.1.0 Q16 Mac OSX

Posted: 2011-09-14T13:30:53-07:00
by fmw42
Anthony wrote:Okay, I'll wait for you to re-compile.
OK. I just recompiled IM 6.7.2.6 Q16 HDRI and convert rose: show: works fine.

Then I recompiled as IM 7.7.2.6 Q16 (non-HDRI) and convert rose: show: still works fine.

So everything is working again as it used to. I don't know what happened in the earlier releases?


Mac OSX Tiger on PowerPC G4 Mac Mini