[Therion] Background images and insert images not working

Vasily Vl. Suhachev v_su at inbox.ru
Tue Jan 21 16:14:12 CET 2014


Probably imagemagick command line tools is missing?

I had a similar problem and installing imagemagick helped to solve it

21.01.2014 22:48, Wookey пишет:
> +++ Wookey [2013-12-27 01:37 +0000]:
>> +++ cawa sorix [2013-12-25 17:25 +0100]:
>> Aha - it hapens on jessie and sid, but not wheezy. OK. I can reproduce now. Cheers Cawa.
>> Something to do with the libtk-img package perhaps, as that's
>> responsible for adding tck/tk png support. It's installed.
>> http://packages.qa.debian.org/libt/libtk-img.html shows that it changed
>> from 1.3 to 1.4  between stale (wheezy) and testing (jessie), which sugests that 1.3 works and 1.4 doesn't.
>> SImply reverting to v1.3 doesn't fix it, but maybe it's need to be rebuilt agianst the corresponding headers too?
> I rebuilt libtk-img 1:1.3-release-12 from stable in unstable and run
> xtherion against it. It still fails in exactly the same way as with
> libtk-img 1.4
>> So trying to insert background in a new (empty) .th2 file gives:
>> tag "command" doesn't match any items
>>      while executing
>> "$xth(me,can) lower $xth(me,imgs,$imgx,image) command"
> I have spend some time fiddling with this, but as I don;t really understand tcl I'm not getting very far.
> I beleive that "$xth(me,can)" is the xtherion map-editor canvas
> 'object'?, and "lower $xth(me,imgs,$imgx,image) " is the image in
> question. 'command' just seems to e a string not a variable so I don't know what 'command' it is trying to do?
> Removing 'command' from that line stops the error "tag "command" doesn't
> match any items", but doesn't change the behaviour.
> I don't understand why this works OK on stable, but not unstable. Given
> that libtk-img 1.3 and 1.4 seem to behave exactly the same in this
> regard, I guess the problem must be something else. Does that 'command' string
> get passed into libtk-img or processed elsewhere in xtherion?
> I've tried and failed to find the API spec for the tk-img library to help understand this.
> There do seem to have been some quite significant changes in the layout
> and packaging between 1.3 and 1.4, but nominally not in the
> functionality so far as I can tell.
> Can someone who understands tcl and libtk-img please give me some clues on how to debug this.
> cc:ed to the libtk-img maintainer in the hope that he can shed some light.
> Wookey

More information about the Therion mailing list