[GRASS-user] 3D view error on MacOS (black screen)

Anna Petrášová kratochanna at gmail.com
Wed Nov 22 16:48:28 PST 2017


Hi Carlos,

I couldn't get 3D view working with homebrew either. The error you see
seems to happen when you click and drag in the window, so the actual
problem happens before, because it never loads. Interestingly, when I
compiled GRASS myself (using the homebrew libraries), the 3D worked.
Unfortunately I have no idea what's wrong.

Anna

On Wed, Nov 22, 2017 at 5:11 PM, Carlos Grohmann
<carlos.grohmann at gmail.com> wrote:
> Hi all
>
> I'm running 7.2.2 on MacOS Sierra, installed via homebrew. Trying to display
> anything in 3D results only in a black screen. Checking the console I get
> these error messages:
>
> Traceback (most recent call last):
>   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> hon/nviz/mapwindow.py", line 628, in OnMouseAction
>
> self.OnDragging(event)
>   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> hon/nviz/mapwindow.py", line 722, in OnDragging
>
> angle, x, y, z = self._display.GetRotationParameters(dx, dy)
>   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> hon/nviz/wxnviz.py", line 1975, in GetRotationParameters
>
> inv = matrix(m).I
>   File "/usr/local/lib/python2.7/site-
> packages/numpy/matrixlib/defmatrix.py", line 972, in getI
>
> return asmatrix(func(self))
>   File "/usr/local/lib/python2.7/site-
> packages/numpy/linalg/linalg.py", line 526, in inv
>
> ainv = _umath_linalg.inv(a, signature=signature,
> extobj=extobj)
>   File "/usr/local/lib/python2.7/site-
> packages/numpy/linalg/linalg.py", line 90, in
> _raise_linalgerror_singular
>
> raise LinAlgError("Singular matrix")
> numpy.linalg.linalg
> .
> LinAlgError
> :
> Singular matrix
>
>
> thanks
>
> Carlos
>
>
>
>
> --
> Prof. Carlos Henrique Grohmann
> Institute of Energy and Environment - Univ. of São Paulo, Brazil
> - Digital Terrain Analysis | GIS | Remote Sensing -
>
> http://carlosgrohmann.com
> http://orcid.org/0000-0001-5073-5572
> ________________
> Can’t stop the signal.
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list