[therion] Wook's persistent Therion bug
Stacho Mudrak
s.m at speleo.sk
Tue Jun 22 10:12:44 CEST 2004
After reading your file several time, it seems to be very simple error. You are missing survey command in the beginning of your file :))) Change your file to following:
encoding utf-8
survey soundriver
[current file contents]
endsurvey soundriver # if this command already does not exists at the end of your file
I'm sending you your source files separately (they work on my computer). You can diff them and see, where is the difference.
> soundriver.th gives 'invalid command context' with v0.2.19 and 0.3.1 at
> first 'end' command (endmap, endcenterline). If I change endcenterline to
> 'end centerline' then I get a segfault instead.
This is OK. Multiline command (like map or centerline) is inserted into database when endmap(endcenterline) is readed. Note, that you must type "endcenterline" not "end centerline". The segfault is real therion bug - I'll fix in the next version.
> I don't really understand what this context stuff is about but maybe this
> will be a clue.
It's very simple - in fact all therion commands must be placed between survey - endsurvey commands (survey context). And all 2D commands (point, line, area) must be placed between scrap - endscrap commands (scrap context). I'll send you your data files (once you have sent them to us) that work correctly. You can diff with your files to see the difference.
Thanks for your feedback, I hope it will work now (at least the files I will send you).
Regards, S.
More information about the Therion
mailing list