You are correct, sir! The program runs fine under linux, coughs up the
error in Windows XP. Just one more reason to use Linux.
John
Brandon Craig Rhodes wrote:
> The exception is a limitation of your operating system — when PyEphem
> asks it to convert the given UTC date and time into a local date and
> time, it finds the date too far in the past or future to represent under
> your operating system, and gives up.
>
> Strictly speaking, of course, asking about the "local time" of an event
> too far in the past is meaningless, because time zones didn't exist
> until recently, and before that there was no strict definition of your
> location's "local time" to use. :-) But you're probably doing early-
> twentieth-century calculations to which such a complaint doesn't apply:
> time zones certainly existed then, your computer operating system just
> can't think about times that long ago.
>
> I'll look around at the available time libraries for Python, and at
> least add to the docs a discussion of how to use one of them to do this
> calculation.
>
> ** Changed in: pyephem
> Importance: Undecided => Medium
>
> ** Changed in: pyephem
> Status: New => Confirmed
>
> ** Changed in: pyephem
> Assignee: (unassigned) => Brandon Craig Rhodes (brandon-rhodes)
>
>
You are correct, sir! The program runs fine under linux, coughs up the
error in Windows XP. Just one more reason to use Linux.
John
Brandon Craig Rhodes wrote:
> The exception is a limitation of your operating system — when PyEphem
> asks it to convert the given UTC date and time into a local date and
> time, it finds the date too far in the past or future to represent under
> your operating system, and gives up.
>
> Strictly speaking, of course, asking about the "local time" of an event
> too far in the past is meaningless, because time zones didn't exist
> until recently, and before that there was no strict definition of your
> location's "local time" to use. :-) But you're probably doing early-
> twentieth-century calculations to which such a complaint doesn't apply:
> time zones certainly existed then, your computer operating system just
> can't think about times that long ago.
>
> I'll look around at the available time libraries for Python, and at
> least add to the docs a discussion of how to use one of them to do this
> calculation.
>
> ** Changed in: pyephem
> Importance: Undecided => Medium
>
> ** Changed in: pyephem
> Status: New => Confirmed
>
> ** Changed in: pyephem
> Assignee: (unassigned) => Brandon Craig Rhodes (brandon-rhodes)
>
>