Opened 15 years ago

Closed 15 years ago

#472 closed defect (fixed)

wxPython profiling tool fails to detect missing numpy

Reported by: marisn Owned by: martinl
Priority: critical Milestone: 6.4.0
Component: wxGUI Version: 6.4.0 RCs
Keywords: Cc: grass-dev@…
CPU: Unspecified Platform: Linux


Profiling tool fails to detect missing requirements. 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/", line 3796, in Profile


File "/home/dace/soft/grass64_release/dist.x86_64-unknown-

linux-gnu/etc/wxpython/gui_modules/", line 241, in OnSelectRaster


File "/home/dace/soft/grass64_release/dist.x86_64-unknown-

linux-gnu/etc/wxpython/gui_modules/", line 449, in OnCreateProfile


File "/home/dace/soft/grass64_release/dist.x86_64-unknown-

linux-gnu/etc/wxpython/gui_modules/", line 474, in DrawPlot


File "/usr/lib/python2.5/site-

packages/wx-2.8-gtk2-unicode/wx/lib/", line 224, in init

PolyPoints.init(self, points, attr)

File "/usr/lib/python2.5/site-

packages/wx-2.8-gtk2-unicode/wx/lib/", line 124, in init

self._points = _Numeric.array(points).astype(_Numeric.Float64) ValueError : matrices are not aligned for copy

Change History (3)

comment:1 by martinl, 15 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

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

comment:2 by neteler, 15 years ago

Checked on my Mandriva box:

GRASS 6.5.svn (spearfish60):~/grass64 > g.gui wxpython
    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
    ( for information on downloading source or

urpmi python-numpy

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

Looks good to me.


comment:3 by martinl, 15 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.