Page 1 of 1

Celestia is freezing on me and crashing my computer!

Posted: 03.11.2008, 13:57
by NuclearVacuum
I am working on a fictional version of our solar system, in which the sun is part of a far binary system. I am making the "SSB" the barycenter of both stars. However, when I try to start up Celestia, the program crashes. I have tried everything imaginable. I have checked and double checked my coding, and nothing is wrong. It can't be the Sun's programing, because in a separate program I am working on, the Sun is a future red giant (and that program works fine without crashing).

Please help me

Re: Celestia is freezing on me and crashing my computer!

Posted: 03.11.2008, 17:43
by chris
NuclearVacuum wrote:I am working on a fictional version of our solar system, in which the sun is part of a far binary system. I am making the "SSB" the barycenter of both stars. However, when I try to start up Celestia, the program crashes. I have tried everything imaginable. I have checked and double checked my coding, and nothing is wrong. It can't be the Sun's programing, because in a separate program I am working on, the Sun is a future red giant (and that program works fine without crashing).

Could you post the stc file that causes the crash?

--Chris

Re: Celestia is freezing on me and crashing my computer!

Posted: 03.11.2008, 18:07
by NuclearVacuum

Code: Select all

0 "Sol:Sun"
{
   OrbitBarycenter      "SSB"

   SpectralType      "G2V"
   AbsMag         4.83

   RotationPeriod      609.12  # 25.38 days
   Obliquity         7.25  # correct orientation relative to ecliptic
   EquatorAscendingNode   75.77  #
   RotationOffset      23.00  # standard meridian

   EllipticalOrbit {
      Period         579.914
      SemiMajorAxis      200.00   # mass ratio 1.09:0.92
      Eccentricity      0.4179
      Inclination         82.986
      AscendingNode      67.726
      ArgOfPericenter      3.772
      MeanAnomaly         200.119
   }
}

"Nemesis"
{
   OrbitBarycenter      "SSB"
   SpectralType      "K0V"
   AppMag         1.34

   EllipticalOrbit {
      Period         579.914
      SemiMajorAxis      250.00   # mass ratio 1.09:0.92
      Eccentricity      0.4179
      Inclination         82.986
      AscendingNode      67.726
      ArgOfPericenter      183.772
      MeanAnomaly         200.119
   }
}


I always take already existing code, and work from there (so this is still a work in progress STC file). Be careful and I hope we can fix this

Re: Celestia is freezing on me and crashing my computer!

Posted: 11.11.2008, 15:43
by NuclearVacuum
OK, now I am getting annoyed. I don't mind if this code can never work, I just want a reply after a week! Sorry, but I get annoyed :oops:

Re: Celestia is freezing on me and crashing my computer!

Posted: 11.11.2008, 18:36
by selden
There's no point in saying you're getting annoyed: that just gets others annoyed and less likely to help. Remember that Celestia is strictly a volunteer effort. You catch more flies with honey than with vinegar.

On my Windows computer, v1.5.1 hangs showing the initial banner window while it's trying to load your stc file.

This hang is fixed in v1.6. Instead Celestia displays the following error message in its console log:

Invalid star: absolute (not aparent) magnitude must be specified for star near origin

Changing AppMag to AbsMag eliminates the hang in v1.5.1. I'll leave it to you to calculate the correct AbsMag for your version of Nemesis.

Re: Celestia is freezing on me and crashing my computer!

Posted: 11.11.2008, 21:12
by t00fri
NuclearVacuum wrote:OK, now I am getting annoyed :evil: I don't mind if this code can never work, I just want a reply after a week!

I also studied the case and came to very similar conclusions as Selden. However, people misinterpreting this forum as a "call center" don't motivate me to write anything.

Actually Chris (Laurel) is on an intercontinental flight tonight and was very busy with preparations in the days before leaving.

Fridger

Re: Celestia is freezing on me and crashing my computer!

Posted: 11.11.2008, 23:18
by selden
Fridger,

Please don't forget that this is a help forum. There is no place else for people to go for help with Celestia.

Sometimes Celestia's quirks can be quite frustrating, expecially for novices who have no way to separate Celestia's problems from those caused by the operating system or its graphics drivers.

NV,

You can see Celestia's "console log" by typing a <tilde> (~). On keyboards which support diacritical marks, you may need to type <tilde> <space>.

On many keyboards, <tilde> is the same as <shift> <accent-grave> (`)

Re: Celestia is freezing on me and crashing my computer!

Posted: 12.11.2008, 02:20
by NuclearVacuum
I am truly sorry. I just got anxious that on one has written to me (like I was alone). Please don't take it seriously, I could never get mad at something so stupid like that :(