Subject: | Failure to instantiate default 'sun' attribute |
The Astro::Coord::ECI 'sun' attribute contains an object that represents the Sun, to be used to determine whether it is day or night. If not specified explicitly a default object will be instantiated when needed. This fails unless the requisite class (generally Astro::Coord::ECI::Sun) has been explicitly loaded.
This problem was introduced in version 0.100_01, which contained a bunch of changes to support alternate classes (specifically Astro::Coord::ECI::VSOP87D::Sun). It manifested in a downstream package which loaded Astro::Coord::ECI::Moon but not Astro::Coord::ECI::Sun. This manifestation is RT 127463. The same potential problem applied to (at least) Astro::Coord::ECI::Star.