Lillian003 / tonatiuh

Automatically exported from code.google.com/p/tonatiuh
0 stars 0 forks source link

deleting tracker crashes Tonatiuh #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start Tonatiuh
2. Select RootNode
3. Create Heliostat_tracker
4. Select Heliostat_tracker
5. Right-click and select Delete

What is the expected output? What do you see instead?
expect: Heliostat_tracker is deleted
observe: Tonatiuh crashes with message "CmdDeleteTracker Null tracker."

What version of the product are you using? On what operating system?
Tonatiuh Revision 2570 on Suse Linux Enterprise Server 11 SP1 with SLE SDK 11 
SP1

Please provide any additional information below.
This scenario is artificial to demonstrate the essence of the problem. Finally 
I want to be able to delete Heliostat Trackers in realistic scenarios.

Original issue reported on code.google.com by schnfx...@googlemail.com on 27 Mar 2012 at 7:47

GoogleCodeExporter commented 8 years ago
Hello,

I haven't experienced that problem with tonatiuh 1.2.5. I have tried it in 
Linux and Windows. We have just released a new version (Tonatiuh 1.2.6), where 
we have fixed a minor bug 
[http://code.google.com/p/tonatiuh/issues/detail?id=58&can=1] Please, try with 
this one and if the problem continues, please, report it.
Otherwise, the steps you are following are not correct at all to define a 
tracker so you migth be  having problems because of that. These are the minimum 
steps to define a traker:
1. Start Tonatiuh
2. Select RootNode
2a. Create TSeparatorKit node
2b. Select TSeparatorKit node
3. Create Heliostat_tracker
4. Select Heliostat_tracker
5. Right-click and select Delete

Best regards,
Sergio

Original comment by sergio.g...@gmail.com on 29 Mar 2012 at 9:11

GoogleCodeExporter commented 8 years ago
Hello Sergio,

I checked out Revision 2639 which has comment "version 1.2.6". I build it and 
run it. Following your minimum steps to define a tracker, I get a crash with 
message "CmdDeleteTracker Null tracker."

Best regards,
Felix

PS: this certainly isn't a critical issue.

Original comment by schnfx...@googlemail.com on 29 Mar 2012 at 2:37

GoogleCodeExporter commented 8 years ago
Hello Felix,

I'm completely surprised about that issue. You are using Tonatiuh within 
eclipse, aren't you? Have you make a distclean after updating Tonatiuh?
Other thing you can do is download Tonatiuh directly from the downloads site 
and check whether this error happens or not.
In linux,(here we are using Ubuntu) it seems to be a problem when you delete a 
tracker  after the sun is been defined. It might be a compatibility problem 
between Tonatiuh and some Linux operating systems (in windows all trackers are 
working fine).

Please give me further information about that. It is happening allways and with 
all trackers? The problem appears when you delete or when you undo a deletion?

Best regards,
Sergio

Original comment by sergio.g...@gmail.com on 29 Mar 2012 at 3:28

GoogleCodeExporter commented 8 years ago
Hello Sergio,

yes, I am using Eclipse and the Subversive plugin to download/build/run 
Tonatiuh. I followed the steps in your wiki "InstallingForLinux", with some 
modifications. I wanted to avoid using root privileges (although I have them) 
when building/installing the required components (Qt, Simage, Coin3D, SoQt, 
Marble, BerkleyDB). Therefore I chose directories under my ordinary user home 
directory and used --prefix=$HOME/local for the configure scripts. I adjusted 
the TDE_ROOT and TONATIUH_ROOT variables.

When checking out a revision, in the "SVN Repository" perspective I right-click 
on "REVISIONS" and select "Select Revision...". In the "Add Revision Link" 
dialogue I select "Revision" and click on "Browse". In the "Select Revision" 
dialogue I search for the revision that has comment "version 1.2.6" which is 
Revision 2639, select it and click OK. In "Add Revision Link" click OK. Then in 
the "SVN Repositories" tree view I navigate to "^trunk 2639/trunk 
2639/TonatiuhProject 2639" and right click and select "Check out as..." and 
follow the subsequent procedure. By this I create a completely new project 
directory tree.

Under these circumstances do I have to do a "make distclean" nevertheless?

I don't have downloaded the the 1.2.6 binary package yet, but when I try to 
start the 1.2.5 binary, I get the message "Cannot mix incompatible Qt library 
(version 0x40704) with this library (version 0x40701)" and the Tonatiuh.sh 
script aborts.

Best regards,
Felix

Original comment by schnfx...@googlemail.com on 30 Mar 2012 at 7:16

GoogleCodeExporter commented 8 years ago
Hello Sergio,

some more information bits:
I downloaded Tonatiuh binary 1.2.6 for Linux64. I created a new operating 
system user "tonatiuh" with default environment settings. When logged in as 
this user Tonatiuh 1.2.6 starts fine from the command line (no Eclipse). 
Following the "minimum steps to define a tracker" the "delete" again leads to a 
crash with "CmdDeleteTracker Null tracker."  message

Regards,
Felix

Original comment by schnfx...@googlemail.com on 30 Mar 2012 at 8:57