View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001062 | SkyChart | 1-Software | public | 12-10-16 01:18 | 13-05-06 14:32 |
| Reporter | James Dietrich | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86_64 | OS | Linux | OS Version | 2.6 |
| Product Version | 3.7 SVN | ||||
| Target Version | 3.8 | Fixed in Version | 3.7 SVN | ||
| Summary | 0001062: "Invalid argument" with Uranus simulation | ||||
| Description | Attempting to display a longer simulation of Uranus fails with an "Invalid argument" dialog box. | ||||
| Steps To Reproduce | Click Setup -> Date/time -> Simulation Uncheck all objects except for Uranus. Enter 100 in "Number of steps" and 138 in "every". Step unit is "Day". Then click OK. A box comes up that says Invalid argument. Press OK to ignore and risk data corruption. Press Cancel to kill the program. | ||||
| Additional Information | A step size of 137 works fine, but that's as high as I can go without getting the error mentioned above. The tooltip for the "every" box says values up through 999 are allowed. I am using version 3.7-svn2284 on amd64 Debian Linux 6.0.6. | ||||
| Tags | No tags attached. | ||||
|
|
I cannot reproduce this problem. Can you specify the exact start time you use for the simulation? |
|
|
I am using a starting date not too far from the present, but when I investigated this further, and the exact start time didn't seem to matter. So I tried it on my Windows XP laptop, and it worked just fine. Then at work today I installed CdC on my amd64 Debian computer there, and was even more surprised to find that that worked fine too. As I was wondering what could be different between my work computer and my home computer, I suddenly remembered that at home (where the problem happens) I have put two additional files in /usr/share/skychart/data/jpleph -- lnxm3000p3000.422 and lnxp1900p2053.421 as described in the documentation at http://www.ap-i.net/skychart/en/documentation/solar_system Further testing this evening revealed that the problem only happens when the file lnxp1900p2053.421 is present. If I take that file out, CdC runs the simulation just fine--even with 999 in the "every" box. So I think if you place lnxp1900p2053.421 in the jpleph folder, you will be able to reproduce the problem. |
|
|
The problem is with de421, every position is returned as 0,0,0 after 2050 January 1. The ephemeris header say the limit is 2053-OCT-09 but other papers give the range as 1900-2050. Revision 3238 limit the use of de421 only up to 2050 January 1. http://sourceforge.net/p/skychart/code/2328 |
|
|
Fixing the use of DE421 solved the original problem, but I still get "Invalid Argument" if I enter larger values: Uncheck all objects except for Uranus. Enter 500 in "Number of steps" and 999 in "every". Step unit is "Day". Then click OK. A box comes up that says Invalid argument. Press OK to ignore and risk data corruption. Press Cancel to kill the program. |
|
|
With 500x999 days from today you are after the +3000 years validity of the ephemeris. And the program check for out of range only for the first date. It work if you change the start date to 2013BC. Revision 2356 add a protection for any of this case by disabling the planet display and show a message in the status bar. https://sourceforge.net/p/skychart/code/2356/ |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 12-10-16 01:18 | James Dietrich | New Issue | |
| 12-11-05 10:23 | Patrick Chevalley | Note Added: 0002268 | |
| 12-11-05 10:23 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 12-11-05 10:23 | Patrick Chevalley | Status | new => feedback |
| 12-11-05 10:23 | Patrick Chevalley | Target Version | 0.3.0 => 3.8 |
| 12-11-06 01:32 | James Dietrich | Note Added: 0002269 | |
| 12-11-06 01:32 | James Dietrich | Status | feedback => assigned |
| 12-12-30 16:29 | Patrick Chevalley | Note Added: 0002365 | |
| 12-12-30 16:29 | Patrick Chevalley | Status | assigned => resolved |
| 12-12-30 16:29 | Patrick Chevalley | Resolution | open => fixed |
| 12-12-30 16:29 | Patrick Chevalley | Fixed in Version | 0.3.0 => 3.7 SVN |
| 13-01-03 11:35 | James Dietrich | Note Added: 0002381 | |
| 13-01-03 11:35 | James Dietrich | Status | resolved => feedback |
| 13-01-03 11:35 | James Dietrich | Resolution | fixed => reopened |
| 13-01-03 16:12 | Patrick Chevalley | Note Added: 0002382 | |
| 13-01-03 16:12 | Patrick Chevalley | Status | feedback => resolved |
| 13-01-03 16:12 | Patrick Chevalley | Resolution | reopened => fixed |
| 13-05-06 14:32 | Patrick Chevalley | Status | resolved => closed |