[Therion] Therion 5.3.16 - Error opening th and th2 files
Bill Gee
bgee at campercaver.net
Fri Jan 9 03:48:14 CET 2015
Hi Stacho -
If I name the thconfig file on the xtherion command line, then it will open. If
I run xtherion with no command line options, then use File-Open to get a
thconfig file, it will fail.
Running tk_getOpenFile inside wish works. It opens a file browser dialog box.
I reverted one of my test systems to therion 5.3.15. The problem still
exists. There is no "make uninstall" target, so I just deleted the three
binary files (loch, therion, xtherion) from /usr/local/bin and then compiled
and installed 5.3.15.
I have version 8.6.3 of both Tcl and Tk.
So far all of my testing has been on Fedora 21 systems. I have a Centos 7
test system which has never had Therion installed. Tomorrow I will give it a
try.
Thanks - Bill Gee
On Thursday, January 08, 2015 23:04:07 Stacho Mudrak wrote:
> Hi Bill,
>
> it looks to me, that commands that are shown are dynamic library routines,
> not the system commands.
>
> When I will have time, I can install Fedora on some machine to see, what is
> going on. It is really strange.
>
> It looks to me, that tk_getOpenFile fails from some reason, but it looks
> like a tcltk installation problem, not the therion one. At least, it fails
> in /usr/share/tk8.6/tkfbox.tcl, which is I believe a part of TclTk
> installation.
>
> Are you able to run in X console:
>
> wish
> % tk_getOpenFile
>
> It should open File Open dialog. But if you are able to open thcofig file,
> it is probably a wrong lead...
>
> S.
>
> On 8 January 2015 at 21:43, Bill Gee <bgee at campercaver.net> wrote:
> > Hi Stacho -
> >
> > Both File-Open and Ctrl-O give the same error. I tried it on several
> > different
> > caves, too, and nothing changed. I also tried creating a new file. Same
> > error.
> >
> > I even tried it on a brand new cave by opening xtherion and then
> > immediately
> > going to the text edit window and trying to create a new file.
> >
> > I tried it on both 32-bit and 64-bit Fedora 21. No change, same behavior
> > on
> > both.
> >
> > When I did that last, there were some interesting messages in the bash
> > window.
> >
> > =============
> > [bgee at main2 ~]$ bgerror failed to handle background error.
> >
> > Original error: invalid after png_start_read_image or
> >
> > png_read_update_info
> >
> > Error in bgerror: can't invoke "grab" command: application has been
> >
> > destroyed
> > bgerror failed to handle background error.
> >
> > Original error: can't read "data(upd,afterid)": no such variable
> > Error in bgerror: can't invoke "tk" command: application has been
> >
> > destroyed
> >
> > [1]+ Done xtherion
> > [bgee at main2 ~]$ which tk
> > /usr/bin/which: no tk in
> >
> > (/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/u
> > sr/bin:/usr/sbin:/bin:/sbin:/home/bgee/bin) [bgee at main2 ~]$ tk
> > bash: tk: command not found
> > [bgee at main2 ~]$
> > =============
> >
> > I confirmed that tk is installed, yet there is no command called tk.
> >
> > When I get a chance, I will revert a computer back to 5.3.15 and see what
> > happens.
> >
> > Thanks - Bill Gee
> >
> > On Thursday, January 08, 2015 21:22:46 Stacho Mudrak wrote:
> > > Looks strange, especially, when it works in compiler. As far as I know,
> > > nothing was touched in xtherion in newest version.
> > >
> > > Are you able to open new file via File->Open or Ctrl+O?
> > >
> > > S.
> > >
> > > On 8 January 2015 at 17:34, Bill Gee <bgee at campercaver.net> wrote:
> > > > Hello everyone -
> > > >
> > > > I installed therion 5.3.16 a week ago but never did anything more than
> > > > verify
> > > > it would start. Now I need to do some work on a map. In xtherion -
> > > > Whenever
> > > > I try to open either a th or th2 file (text editor or map editor
> >
> > windows),
> >
> > > > it
> > > > throws an error. I took a screen shot and attached to this message.
> > > >
> > > > The error comes up as soon as I click on the File-Open icon. It never
> > > > presents a file chooser dialog.
> > > >
> > > > The cave will compile correctly. The thconfig file opens without
> >
> > error.
> >
> > > > This
> > > > all worked in 5.3.15.
> > > >
> > > > The system is 64-bit Fedora 21.
> > > >
> > > > Any ideas?
> > > >
> > > > Thanks - Bill Gee
> > > >
> > > >
> > > > _______________________________________________
> > > > Therion mailing list
> > > > Therion at speleo.sk
> > > > http://mailman.speleo.sk/mailman/listinfo/therion
> >
> > _______________________________________________
> > Therion mailing list
> > Therion at speleo.sk
> > http://mailman.speleo.sk/mailman/listinfo/therion
More information about the Therion
mailing list