View Issue Details

IDProjectCategoryView StatusLast Update
0000656SkyChart1-Softwarepublic10-10-30 10:10
ReporterAndreas Langbein Assigned ToPatrick Chevalley  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSLinuxOS Version2.6
Product Version3.1 SVN 
Target Version3.2Fixed in Version3.1 SVN 
Summary0000656: Invalid user input causing errors
DescriptionHere are some entry fields that can produce unhandled exceptions:

1. In the calendar the " by x days" when a string is entered

2. In View->Position the Rotation field when a string is entered

3. In Setup->Display->Lines any of the combo boxes when a manual entry is made, even when its "Line" or "Dot"

4. In Setup->Solar System->Planet the GRS longitude field when a string is entered

Also, in the calender the fields for the time take all numbers (like 79:99:60), but without producing any errors. In the Asteroid and Comet tabs the field for UT shows hours above 23 and below 0. For example when the time zone is GMT-6 and you set the time to 4:00 it displays -2h00 or when the time zone is GMT+6 and the time is 20:00 it displays 26h00.

While I'm writing this, I wonder if the time zone settings work correctly. If my time zone is GMT+6 and the local time is 20:00, shouldn't that be 14:00 UT because 14(GMT/UT)+6 = 20(local time)? Or am I making a mistake here?

TagsNo tags attached.

Activities

Patrick Chevalley

10-08-30 08:11

administrator   ~0001240

About the GMT timezone, I use the zone defined in /usr/share/zoneinfo/Etc/
They use a special sign convention, read about Etc special area:
http://en.wikipedia.org/wiki/Tz_database#Area

But the preferred way is to use the country timezone because it correct for DST.

Patrick Chevalley

10-09-04 14:27

administrator   ~0001256

Fixed by revision 1423
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1423

Also updated the documentation for GMT time zone:
http://www.ap-i.net/skychart/en/documentation/observatory#observatory

Andreas Langbein

10-09-06 17:27

reporter   ~0001261

Hmm, enter a string in the "by x days" field, in the calender, press "close", open the calender again. There is still an error.

Patrick Chevalley

10-09-07 14:35

administrator   ~0001263

This is strange, I cannot type text in this field, only number and +/-.
But I can reproduce the problem by entering 2-2 :-)
This is fixed by revision 1432.
I hope make a snapshot tomorrow morning with this change.

http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1432

Issue History

Date Modified Username Field Change
10-08-30 00:46 Andreas Langbein New Issue
10-08-30 08:11 Patrick Chevalley Note Added: 0001240
10-08-30 08:11 Patrick Chevalley Assigned To => Patrick Chevalley
10-08-30 08:11 Patrick Chevalley Status new => assigned
10-08-30 08:11 Patrick Chevalley Target Version 0.3.0 => 3.2
10-09-04 14:27 Patrick Chevalley Note Added: 0001256
10-09-04 14:27 Patrick Chevalley Status assigned => resolved
10-09-04 14:27 Patrick Chevalley Resolution open => fixed
10-09-04 14:27 Patrick Chevalley Fixed in Version 0.3.0 => 3.1 SVN
10-09-06 17:27 Andreas Langbein Status resolved => feedback
10-09-06 17:27 Andreas Langbein Resolution fixed => reopened
10-09-06 17:27 Andreas Langbein Note Added: 0001261
10-09-07 14:35 Patrick Chevalley Note Added: 0001263
10-09-07 14:35 Patrick Chevalley Status feedback => resolved
10-09-07 14:35 Patrick Chevalley Resolution reopened => fixed
10-10-30 10:10 Patrick Chevalley Status resolved => closed