View Issue Details

IDProjectCategoryView StatusLast Update
0001419SkyChart1-Softwarepublic15-09-02 21:53
ReporterLance Carter Assigned ToPatrick Chevalley  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformX86OSWindowsOS Version7
Product Version3.11 SVN 
Target Version4.0Fixed in Version3.11 SVN 
Summary0001419: Initialization error: Invalid input
DescriptionWhen I try to start Skychart I get error box: "Initialization error: Invalid input" The main screen appears and I can load a file, but various problems:
I had previously modified a .cln file to change a constellation line and got results, but when I tried to change .cln file to the provided default and pick Apply and get a box: "Access violation"
I pick OK to ignore and risk data corruption instead of Cancel to kill. Pick Apply and the program crashes.
Also: if try to reset the date, the program crashes. Skychart.exe is not responding.
This problem occurred in a previous version 11 but just uploaded and installed:
skychart-3.11-3126-windows.zip
It had the same problems..

(How does a .cln file get modified and not cause crashes?)
Steps To Reproducemodify a number data in .cln file.
Can't reproduce because can load program correctly.
TagsNo tags attached.

Activities

Patrick Chevalley

15-08-31 20:23

administrator   ~0003044

The only way to find the source of this error is to run the program in debug mode on your computer.

Please install the last beta version from http://sourceforge.net/projects/skychart/files/0-beta/2015-08-10/

Then install the debug files and run as describe in this page: http://sourceforge.net/projects/skychart/files/0-beta/debug/2015-08-10/

Copy here the result of the gdb bt command.

Lance Carter

15-09-01 03:19

reporter   ~0003045

Tried to open the debug Windows zip file, but Windows box: Windows cannot open folder... Folder is invalid. --
bin-windows_i386-debug-3126.zip 2015-08-10 36.4 MB
downloaded the zip file twice but same result when try to unzip.

I

Patrick Chevalley

15-09-01 07:40

administrator   ~0003046

I download the file on my Win 7 system and it open fine.

Try to download from another Sourceforge mirror:
After you click the download link you get a page that wait 5 seconds. On this page click "try another mirror", and select one near from your location.
For me HEAnet,Ireland worked fine.



Lance Carter

15-09-01 22:53

reporter   ~0003047

I downloaded from the autoselect link and Windows again:
Windows cannot read the folder:
Compressed folder error...
bin-windows_i386-debug-3126.zip is invalid.

I haven't had this error before and only with skychart
I am trying to update to Windows 10

Lance Carter

15-09-01 23:57

reporter  

AlphaCephus+Bad_Outline.png (493,829 bytes)   
AlphaCephus+Bad_Outline.png (493,829 bytes)   

Lance Carter

15-09-02 00:04

reporter   ~0003048

The problem is fixed by opening a new cdc3 file from new 3126 directory.
Then I opened a cln from the new build directory and skychart functioned OK.
I tried opening previously working cln files, but they made skychart crash, so maybe my cln files were all corrupt.

Anyway, the Setup>Display>Lines>Constellational Figures File names kept reverting to the old ciel directory, which kept the corrupted files, even though it was already pointing to the new directory.

I uploaded a file I made by testing the date by setting it to BC. The constellation lines don't go to the Alpha star of Cepheus because of proper motion. Perhaps the cln lines could be based on the star name or BSC?

Patrick Chevalley

15-09-02 10:33

administrator   ~0003049

OK, I better understand.
A cln file format error is probably the reason for this error message.
The program read four space separated floating point value on each row and any discrepancy can raise this error.

In Cdc V2 the constellation where defined using the star HR number, but I replace them by coordinates after a request to draw figure not related to a star.

I agree with the proper motion problem.
Maybe a solution is to make the program to accept both format, coordinates and HR number?
I try to do that.

Patrick Chevalley

15-09-02 21:53

administrator   ~0003050

Both issue are fixed by revision 3127.

Now the default constellation file use the HR star number to define the vectors. This allow for proper motion correction of the figures.

The coordinates file format can still be selected and must no more crash on error. If the program is run with the --verbose option it report any format error in the trace file.

This change will be available in next Monday beta version.

http://sourceforge.net/p/skychart/code/3127

Issue History

Date Modified Username Field Change
15-08-30 02:36 Lance Carter New Issue
15-08-31 20:23 Patrick Chevalley Note Added: 0003044
15-08-31 20:23 Patrick Chevalley Assigned To => Patrick Chevalley
15-08-31 20:23 Patrick Chevalley Status new => feedback
15-09-01 03:19 Lance Carter Note Added: 0003045
15-09-01 03:19 Lance Carter Status feedback => assigned
15-09-01 07:40 Patrick Chevalley Note Added: 0003046
15-09-01 07:40 Patrick Chevalley Status assigned => feedback
15-09-01 22:53 Lance Carter Note Added: 0003047
15-09-01 22:53 Lance Carter Status feedback => assigned
15-09-01 23:57 Lance Carter File Added: AlphaCephus+Bad_Outline.png
15-09-02 00:04 Lance Carter Note Added: 0003048
15-09-02 10:33 Patrick Chevalley Note Added: 0003049
15-09-02 21:53 Patrick Chevalley Note Added: 0003050
15-09-02 21:53 Patrick Chevalley Status assigned => resolved
15-09-02 21:53 Patrick Chevalley Resolution open => fixed
15-09-02 21:53 Patrick Chevalley Fixed in Version 0.3.0 => 3.11 SVN
15-09-02 21:53 Patrick Chevalley Target Version 0.3.0 => 4.0