[GRASS-user] Grass7 GUI does not start

I am a Qgis user, and wanted to do some 3D videos - I read Nviz might be the
way; I wanted to work on it through Grass (not through the Qgis plugin), and
grass fails to start.
the start up window starts fine, I created the location and the mapset -
when I hit
'Start GRASS session', I am getting:
/Launching <wxpython> GUI in the background, please wait...
GRASS 7.0.3 (Manhattan):~ > /
and nothing happens after that.

My system is opensuse leap, and the grass installation is 7.03;
wxpython is installed

any help is appreciated
Dimitris

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Grass7-GUI-does-not-start-tp5257181.html
Sent from the Grass - Users mailing list archive at Nabble.com.

Hi,

2016-03-18 14:42 GMT+01:00 ddarlac <dimntar@rutgers.edu>:

I am a Qgis user, and wanted to do some 3D videos - I read Nviz might be the

Nviz has been replaced in GRASS 7 by 3D view mode of map display [1].

way; I wanted to work on it through Grass (not through the Qgis plugin), and
grass fails to start.

Then please ask on QGIS ML. We are not maintaining GRASS plugin.

the start up window starts fine, I created the location and the mapset -

Martin

[1] https://grass.osgeo.org/grass70/manuals/wxGUI.nviz.html

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Dimitris,

How did you install GRASS ? From the Suse repositories?
What happen if you try to launch the GUI manually with g.gui (possibly
with --v flag)?

Regards,
Laurent

2016-03-18 7:42 GMT-06:00 ddarlac <dimntar@rutgers.edu>:

I am a Qgis user, and wanted to do some 3D videos - I read Nviz might be the
way; I wanted to work on it through Grass (not through the Qgis plugin), and
grass fails to start.
the start up window starts fine, I created the location and the mapset -
when I hit
'Start GRASS session', I am getting:
/Launching <wxpython> GUI in the background, please wait...
GRASS 7.0.3 (Manhattan):~ > /
and nothing happens after that.

My system is opensuse leap, and the grass installation is 7.03;
wxpython is installed

any help is appreciated
Dimitris

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Grass7-GUI-does-not-start-tp5257181.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hi Laurent,
Yes, I installed grass through suse repositories; when I start grass (after
selecting mapset) nothing happens; tried the g,gui --v and same (see
attached image)
thanks,
Dimitris

<http://osgeo-org.1560.x6.nabble.com/file/n5258425/grass.png&gt;

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Grass7-GUI-does-not-start-tp5257181p5258425.html
Sent from the Grass - Users mailing list archive at Nabble.com.

Hi Laurent,

Have you tried:

g.gui wxpython

Paul Shapley

Sent from my iPad

On 25 Mar 2016, at 22:28, Laurent C. <lrntct@gmail.com> wrote:

Dimitris,

How did you install GRASS ? From the Suse repositories?
What happen if you try to launch the GUI manually with g.gui (possibly
with --v flag)?

Regards,
Laurent

2016-03-18 7:42 GMT-06:00 ddarlac <dimntar@rutgers.edu>:

I am a Qgis user, and wanted to do some 3D videos - I read Nviz might be the
way; I wanted to work on it through Grass (not through the Qgis plugin), and
grass fails to start.
the start up window starts fine, I created the location and the mapset -
when I hit
'Start GRASS session', I am getting:
/Launching <wxpython> GUI in the background, please wait...
GRASS 7.0.3 (Manhattan):~ > /
and nothing happens after that.

My system is opensuse leap, and the grass installation is 7.03;
wxpython is installed

any help is appreciated
Dimitris

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Grass7-GUI-does-not-start-tp5257181.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hi Paul,
yes I did - the result is nothing (no gui, similar to the other attempts)
cheers,
Dimitris
PD I posted the original question - Laurent just provided an answer

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Grass7-GUI-does-not-start-tp5257181p5258483.html
Sent from the Grass - Users mailing list archive at Nabble.com.

Hi Martin,
thanks - actually I want to move to Grass for 3D data, I just posted that I
am qgis user to show that I am inexperienced with grass
cheers,
Dimitris

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Grass7-GUI-does-not-start-tp5257181p5258484.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Sat, Mar 26, 2016 at 4:16 PM, ddarlac <dimntar@rutgers.edu> wrote:

yes I did - the result is nothing (no gui, similar to the other attempts)

You can try to run the Python code directly. Somewhere in your installation
should be "gui/wxpython/wxgui.py". From GRASS command line run something
like:

python /usr/lib/grass70/gui/wxpython/wxgui.py

or you can try just:

python $GISBASE/gui/wxpython/wxgui.py

which is basically what g.gui does in the background.

thanks,
that helped a lot - wxgui is located in '/opt/grass/gui/wxpython'
running python wxgui.py is giving me
'segmentation fault'
running with sudo (although I have user ownership) I get the following:

Unable to import pyGRASS: grass_gis.7.0.3 not found.
Some functionality will be not accessible
NumPy not found.

    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.

ERROR: MAPSET Rock - permission denied
Traceback (most recent call last):
  File "wxgui.py", line 37, in <module>
    from lmgr.frame import GMFrame
  File "/opt/grass/gui/wxpython/lmgr/frame.py", line 50, in <module>
    from lmgr.layertree import LayerTree, LMIcons
  File "/opt/grass/gui/wxpython/lmgr/layertree.py", line 37, in <module>
    from mapdisp.frame import MapFrame
  File "/opt/grass/gui/wxpython/mapdisp/frame.py", line 64, in <module>
    class MapFrame(SingleMapFrame):
  File "/opt/grass/gui/wxpython/mapdisp/frame.py", line 70, in MapFrame
    page = None, Map = Map(), auimgr = None, name = 'MapWindow', **kwargs):
  File "/opt/grass/gui/wxpython/core/render.py", line 414, in __init__
    self.mapfile = grass.tempfile(create = False) + '.ppm'
  File "/opt/grass/etc/python/grass/script/core.py", line 736, in tempfile
    return read_command("g.tempfile", flags=flags, pid=os.getpid()).strip()
  File "/opt/grass/etc/python/grass/script/core.py", line 445, in
read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File "/opt/grass/etc/python/grass/script/core.py", line 312, in
handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None ['g.tempfile', '-d',
'pid=4416'] ended with error
Process ended with non-zero return code 1. See errors in the (error) output.

I have numpy installed, maybe it cannot find it; but in anyway I do not
think this is the main problem
any help?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Grass7-GUI-does-not-start-tp5257181p5258503.html
Sent from the Grass - Users mailing list archive at Nabble.com.