Re: [Therion] cavern exit code 256
Thank you very much! I corrected all my fixes to the right syntax now and it works fine. Am 2017-04-05 20:02, schrieb Olly Betts: On Sun, Apr 02, 2017 at 11:49:54PM +0200, Benedikt Hallinger via Therion wrote: The source giving causing it is: >fix 1.0 x y z 0 0 0 If i remove the standard-deviation zeros, cavern stops to complain. The reason was that the entrance location was measured by public service against official grid by theodolite and as such is "perfectly correct". How can i give this information? Am i forced to use some minimal positive fraction? (eg. "0.1"?) Just omit the SDs - that means it's an exact fix. If yes, could this be an cavern bug? It's really a bug in the .svx file therion generates - it should omit the zero SDs even if they're explicitly specified in the .th file, since the documented syntax for an exact *FIX command is that you omit the SDs. Cheers, Olly ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] cavern exit code 256
On Sun, Apr 02, 2017 at 12:53:25PM +0200, Benedikt Hallinger via Therion wrote: > when compiling my project, i get an cavern error: > > >therion: warning -- cavern exit code -- 256 > > Everything seems to be fine in the map, but what does this exit code mean? 256 is the number returned by system(), which runs another program. If the bottom 8 bits are zero (as here) then the next 8 bits are the exit status of cavern, so in this case 1 which means there was an error (or multiple errors) while procesing the data. If cavern had been killed by a signal (e.g. a segmentation fault) then the bottom 8 bits would be (signal_number | 0x80), so on Linux you'd get 139 for a segmentation fault. Cheers, Olly ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] cavern exit code 256
On Sun, Apr 02, 2017 at 11:49:54PM +0200, Benedikt Hallinger via Therion wrote: > The source giving causing it is: > >fix 1.0 x y z 0 0 0 > > If i remove the standard-deviation zeros, cavern stops to complain. > > The reason was that the entrance location was measured by public service > against official grid by theodolite and as such is "perfectly correct". > How can i give this information? Am i forced to use some minimal positive > fraction? (eg. "0.1"?) Just omit the SDs - that means it's an exact fix. > If yes, could this be an cavern bug? It's really a bug in the .svx file therion generates - it should omit the zero SDs even if they're explicitly specified in the .th file, since the documented syntax for an exact *FIX command is that you omit the SDs. Cheers, Olly ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] cavern exit code 256
I found it, the following error is reported by cavern: ### cavern log file 1> Survex 1.2.30 2> Copyright © 1990-2016 Olly Betts 3> /tmp/th24737/data.svx:113:47: Fehler: Standardabweichung muss positiv sein 4> *fix 1 --.-- --.-- ---.-- 0.00 0.00 0.00 5> ^~~~ The source giving causing it is: fix 1.0 x y z 0 0 0 If i remove the standard-deviation zeros, cavern stops to complain. The reason was that the entrance location was measured by public service against official grid by theodolite and as such is "perfectly correct". How can i give this information? Am i forced to use some minimal positive fraction? (eg. "0.1"?) If yes, could this be an cavern bug? Am 2017-04-02 12:53, schrieb Benedikt Hallinger: Hello, when compiling my project, i get an cavern error: therion: warning -- cavern exit code -- 256 Everything seems to be fine in the map, but what does this exit code mean? ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
[Therion] cavern exit code 256
Hello, when compiling my project, i get an cavern error: therion: warning -- cavern exit code -- 256 Everything seems to be fine in the map, but what does this exit code mean? ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion