Hi, I have an infinite loop with Therion 5.3.9 on Ubuntu. I have to kill the processus to stop it. When I look to the Therion tmp working directory, there is a big file (some Go if I don't stop fastly) witch name is : th_pagedef.tex The begining of this file is in attachment. The infinite loop repeat this ending line : \PL{q}\PL{1.00 0.03 -0.03 1.00 -nan -inf cm}\PB{0}{0}{\THWgrida}\PL{Q}% I don't understand tex language... In attachment, the zip file with the file I compile. Sorry for my english, Bertrand
This reminded me to report an infinite loop situation I encountered on Windows. In my case it appears that if you create a single scrap and only put in survey points (i.e. no wall lines yet) and try to generate a PDF of the plan then Therion appears to run forever. As soon as you add some walls it compiles the project find, but this is not a serious problem. But it has caught me out a couple of times recently. Footleg On 26 February 2012 18:00, Bertrand HAUSER <bertrand@descente-canyon.com>wrote:
Hi,
I have an infinite loop with Therion 5.3.9 on Ubuntu. I have to kill the processus to stop it. When I look to the Therion tmp working directory, there is a big file (some Go if I don't stop fastly) witch name is : th_pagedef.tex The begining of this file is in attachment. The infinite loop repeat this ending line : \PL{q}\PL{1.00 0.03 -0.03 1.00 -nan -inf cm}\PB{0}{0}{\THWgrida}\PL{Q}% I don't understand tex language... In attachment, the zip file with the file I compile.
Sorry for my english, Bertrand
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Indeed, my problem appears in the same situation you describe. 2012/2/26 Footleg <drfootleg@gmail.com>
This reminded me to report an infinite loop situation I encountered on Windows. In my case it appears that if you create a single scrap and only put in survey points (i.e. no wall lines yet) and try to generate a PDF of the plan then Therion appears to run forever. As soon as you add some walls it compiles the project find, but this is not a serious problem. But it has caught me out a couple of times recently.
Footleg
On 26 February 2012 18:00, Bertrand HAUSER <bertrand@descente-canyon.com>wrote:
Hi,
I have an infinite loop with Therion 5.3.9 on Ubuntu. I have to kill the processus to stop it. When I look to the Therion tmp working directory, there is a big file (some Go if I don't stop fastly) witch name is : th_pagedef.tex The begining of this file is in attachment. The infinite loop repeat this ending line : \PL{q}\PL{1.00 0.03 -0.03 1.00 -nan -inf cm}\PB{0}{0}{\THWgrida}\PL{Q}% I don't understand tex language... In attachment, the zip file with the file I compile.
Sorry for my english, Bertrand
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Bertrand Using your files I get an infinite loop using Windows and therion 5.3.9, however on looking at your data I notice that you are relying heavily on the default projection for scraps and maps, which is 'plan'. Personally I recommend explicitly defining these for each scrap and map. I think you have a scrap intended as extended that is probably defaulting to plan. As Footleg mentioned, there are only survey stations and no walls. This in itself should not be a problem, as I have often had this situation for component maps in large cave maps, with no issues. It is a normal part of my progression towards drawing up each survey. I have had problems in the past by including a break statement with no scraps above it or below it. Changing this in your files did not change the behaviour however. If you put the list and model exports first, they produce valid outputs, as do the xvi maps, prior to the pdf and xhtml maps hanging. Placing simple exports first is a good way of making sure you get some output at least (might help with debugging in a general sense). Strangely if I create a map with just the survey in it and select it in the thconfig I still get the same problem. Looking at the loch model and inserting the xvi outputs in the th2 shows that the two scrap distortions must be huge, as the station arrangement in the scraps is nothing like realistic. The therion log file scrap distortions confirm this. processing projection plan ... done average distortion: 72.67% processing projection extended ... done average distortion: 62.04% So I don't have a solution for you unfortunately, but it would seem that there is enough distortion in your drawing that it might not be surprising that therion is having trouble. I am not sure. The next step would be to create a replacement th2 file, insert one of the xvi files , and then add the station points over the xvi stations. Then perhaps draw a couple of walls. Bruce _____ From: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Bertrand HAUSER Sent: Monday, 27 February 2012 7:01 a.m. To: List for Therion users Subject: [Therion] Infinite loop in therion 5.3.9 Hi, I have an infinite loop with Therion 5.3.9 on Ubuntu. I have to kill the processus to stop it. When I look to the Therion tmp working directory, there is a big file (some Go if I don't stop fastly) witch name is : th_pagedef.tex The begining of this file is in attachment. The infinite loop repeat this ending line : \PL{q}\PL{1.00 0.03 -0.03 1.00 -nan -inf cm}\PB{0}{0}{\THWgrida}\PL{Q}% I don't understand tex language... In attachment, the zip file with the file I compile. Sorry for my english, Bertrand
Right, I got to the bottom of what is causing my inifinte loop situation. It is because I had no walls, and had hidden the centreline symbol group. So there is nothing to draw on the PDF and this causes the issue. I have attached two examples because they behave differently. test.zip contains a project where I am importing the centreline from a survex.3d file. This goes into an infinite loop when you try to compile it (Windows 7 with Therion 5.3.9) test2.zip contains the more usual centreline data in the .th file. This causes Therion to throw a fatal exception and so you get an error in the compile. This is better behaviour as it exits immediately and indicates something is wrong. Footleg On 27 February 2012 08:36, Bruce <bruce@tomo.co.nz> wrote:
Bertrand
Using your files I get an infinite loop using Windows and therion 5.3.9, however on looking at your data I notice that you are relying heavily on the default projection for scraps and maps, which is ‘plan’. Personally I recommend explicitly defining these for each scrap and map. I think you have a scrap intended as extended that is probably defaulting to plan.
As Footleg mentioned, there are only survey stations and no walls. This in itself should not be a problem, as I have often had this situation for component maps in large cave maps, with no issues. It is a normal part of my progression towards drawing up each survey.
I have had problems in the past by including a break statement with no scraps above it or below it. Changing this in your files did not change the behaviour however.
If you put the list and model exports first, they produce valid outputs, as do the xvi maps, prior to the pdf and xhtml maps hanging. Placing simple exports first is a good way of making sure you get some output at least (might help with debugging in a general sense). Strangely if I create a map with just the survey in it and select it in the thconfig I still get the same problem.
Looking at the loch model and inserting the xvi outputs in the th2 shows that the two scrap distortions must be huge, as the station arrangement in the scraps is nothing like realistic. The therion log file scrap distortions confirm this.
processing projection plan ... done
average distortion: 72.67%
processing projection extended ... done
average distortion: 62.04%
So I don’t have a solution for you unfortunately, but it would seem that there is enough distortion in your drawing that it might not be surprising that therion is having trouble. I am not sure. The next step would be to create a replacement th2 file, insert one of the xvi files , and then add the station points over the xvi stations. Then perhaps draw a couple of walls…
Bruce
________________________________
From: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Bertrand HAUSER Sent: Monday, 27 February 2012 7:01 a.m. To: List for Therion users Subject: [Therion] Infinite loop in therion 5.3.9
Hi,
I have an infinite loop with Therion 5.3.9 on Ubuntu. I have to kill the processus to stop it.
When I look to the Therion tmp working directory, there is a big file (some Go if I don't stop fastly) witch name is : th_pagedef.tex
The begining of this file is in attachment. The infinite loop repeat this ending line : \PL{q}\PL{1.00 0.03 -0.03 1.00 -nan -inf cm}\PB{0}{0}{\THWgrida}\PL{Q}%
I don't understand tex language...
In attachment, the zip file with the file I compile.
Sorry for my english,
Bertrand
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Thanks a lot for finding out this issue. I will try to fix it. S. On 27 February 2012 11:41, Footleg <drfootleg@gmail.com> wrote:
Right, I got to the bottom of what is causing my inifinte loop situation. It is because I had no walls, and had hidden the centreline symbol group. So there is nothing to draw on the PDF and this causes the issue. I have attached two examples because they behave differently.
test.zip contains a project where I am importing the centreline from a survex.3d file. This goes into an infinite loop when you try to compile it (Windows 7 with Therion 5.3.9)
test2.zip contains the more usual centreline data in the .th file. This causes Therion to throw a fatal exception and so you get an error in the compile. This is better behaviour as it exits immediately and indicates something is wrong.
Footleg
On 27 February 2012 08:36, Bruce <bruce@tomo.co.nz> wrote:
Bertrand
Using your files I get an infinite loop using Windows and therion 5.3.9, however on looking at your data I notice that you are relying heavily on the default projection for scraps and maps, which is ‘plan’. Personally I recommend explicitly defining these for each scrap and map. I think you have a scrap intended as extended that is probably defaulting to plan.
As Footleg mentioned, there are only survey stations and no walls. This in itself should not be a problem, as I have often had this situation for component maps in large cave maps, with no issues. It is a normal part of my progression towards drawing up each survey.
I have had problems in the past by including a break statement with no scraps above it or below it. Changing this in your files did not change the behaviour however.
If you put the list and model exports first, they produce valid outputs, as do the xvi maps, prior to the pdf and xhtml maps hanging. Placing simple exports first is a good way of making sure you get some output at least (might help with debugging in a general sense). Strangely if I create a map with just the survey in it and select it in the thconfig I still get the same problem.
Looking at the loch model and inserting the xvi outputs in the th2 shows that the two scrap distortions must be huge, as the station arrangement in the scraps is nothing like realistic. The therion log file scrap distortions confirm this.
processing projection plan ... done
average distortion: 72.67%
processing projection extended ... done
average distortion: 62.04%
So I don’t have a solution for you unfortunately, but it would seem that there is enough distortion in your drawing that it might not be surprising that therion is having trouble. I am not sure. The next step would be to create a replacement th2 file, insert one of the xvi files , and then add the station points over the xvi stations. Then perhaps draw a couple of walls…
Bruce
________________________________
From: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Bertrand HAUSER Sent: Monday, 27 February 2012 7:01 a.m. To: List for Therion users Subject: [Therion] Infinite loop in therion 5.3.9
Hi,
I have an infinite loop with Therion 5.3.9 on Ubuntu. I have to kill the processus to stop it.
When I look to the Therion tmp working directory, there is a big file (some Go if I don't stop fastly) witch name is : th_pagedef.tex
The begining of this file is in attachment. The infinite loop repeat this ending line : \PL{q}\PL{1.00 0.03 -0.03 1.00 -nan -inf cm}\PB{0}{0}{\THWgrida}\PL{Q}%
I don't understand tex language...
In attachment, the zip file with the file I compile.
Sorry for my english,
Bertrand
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
It is because I had no walls, and had hidden the centreline symbol group. So there is nothing to draw on the PDF and this causes the issue.
Dang! I thought of this possibility after my last post. I have even done it myself a few times. Lesson for the day. When debugging problems with 2-d projections, first disable the layouts as they often contain the problem entries! Bruce
participants (4)
-
Bertrand HAUSER -
Bruce -
Footleg -
Stacho Mudrak