Hello, Hello, I've installed the win32 version of therion on a USB thumb drive, so that I can use it on my computer at work. This has worked fine until recently. Here is the error I get when I try to compile a map through xtherion. Error: can't read "xth(th_exit_number)"" no such element in array. Here is the contents of the log file: can't read "xth(th_exit_number)": no such element in array can't read "xth(th_exit_number)": no such element in array while executing "if {$xth(th_exit_number) == $xth(th_exit_number_last)} { set err 1 } else { set xth(th_exit_number_last) $xth(th_exit_number) }" (procedure "xth_cp_compile" line 78) invoked from within "xth_cp_compile" (procedure "xth_app_make" line 20) invoked from within "xth_app_make" (command bound to event) When I try to compile using therion directly from the command line, I get the following error: therion 0.5.2 cavern.exe - Survex 1.0.39 configuration file: thconfig reading ... done reading source files ... done preprocessing database ... done scanning centreline tree ... done searching for centerline loops ... done calculating station coordinates ... done average loop error: 2.41% processing survey data ... done calculating basic statistics ... done processing extended elevation ... done processing references ... done selecting export objects ... done processing projection plan ... done average distortion: 2.16% writing clay_plan.pdf ... The system cannot find the drive specified. therion: error -- metapost exit code -- 1 Press ENTER to exit! Any idea what might be causing it? Thanks. -- Jonny ^v^
First sorry for the late answer, I have lost this mail somehow between others :( On Mon, Jun 2, 2008 at 5:12 PM, Jonny Prouty <dormat@gmail.com> wrote:
Error: can't read "xth(th_exit_number)"" no such element in array.
This is a bug, thanks for pointing out - I will try to fix it.
When I try to compile using therion directly from the command line, I get the following error: writing clay_plan.pdf ... The system cannot find the drive specified. therion: error -- metapost exit code -- 1 Press ENTER to exit!
Well, this is another problem. It is probably due to installation on USB drive. Therion on Win32 has path to metapost and pdftex written to registry. If this error appears on your computer at home - reinstallation of therion could help. If it is on therion from USB drive - probably you need to set path to mpost/pdftex directly in therion.ini file. HTH, S.
What this problem ended up being is that the Therion installation on the USB drive became corrupt somehow. The mpost executable disappeared. Reinstalling fixed the problem perfectly. On Thu, Jun 12, 2008 at 10:09 AM, Stacho Mudrak <s.m@group-s.sk> wrote:
Well, this is another problem. It is probably due to installation on USB drive. Therion on Win32 has path to metapost and pdftex written to registry. If this error appears on your computer at home - reinstallation of therion could help. If it is on therion from USB drive - probably you need to set path to mpost/pdftex directly in therion.ini file.
HTH, S. _______________________________________________ Therion mailing list Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion
participants (2)
-
Jonny Prouty -
Stacho Mudrak