#877: wxGUI: Location wizard bug when creating LatLong location
-----------------------------+----------------------------------------------
Reporter: neteler | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: blocker | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Keywords: location wizard | Platform: MSWindows Vista
Cpu: Unspecified |
-----------------------------+----------------------------------------------
* Launch winGRASS
* On the right-hand side select Location Wizard under Define new location
* Leave the GIS Data Directory field as is but choose a descriptive name
for the Project Location
* Continue to the next page
* Choose Select Coordinate System parameters from a list and continue
* Type in ll for the Projection Code (or scroll down the page to find
Lat/Lon)
* Continue to the next page
* Keep "Datum with associated ellipsoid"
* Continue to the next page: bug appears "You must enter a value for
Central Meridian" although values are inserted
Yes, I used the winGRASS package from the GRASS web site. The same was
also confirmed by at least two other people (see mailing list). How can I
debug this?
Attached patch works for me under Linux and Windows XP. The logic for this
fix is that a default value was set and then got lost, therefore the error
message, so it sets the default value again for all parameters that are
not editable. Doesn't really make sense to me but works, and maybe it
points into the right direction for a better fix.
Replying to [comment:7 mmetz]:
> Attached patch works for me under Linux and Windows XP. The logic for
this fix is that a default value was set and then got lost, therefore the
error message, so it sets the default value again for all parameters that
are not editable. Doesn't really make sense to me but works, and maybe it
points into the right direction for a better fix.
right, committed in r40524. I am going to rewrite this part in devbr6 and
trunk, so not backported. Martin
Text input boxes for Central Parallel and Central Meridian are grayed, and
show 0.0 preset answer with no way to modify it (you can put cursor in the
text box and highlight 0.0 but there is no way to enter text).
I think that the greyed out fields are correct (what to you want to change
there?). But do you get the bug "You must enter a value for Central
Meridian" although values are inserted?
Luigi: I tried it on a Japanese XP and it worked. Do you use the English
or Italian version?
Sorry for my ignorance, Hamish. That behavior (not being able to change
greyed fields) has been reported as a problem on the mailing list (see
link in my previous comment) so I thought it was a problem:
>
> When I try to enter a Central Parallel or Central Meridian, nothing
> changes occur in the entry boxes. I can highlight the default zero
> values, but I am unable to change them.
>
However, I don't get the "You must enter a value for Central Meridian"
bug, and the location gets created OK. Again I am on Win7 and no spaces in
installation path -- maybe it is related to the latter?
I think I am using an Italian version: there is a mix of Italian and
English language.
Replying to [comment:13 lponti]:
> Sorry for my ignorance, Hamish. That behavior (not being able to change
greyed fields) has been reported as a problem on the mailing list (see
link in my previous comment) so I thought it was a problem
To my knowledge the original issue was then you could not proceed on
*some* platforms/computers. The fields are currently intentionally greyed
out since it is not the definition of a custom projection (that's in
another wizard section AFAIK).
> However, I don't get the "You must enter a value for Central Meridian"
bug, and the location gets created OK. Again I am on Win7 and no spaces in
installation path -- maybe it is related to the latter?
So - everything fine on your's and my computer.
> I think I am using an Italian version: there is a mix of Italian and
English language.
[unrelated: because the translation isn't finished, support welcome]