pebblle wrote:
survex is a separate program for handling cave survey data
OK. Now we're getting somewhere.
Oh god. survex requires junkware homebrew. Luckily for me, I did all this in a VM. But now I'm going to have to reset my VM when this is done.
Normally I just trash homebrew here in the forums. I don't install it. I had no idea it was this bad. What's it doing? Why does it take so long? It seems to be installing a complete operating system, with new versions all kinds of system files, none of which would ever be required. Now we're installing ffmpeg. I guess cave surveying also requires downloading copyrighted videos...
I'm in contact with someone about editing the Tunnel sourcecode to get it working
Don't waste your time. All this software is junk.
came here to ask about editing /usr/bin since that seemed like an easier fix for now.
You did the right thing. The only problem was you didn't ask for help until you were already well into the rabbit hole.
A walkthrough of exactly what I'm doing:
-Create survex file by copying the text at https://expo.survex.com/expofiles/tunnelwiki/wiki/pages/One_Quick_Example.html into a .txt file then changing it to .svx.
-Open Tunnel and doing File->open Survex/Topo and navigating to the .svx file I've just saved and opening it
-Tunnel opens a new window, as it is supposed to do, with the S-shaped path with the .svx file text attached to it, as it should do, but it fails to draw the centreline (survey data), and comes up with these warning messages:
OMG! Bless you.
After installing Homebrew and survex, I finally got to the point where I could reproduce the error. The error message in Terminal seems to suggest that I could change the path to the survex executable. Of course, there was no documentation for any of this. Even the raw HTML file on the GitHub site didn't mention anything. But I was able to download the source and track it down from there. Here's what you have to do:
Run the following Terminal command to set the survex path:
export SURVEX_EXECUTABLE_DIR=/opt/homebrew/bin/
Then, on the very next line, run the app:
java -jar tunnel2023j8.jar
If you want, you can combine both into a single script. Or put the export command into your shell profile. Lots of ways to do that.
It's horribly slow. It takes maybe a couple of minutes to load that file. I sure hope you weren't expecting much, because it sure doesn't do much. It doesn't look anything like that screenshot. But at least now you don't have to worry about hacking up your operating system to run it.
<big sigh>