View Issue Details

IDProjectCategoryView StatusLast Update
0000671SkyChart1-Softwarepublic10-10-30 10:10
ReporterAndreas Langbein Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSLinuxOS Version2.6
Product Version3.1 SVN 
Target Version3.2Fixed in Version3.1 SVN 
Summary0000671: Command line arguments lead to errors
DescriptionSome of the command line options accept arguments that lead to errors.

--setdate takes all numbers for the year. If the number is too high the program starts with the error message "Invalid floating point operation". It also takes all numbers for month, day etc. That doesn't lead to errors but looks a bit strange. I can also use the time navigation buttons from the main toolbar to set the year to a very high number that leads to an error.

--resize same problem. Additionally, when only one number is indicated it leads to the error "List index (2) out of bounds"

--saveimg same problem with with the missing arguments. When I try to use a relative path for the filename it leads to the error "Unable to create file "..."
TagsNo tags attached.

Activities

Patrick Chevalley

10-09-14 22:31

administrator   ~0001295

Rev 1475 check the numeric range and use default value for missing parameters.
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1475

saveimg without parameter save cdc.bmp in ~/.skychart/tmp
path are now relative to ~/.skychart/tmp
--saveimg='PNG ../../chart1.png' save in home directory.

Issue History

Date Modified Username Field Change
10-09-14 18:47 Andreas Langbein New Issue
10-09-14 22:31 Patrick Chevalley Note Added: 0001295
10-09-14 22:31 Patrick Chevalley Assigned To => Patrick Chevalley
10-09-14 22:31 Patrick Chevalley Status new => resolved
10-09-14 22:31 Patrick Chevalley Resolution open => fixed
10-09-14 22:31 Patrick Chevalley Fixed in Version 0.3.0 => 3.1 SVN
10-09-14 22:31 Patrick Chevalley Target Version 0.3.0 => 3.2
10-10-30 10:10 Patrick Chevalley Status resolved => closed