Page 1 of 1

1.3.2pre8 - Text Entry/Locations crash bug

Posted: 06.06.2004, 18:07
by ajtribick
Using WinXP, GeForce 3 Ti 200.

When typing in object names in the text entry field obtained by pressing ENTER, a crash occurs on trying to select an object in orbit around another:

"55 Cnc/c/Blah" will cause a crash at typing the second forward slash.

On further investigation I have found that this applies to satellites of ALL objects which do not have locations defined on their surfaces, with the exception of stars.

E.g. typing "Saturn/Atlas" (from within Sol System) causes the crash.

After creating a location on Saturn's surface, "Saturn/Atlas" does work.

Testing further I found that if you create a moon around Mercury this works, but a moon around that moon will not work.

A possibly related problem seems to be that if an object has locations but not satellites (e.g. Venus), then the location names are not shown in the box list (even though typing "Venus/Ishtar Terra" will select that particular location). If the object has satellites then the location names are displayed.

Error Signature:

AppName: celestia.exe AppVer: 1.0.0.1 ModName: celestia.exe
ModVer: 1.0.0.1 Offset: 0008e8c8

Posted: 06.06.2004, 19:08
by granthutchison
I can't reproduce your Saturn/Atlas crash - I've tried several existing solar system bodies with no problems.

Celestia 1.3.2pre8
Win XP Pro 2002 SP1
GeForce4 Ti 4600

Grant

Posted: 06.06.2004, 20:06
by granthutchison
But confirm the problem with a satellite of 55 Cnc c and with a subsatellite of Mercury.

Grant

Re: 1.3.2pre8 - Text Entry/Locations crash bug

Posted: 06.06.2004, 21:24
by chris
chaos syndrome wrote:Using WinXP, GeForce 3 Ti 200.

When typing in object names in the text entry field obtained by pressing ENTER, a crash occurs on trying to select an object in orbit around another:

"55 Cnc/c/Blah" will cause a crash at typing the second forward slash.

On further investigation I have found that this applies to satellites of ALL objects which do not have locations defined on their surfaces, with the exception of stars.

E.g. typing "Saturn/Atlas" (from within Sol System) causes the crash.

After creating a location on Saturn's surface, "Saturn/Atlas" does work.

Thank you for the bug report. And thank you especially for providing enough details that I was able to find and fix the source of the problem within 10 minutes.

Testing further I found that if you create a moon around Mercury this works, but a moon around that moon will not work.

A possibly related problem seems to be that if an object has locations but not satellites (e.g. Venus), then the location names are not shown in the box list (even though typing "Venus/Ishtar Terra" will select that particular location). If the object has satellites then the location names are displayed.

Location names are only displayed in the completion box when location labels are enabled. This is intentional, designed to avoid cluttering the completion box when you're not looking at locations.

--Chris

Re: 1.3.2pre8 - Text Entry/Locations crash bug

Posted: 06.06.2004, 21:39
by granthutchison
chris wrote:Location names are only displayed in the completion box when location labels are enabled. This is intentional, designed to avoid cluttering the completion box when you're not looking at locations.

The problem exists with locations enabled:
Hit return, type "mars/" and Mars locations will be listed; but type "mercury/" and no locations appear. However, if I provide Mercury with a satellite, locations are listed.

Grant

Re: 1.3.2pre8 - Text Entry/Locations crash bug

Posted: 07.06.2004, 04:53
by chris
granthutchison wrote:
chris wrote:Location names are only displayed in the completion box when location labels are enabled. This is intentional, designed to avoid cluttering the completion box when you're not looking at locations.
The problem exists with locations enabled:
Hit return, type "mars/" and Mars locations will be listed; but type "mercury/" and no locations appear. However, if I provide Mercury with a satellite, locations are listed.

Grant


I used Venus when attempting to reproduce the problem, completely forgetting that I had the Magellan add-on installed. Oops. I checked in a simple fix to the CVS tree.

--Chris

Posted: 20.10.2007, 03:10
by BobHegwood
Would just like to add the following for 1.5 pre3...

