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

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

···

-------- Messaggio Inoltrato --------

Data:

Tue, 05 Apr 2016 10:04:28 +0200

Mittente:

Bianca Federici <bianca.federici@unige.it>

A:

bianca.federici@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

On Tue, Apr 5, 2016 at 6:31 AM, Bianca Federici <bianca.federici@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@unige.it>
<bianca.federici@unige.it>
A: bianca.federici@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hi Bianca,
I see you are using Opensuse - I haven't manage to run the gui for grass7 in
opensuse (both in my desktop and laptop) - it runs fin in windows or linux
mint, but not opensuse
I used the provided installer - how did install 7 in opensuse?
thanks,
Dimitris

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/d-legend-and-d-profile-not-working-on-GRASS7-0-3-on-OpenSUSE-tp5259705p5259822.html
Sent from the Grass - Users mailing list archive at Nabble.com.