-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After building the Hipparcos star catalog, pilomar terminates at target prompt #39
Comments
Until the root cause is identified the program will terminate more cleanly after constructing the Hipparcos catalog. |
#34 Add parameters for star selection magnitude for star lists. #35 Check ProjectPath variable is respected globally. #37 Relax the version cross-check between pilomar.py and code.py programs. #38 MaxAltitudeAngle parameter shows as 360Degrees rather than 90Degrees. #39 After building the Hipparcos star catalog, pilomar terminates at target prompt.
Recreated the error condition Menu option : Traceback (most recent call last): Does the routine that reads the downloaded data close the terminal I/O somehow? |
Code which performs the Hipparcos catalog build... from skyfield.api import Loader # Create own 'load' functionality by specifying the download directory this way. Simple experiment with the pandas.to_pickle() function did not cause any problems for follow-on input() statement. |
Found this reference to a similar situation online... The discussion suggests that one possibility is an 'exit()' statement buried in some other library, this could close the sys.stdin files. The same error message appeared elsewhere in the program during testing, that may also be an exit() statement in an included procedure. |
Have now seen the same error message occur at other prompts a couple of times, it appears to happen if the program is left unattended for a long time. Could it be related to the VNC connection? |
If pilomar has to build the Hipparcos start catalog when first installed it sometimes fails when the first user input is requested.
After successfully completing the catalog build it asks for a target to be selected, but the prompt fails with an IO error.
Restarting the program solves the problem.
The catalog build takes a long time and something with the user IO seems to timeout during that period.
Is it better to have a clean shutdown after building the catalog and asking the user to restart the program anyway?
The text was updated successfully, but these errors were encountered: