dcf21 / star-charter

A command-line tool for producing vector-graphics charts of the night sky in SVG, PDF and PNG formats.
GNU General Public License v3.0
344 stars 29 forks source link

application crashes running orion.sch example #4

Closed astroscot closed 3 years ago

astroscot commented 3 years ago

After installing star-charter running under Ubuntu in VirtualBox the first example run was the orion.sch example provided. The code quickly crashed with the following errors after running the command

../bin/starchart.bin orion.sch

Error : Fatal Error encountered in src/astroGraphics/constellations.c at line 146: Error: Could not open constellation stick figures

Error-Orion sch-example

astroscot commented 3 years ago

This issue is resolved.

jackschmidt commented 3 years ago

This still happened to me. The problem is that ftp://cdsarc.u-strasbg.fr/pub/cats/I/239/hip_main.dat.gz no longer exists so setup.sh creates a 0 length file.

To fix, you can download ftp://cdsarc.u-strasbg.fr/pub/cats/I/239/hip_main.dat to data/constellations/downloads and then run gzip -9f hip_main.dat to compress it to the expected filename. Then in the main directory, run setup.sh again.