[GRASS-dev] [GRASS GIS] #472: wxPython profiling tool fails to detect missing numpy

#472: wxPython profiling tool fails to detect missing numpy
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Profiling tool fails to detect missing requirements.
http://lists.osgeo.org/pipermail/grass-user/2009-January/048640.html
Error from Ubuntu 8.04:

Traceback (most recent call last):
   File "/home/dace/soft/grass64_release/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/mapdisp.py", line 3796,
in Profile

self.profile.OnSelectRaster(None)
   File "/home/dace/soft/grass64_release/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/profile.py", line 241, in
OnSelectRaster

self.OnCreateProfile(event=None)
   File "/home/dace/soft/grass64_release/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/profile.py", line 449, in
OnCreateProfile

self.DrawPlot()
   File "/home/dace/soft/grass64_release/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/profile.py", line 474, in
DrawPlot

legend=r['plegend'])
   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)
ValueError
:
matrices are not aligned for copy

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/472&gt;
GRASS GIS <http://grass.osgeo.org>

#472: wxPython profiling tool fails to detect missing numpy
-----------------------+----------------------------------------------------
  Reporter: marisn | Owner: martinl
      Type: defect | Status: assigned
  Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords:
  Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)

Comment:

Hopefully fixed in r35715 (relbr64), r35716 (devbr64) and r35717 (trunk).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/472#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#472: wxPython profiling tool fails to detect missing numpy
-----------------------+----------------------------------------------------
  Reporter: marisn | Owner: martinl
      Type: defect | Status: assigned
  Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords:
  Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Comment (by neteler):

Checked on my Mandriva box:

{{{
GRASS 6.5.svn (spearfish60):~/grass64 > g.gui wxpython
profile.py:
     This module requires the NumPy module, which could not be
     imported. It probably is not installed (it's not part of the
     standard Python distribution). See the Numeric Python site
     (http://numpy.scipy.org) for information on downloading source or
     binaries.

su
urpmi python-numpy
exit

GRASS 6.5.svn (spearfish60):~/grass64 > g.gui wxpython
# ... no more Numpy warning.
}}}

Looks good to me.

Markus

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/472#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#472: wxPython profiling tool fails to detect missing numpy
-----------------------+----------------------------------------------------
  Reporter: marisn | Owner: martinl
      Type: defect | Status: closed
  Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: fixed | Keywords:
  Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: assigned => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/472#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>