[GRASS-dev] wxgrass: Error in profile tool

Using today's svn...

When using the wxgrass profile tool, the following error is encountered when I click on the 'Draw Profile' button after I have created a transect to profile:

Traceback (most recent call last):
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/pr
ofile.py", line 427, in CreateProfile

self.DrawPlot()
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/pr
ofile.py", line 447, in DrawPlot

legend=' '+self.plegend1)
  File "/usr/lib/python2.5/site-
packages/wx-2.8-gtk2-unicode/wx/lib/plot.py", line 224, in
__init__

PolyPoints.__init__(self, points, attr)
  File "/usr/lib/python2.5/site-
packages/wx-2.8-gtk2-unicode/wx/lib/plot.py", line 124, in
__init__

self._points =
_Numeric.array(points).astype(_Numeric.Float64)
  File "/usr/lib/python2.5/site-
packages/numarray/numarraycore.py", line 417, in array

return fromlist(sequence,type,shape)
  File "/usr/lib/python2.5/site-
packages/numarray/numarraycore.py", line 252, in fromlist

highest_type = _maxtype(seq)
  File "/usr/lib/python2.5/site-
packages/numarray/numarraycore.py", line 131, in _maxtype

return PyLevel2Type[_numarray._maxtype(args)]
TypeError
:
Expecting a python numeric type, got something else.

I have ensured that the computational region has been set to that of the map display before digitizing the profile transect.

~ Eric.

Using today's svn...

When using the wxgrass profile tool, the following error is encountered when I click on the 'Draw Profile' button after I have created a transect to profile:

Also printed to the bash terminal is the message:

GRASS_INFO_WARNING(17752,1): Endpoint coordinates are outside of current region settings
GRASS_INFO_END(17752,1)

Despite the fact that the transect endpoints are well within the limits of the computational region (see ftp://agc.bio.ns.ca/outgoing/Patton/Grass/Profile.png)

~ Eric.

Hi,

I can take a look at this error later (maybe better to report in Trac)
-- since I am cleaning the profile module a bit right now.

Martin

2008/4/23, Patton, Eric <epatton@nrcan.gc.ca>:

>Using today's svn...
>
>When using the wxgrass profile tool, the following error is encountered when I click on the 'Draw Profile' button after I have created a transect to profile:
>

Also printed to the bash terminal is the message:

GRASS_INFO_WARNING(17752,1): Endpoint coordinates are outside of current region settings
GRASS_INFO_END(17752,1)

Despite the fact that the transect endpoints are well within the limits of the computational region (see ftp://agc.bio.ns.ca/outgoing/Patton/Grass/Profile.png)

~ Eric.

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *