[GRASS-user] d.legend and d.profile not working on GRASS7.0.3 on OpenSUSE

Anna Petrášová kratochanna at gmail.com
Tue Apr 5 06:13:01 PDT 2016


On Tue, Apr 5, 2016 at 6:31 AM, Bianca Federici <bianca.federici at unige.it>
wrote:

> Dear all,
> I'm using GRASS 7.0.3 on OpenSUSE on a teaching room
> and the profile function (launched from the Map Display) doesn't start.
> Moreover the d.legend command plots the legend without the values
> associated to the colors.
> I think it can be due to the binary version for OpenSuse, because the same
> GRASS version properly works on Windows and LinuxMint.
> How can I fix it? Could somebody verify such binary file?
> Best regards,
>     Bianca
>

I don't know about the other things, but the problem with the profile tool
is a problem in one particular version of wxPython, more details here:

https://trac.osgeo.org/grass/ticket/2558

Anna

>
> -------- Messaggio Inoltrato --------
> Data: Tue, 05 Apr 2016 10:04:28 +0200
> Mittente: Bianca Federici <bianca.federici at unige.it>
> <bianca.federici at unige.it>
> A: bianca.federici at unige.it
>
> Non funziona zip/unzip ... ma propone di aprire gli zip con programma Ark che
> non da risposta
>
> Non funziona il calcolo del profilo del raster, con errore sul terminale di
> grass:
> (wxgui.py:5612): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion
> 'height >= -1' failed
>
> e sulla finestra di output del comando lanciato:
> Traceback (most recent call last):
>   File "/opt/grass/gui/wxpython/mapdisp/frame.py", line
> 1043, in OnProfile
>
> self.Profile(rasters=rasters)
>   File "/opt/grass/gui/wxpython/mapdisp/frame.py", line
> 1051, in Profile
>
> controller=self.profileController)
>   File "/opt/grass/gui/wxpython/wxplot/profile.py", line 52,
> in __init__
>
> BasePlotFrame.__init__(self, parent=parent, size=size,
> **kwargs)
>   File "/opt/grass/gui/wxpython/wxplot/base.py", line 88, in
> __init__
>
> self.client = plot.PlotCanvas(self)
>   File "/usr/lib64/python2.7/site-
> packages/wx-3.0-gtk2/wx/lib/plot.py", line 598, in __init__
>
> self.HandCursor = wx.Cursor(Hand.GetImage())
>   File "/usr/lib64/python2.7/site-
> packages/wx-3.0-gtk2/wx/_gdi.py", line 1510, in __init__
>
> _gdi_.Cursor_swiginit(self,_gdi_.new_Cursor(*args,
> **kwargs))
> TypeError
> :
> Required argument 'type' (pos 2) not found
>
>
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160405/565271e9/attachment.html>


More information about the grass-user mailing list