Re: [GRASS-user] Grass7 GUI does not start

2016-03-26 Thread ddarlac
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 
from lmgr.frame import GMFrame
  File "/opt/grass/gui/wxpython/lmgr/frame.py", line 50, in 
from lmgr.layertreeimport LayerTree, LMIcons
  File "/opt/grass/gui/wxpython/lmgr/layertree.py", line 37, in 
from mapdisp.frameimport MapFrame
  File "/opt/grass/gui/wxpython/mapdisp/frame.py", line 64, in 
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.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Grass7 GUI does not start

2016-03-26 Thread Vaclav Petras
On Sat, Mar 26, 2016 at 4:16 PM, ddarlac  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.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Grass7 GUI does not start

2016-03-26 Thread ddarlac
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.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Grass7 GUI does not start

2016-03-26 Thread ddarlac
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.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Build a layer from points

2016-03-26 Thread Alec Ventura
Hello folks, I am trying to create a layer, similar with a gross elevation map, 
it will have some different altitudes.I tried to use v.to.rast3 command and it 
runs without error, but nothing happens.Am I using the right command? Tnks for 
any tips,Alec Ventura.  ___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-26 Thread Glynn Clements

Martin Landa wrote:

> > d.mon is designed for interactive use. If you're writing a script,
> > don't use it. Set GRASS_RENDER_IMMEDIATE=png (or =cairo) and use the
> > environment variables.
> 
> not really, beside wx monitors, you can use cairo or png (useful for
> scripting). Martin

You appear to be misunderstanding what "interactive" means in this
context. It doesn't necessarily imply a GUI.

The only situation where a script should be using d.mon is if it
really is a "script", in the sense of a canned sequence of commands
which is meant to be "replayed" as part of an interactive workflow.

Anything which tries to behave like a typical program should manage
the relevant environment variables directly.

-- 
Glynn Clements 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Grass7 GUI does not start

2016-03-26 Thread Paul Shapley
Hi Laurent,

Have you tried:

g.gui wxpython

Paul Shapley

Sent from my iPad

> On 25 Mar 2016, at 22:28, Laurent C.  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 :
>> 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  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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user