When I press enter to type in the name of an object, I cannot get to
Kleopatra, Geographos, and various others. This occurs even though these
items are listed in the asteroids.ssc file in the data folder.

Just FYI...

Posted: 20.10.2007, 03:25
by selden
Bob,

That's strange. When in the Solar system (when the Sun is the currently selected Star), when I tpye just Kleopatra to [return]selection[return], Kleopatra is selected and typing a "g" goes to it.

Maybe you have some other Star selected? Typing just an asteroid's name can't work if some other Star is selected. In that case you have to type "Sol/Kleopatra" so that it knows that you are trying to select the Kleopatra which orbits our Sun and not the (nonexistent) Kleopatra orbiting the currently selected Star.

(I'm still amused that Kleopatra looks just like a dog's chew-toy. But sometimes I'm easily amused. :) )

Posted: 20.10.2007, 12:06
by BobHegwood
No, I'm pretty certain that I was in the Solar System because that was
one of the things I tried. At any rate, why would some of them show up in
the typing, and others NOT?

Doesn't make any sense. Will play around some more and see what I can
find.

Just thought I'd ask first. :wink:

Thanks again, Bob

EDIT: Just tried it again to verify Selden. Started Celestia as usual and
without touching anything else, I tried to type in 'Geographos.' Could NOT
be located. Same for 'Kleopatra.' This was while I was looking at Earth.

Next, typed 'H' to focus on the Sun and centered it... Same thing... The odd
thing is that SOME of the same kinds of objects CAN be found. Toutatis, for
example. Beats me...

EDIT2: Okay, I think I understand now, Selden. I modified the ssc
file to get changes to Geographos to show up after I added Christophe's
add-on to my installation. Apparently, I screwed up. None of the
asteroids AFTER the modified Geographos descriptions in the
asteroids.ssc file will show up. After I simply DELETED the Geographos
description in the SSC file, they started showing up again. This, and
I thought I KNEW how to change an SSC file. Oh Brother...

Sorry for the posts. Will shut up for a while - while I RE-LEARN how to
use Celestia. Sheesh! :oops:

EDIT3: Hah! I figured it out, Selden... It was that damned Vista
operating system again. Apparently, it added some kind of control
characters to the ssc code - even though I'm using Notepad with NO
special word-wrap (or anything else) turned on. What I did was go back
through the Geographos code byte by byte, and found that there were
some strange places in the code where the cursor didn't advance when
I moved it to the right. What I did was simply DELETE these areas, and
Celestia can now find ALL of the asteroids listed in the code.

I'm a Genius again! (I know I'm still really just a Bozo, but this feels
GOOD!)

Thanks for listening.

Posted: 20.10.2007, 15:24
by BobHegwood
One final note here for newbies and OTHER Brain-Dead folks...

It could very well be that Christophe's original SSC code is what caused my
problems here. I believe that he uses a Mac, and it could very well be that
the control characters from his version of the SSC files are what caused
my problems.

No Problemo now... Just am very careful when converting ElChristou's SSC
codes for my own uses. Normally, a user will just accept the code as is and
add to the EXTRAS folder, but you KNOW how I am... I want the new
add-ons to be permanent, so I change everything associated with the code
in Celestia.

That's alright, you don't hafta tell me... I already KNOW I'm a Bozo. :wink:

Posted: 20.10.2007, 15:40
by selden
Bob,

A confusion factor:

There are now two people associated with Celestia who have the name Christophe.

One is in France, runs Linux, and is one of Celestia's code developers. His Forum screenname is Christophe.

The other is in Paraguay, uses a Mac and designs models for Celestia. His Forum screenname is ElChristou.

Posted: 20.10.2007, 17:16
by BobHegwood
selden wrote:Bob,

A confusion factor:

There are now two people associated with Celestia who have the name Christophe.

One is in France, runs Linux, and is one of Celestia's code developers. His Forum screenname is Christophe.

The other is in Paraguay, uses a Mac and designs models for Celestia. His Forum screenname is ElChristou.


Sorry Selden, ElChristou is the culprit here. Boy - I'll bet I'm gonna HEAR
about THIS post. Hee, hee.