Fatal error: Cannot read stardatabase

Report bugs, bug fixes and workarounds here.
Topic author
danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Fatal error: Cannot read stardatabase

Post #1by danielj » 06.12.2004, 21:33

I tried to make the Celestia 1.3.2,but the folowing appeared "Fatal error:cannot read stardatabase.I perform another instalation of Celestia 1.3.2 in another folder and there it works very well,then I copy and paste the stars.dat in the original folder,but even like this,it didn?t work.It was unexpectable,because 3 days before today,it was working flawlessly.
I think I accidentaly put the file to open as a Window Media Player,but I changed to WordPad and still didn?t work.
Repeating:
The same file worked in a new folder,but not in Celestia 1.3.2 original.
I don?t know what to do.Can you give me a help?

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 06.12.2004, 23:05

Stars.dat is a binary file.
If you opened it in Notepad or WordPad, then you have destroyed it. Notepad and WordPad only work properly with plain text files.

Also, you must use the correct version of stars.dat.
Don't forget that the version of stars.dat that comes with v1.3.2 is NOT compatible with v1.4.0, and the version of stars.dat that comes with v1.4.0 is NOT compatible with v1.3.2.

You have the choice of finding and downloading the appropriate stars.dat from SourceForge, or you can reinstall another copy of the appropriate version of Celestia and copy it from there.
Selden

Guest

Post #3by Guest » 07.12.2004, 00:09

Selden:

Please, I use the bigstars.dat add-on file from Pascal Hartmann that includes 1,100,000 stars. I have just discovered that it will no longer work in 1.4.0. What a BUMMER!!!

How do you/I/someone else convert it or reload it for use in 1.4.0? I have absolutely no idea how to make a star.dat file.

:cry: HELP!!

Frank

PS: Pascal, do you have any plans to redo your add-on???

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 07.12.2004, 00:25

Frank,

I mentioned the incompatibility to Pascal a few weeks ago. Unfortunately, he won't be able to do anything about it in the near future, certainly not until after the holidays at the very earliest.

One problem is that he runs Celestia on a Mac, so he doesn't have access to v1.4.0 at all.
Selden

Topic author
danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Post #5by danielj » 07.12.2004, 19:11

I installed the newest verison of stars.dat and the program itself works.But the render path didn?t.When I tried to press Control-V,the Celestia 1.3.2 crashes.Doesn?t mean that the present version(v.1.22) of stars.dat is not suitable for Celestia 1.3.2?If it is the case,which version I have to downloaded?

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #6by selden » 07.12.2004, 21:16

Render path has nothing directly to do with the stars database.

If Celestia starts OK but crashes when you type Ctrl-V, then that usually means that your device drivers are broken. Something in your field of view is causing Celestia to ask them to do something that they should be able to do but can't.

Rename your current directory named Celestia to be something else. Install Celestia v1.3.2 from scratch into a directory named Celestia. Do NOT modify anything.

Run that newly installed Celestia and type a Ctrl-V.
What happens?
Selden

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #7by selden » 07.12.2004, 21:21

Celestia v1.3.2 requires stars.dat v1.18
Celestia v1.4.0 requires stars.dat v1.22

Celestia v1.3.2 cannot use stars.dat v1.22
Celestia v1.4.0 cannot use stars.dat v1.18
Selden

Topic author
danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Post #8by danielj » 07.12.2004, 23:12

I downloaded stars.dat v.1.18 and the following appears Fatal error:cannot read star database.What?s the problem now?

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #9by selden » 07.12.2004, 23:21

Daniel,

Sorry: I don't know what your problem might be, because I don't know what you mean by "downloaded".

There are too many ways of accessing the URLs for stars.dat that could be described as "downloaded" but which won't work.

The safest thing to do is just to reinstall Celestia v1.3.2 from scratch and then move your Addons into the new folder.

Anything else just wastes everybody's time.

Sorry.
Selden

Topic author
danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Post #10by danielj » 07.12.2004, 23:38

When I said downloaded,I mean save in .dat file.
Anyway,I installed again and now works.
But I don?t understand why the problem begin


Return to “Bugs”