[GRASS-dev] GRASS 7 CLI startup

I just installed grass7 and attempted to start it
in CLI-only mode, never having started it before
on my machine:

  grass70 -text

The result (after the Welcome message) was:

Starting GRASS GIS...
/home/benni/<UNKNOWN>/<UNKNOWN>/.gislock: No such file or directory
ERROR: /usr/local/grass-7.0.svn/etc/lock:
Unable to properly access "/home/benni/<UNKNOWN>/<UNKNOWN>/.gislock"
Please notify system personel.

Before I file a ticket: did I overlook something?
I'd hate to have to notify my system personel :wink:

Ben

------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.

After starting in wxGUI mode and making the basic
settings, it works fine, of course.
Just seems like .grass7/rc cannot be properly created
by "grass70 -txt".

Ben

----- Original Message -----

I just installed grass7 and attempted to start it
in CLI-only mode, never having started it before
on my machine:

grass70 -text

The result (after the Welcome message) was:

Starting GRASS GIS...
/home/benni/<UNKNOWN>/<UNKNOWN>/.gislock: No such file or directory
ERROR: /usr/local/grass-7.0.svn/etc/lock:
Unable to properly access "/home/benni/<UNKNOWN>/<UNKNOWN>/.gislock"
Please notify system personel.

Before I file a ticket: did I overlook something?
I'd hate to have to notify my system personel :wink:

Ben

------ Files attached to this email may be in ISO 26300 format (OASIS
Open Document Format). If you have difficulty opening them, please
visit http://iso26300.info for more information.

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

------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.

Benjamin Ducke wrote:

I just installed grass7 and attempted to start it
in CLI-only mode, never having started it before
on my machine:

  grass70 -text

The result (after the Welcome message) was:

Starting GRASS GIS...
/home/benni/<UNKNOWN>/<UNKNOWN>/.gislock: No such file or directory
ERROR: /usr/local/grass-7.0.svn/etc/lock:
Unable to properly access "/home/benni/<UNKNOWN>/<UNKNOWN>/.gislock"
Please notify system personel.

Before I file a ticket: did I overlook something?
I'd hate to have to notify my system personel :wink:

The "-text" option doesn't work in 7.0. All curses-based functionality
has been removed from 7.0.

Apart from having been re-written in Python, the start-up script
hasn't actually changed much since 6.x. In particular, the -text
option is still recognised, although the curses-based interface which
it invoked no longer exists.

--
Glynn Clements <glynn@gclements.plus.com>

Glynn wrote:

The "-text" option doesn't work in 7.0. All curses-based
functionality has been removed from 7.0.

work around:

specify the mapset path as a command line argument.

example:

$ grass7 ~/grassdata/spearfish60/user1

Hamish

Hi,

2011/1/14 Benjamin Ducke <benjamin.ducke@oxfordarch.co.uk>:

I just installed grass7 and attempted to start it
in CLI-only mode, never having started it before
on my machine:

grass70 -text

The result (after the Welcome message) was:

Starting GRASS GIS...
/home/benni/<UNKNOWN>/<UNKNOWN>/.gislock: No such file or directory
ERROR: /usr/local/grass-7.0.svn/etc/lock:
Unable to properly access "/home/benni/<UNKNOWN>/<UNKNOWN>/.gislock"
Please notify system personel.

Before I file a ticket: did I overlook something?
I'd hate to have to notify my system personel :wink:

r45116 introduces error message for this case.

$ grass70 -text
Unable to start GRASS. You can:
- Launch GRASS with '-gui' switch (`grass70 -gui`)
- Create manually GISRC file (/home/martin/.grass7/rc)
- Launch GRASS with path to the location/mapset as an argument
(`grass70 /path/to/location/mapset`)

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Sat, Jan 15, 2011 at 1:20 AM, Glynn Clements
<glynn@gclements.plus.com> wrote:
...

The "-text" option doesn't work in 7.0. All curses-based functionality
has been removed from 7.0.

I wonder if it could come back Python-based:
http://www.tuxradar.com/content/code-project-build-ncurses-ui-python
?

Markus

Markus Neteler wrote:

> The "-text" option doesn't work in 7.0. All curses-based functionality
> has been removed from 7.0.

I wonder if it could come back Python-based:

There's no fundamental reason why not. The -gui case just executes
gis_set.py, which updates $GISRC and returns a success/failure
indication. Although, writing something similar using Python and
curses would be a fair amount of work (you'd basically end up porting
most of the old Vask library to Python as well as set_data itself).

--
Glynn Clements <glynn@gclements.plus.com>