<div dir="ltr"><div dir="ltr"><div dir="ltr"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=2337800">https://bugzilla.redhat.com/show_bug.cgi?id=2337800</a></div><div dir="ltr"><br></div><div>According to <a href="https://wiki.tcl-lang.org/page/Img">https://wiki.tcl-lang.org/page/Img</a>, version 1.4.16 is not compatible with tcl9, and version 2.1.0 (or later) is required.</div><div><br></div><div>Cheers,</div><div>James</div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, 26 Aug 2025 at 06:57, Matěj Plch <<a href="mailto:plch.matej@gmail.com">plch.matej@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Bill,<br>
<br>
Can you please try to run XTherion on a new installation of Fedora 42,<br>
for example in a virtual machine? I see that Fedora 41 has tcl 8.6,<br>
and Fedora 42 has tcl 9, so maybe this is a leftover from a system<br>
upgrade. Also please note that after OS upgrade you need to do a clean<br>
rebuild of Therion, because libraries in different OS versions are<br>
usually not binary compatible.<br>
<br>
Matěj<br>
<br>
út 26. 8. 2025 v 1:40 odesílatel Bill Gee <<a href="mailto:bgee@campercaver.net" target="_blank">bgee@campercaver.net</a>> napsal:<br>
><br>
> Update - It seems I do NOT have Img installed on tcl9.0.<br>
><br>
> To check this, use the tcl interactive shell.<br>
><br>
> bgee@main2:~$ tclsh8.6<br>
> % package require Img<br>
> 1.4.16<br>
> % exit<br>
><br>
> bgee@main2:~$ tclsh9.0<br>
> % package require Img<br>
> can't find package Img<br>
> % exit<br>
><br>
> I searched around but found nothing on how to install Img for tcl 9.0.<br>
><br>
><br>
> ===============<br>
> Bill Gee<br>
><br>
> On 8/25/25 17:54, Bill Gee wrote:<br>
> > Hi Olly -<br>
> ><br>
> > Thanks for the information. I think it raises some new questions.<br>
> ><br>
> > If tkimg is required for both PNG and JPG, then why do PNG files work<br>
> > and JPG do not? If I have tkimg, then both should work, and if I do not<br>
> > have it then neither should work. Is that correct?<br>
> ><br>
> > How can I tell which versions of tcl have tkimg installed? If tkimg is<br>
> > not present, will xTherion then show an error like it does when bwidget<br>
> > is missing?<br>
> ><br>
> > Looking at the code for xTherion, I see line 27254 which has "package<br>
> > require Img". Is that the line where tkimg is loaded?<br>
> ><br>
> > I have never taken steps to install either bwidget or tkimg specifically<br>
> > for Tk/TCL. I have only used the RPM packages from the Fedora<br>
> > repository. Here are the packages I have installed:<br>
> ><br>
> > bgee@main2:~$ rpm -qa | grep tkimg<br>
> > tkimg-1.4.16-4.fc42.x86_64<br>
> ><br>
> > bgee@main2:~$ rpm -qa | grep bwidget<br>
> > kf5-kjobwidgets-5.116.0-3.fc42.x86_64<br>
> > bwidget-1.10.1-1.fc42.noarch<br>
> > kf6-kjobwidgets-6.17.0-1.fc42.x86_64<br>
> ><br>
> > bgee@main2:~$ rpm -qa | grep tcl<br>
> > tcl8-8.6.15-10.fc42.x86_64<br>
> > tcl-9.0.0-7.fc42.x86_64<br>
> ><br>
> ><br>
> > ===============<br>
> > Bill Gee<br>
> ><br>
> > On 8/25/25 16:49, Olly Betts wrote:<br>
> >> On Mon, Aug 25, 2025 at 10:10:32AM -0500, Bill Gee wrote:<br>
> >>> According to this, specifying "-file $ffname" will load the image using<br>
> >>> whatever format handler is registered for that type. Tk includes by<br>
> >>> default<br>
> >>> handlers for GIF and PPM/PGM formats. That is why PNG images still<br>
> >>> work.<br>
> >><br>
> >> Note PNG is a completely different format to PPM/PGM (and also to GIF).<br>
> >><br>
> >> AIUI it you need tkimg to get support for both PNG and JPG.<br>
> >><br>
> >>> So what is the deal? What does wish really do? Did the set of default<br>
> >>> image handlers change between wish 8.6 and 9.0?<br>
> >><br>
> >> "wish" is a windowing Tcl shell.<br>
> >><br>
> >> My guess is you have tkimg installed for Tcl 8.6 but not for 9.0 (like<br>
> >> how you had bwidget installed for 9.0 but not 8.6 until you hacked<br>
> >> around that by adding a symlink),<br>
> >><br>
> >> Cheers,<br>
> >> Olly<br>
> ><br>
> > _______________________________________________<br>
> > Therion mailing list<br>
> > <a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
> > <a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
><br>
> _______________________________________________<br>
> Therion mailing list<br>
> <a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
> <a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>