Opened 7 years ago

Closed 15 months ago

Last modified 15 months ago

#1665 closed defect (fixed)

Grass SVN (51807) doesn’t launch: Path '…/<UNKNOWN>/<UNKNOWN>' doesn't exist

Reported by: vince Owned by: grass-dev@…
Priority: normal Milestone: 7.0.7
Component: Startup Version: svn-trunk
Keywords: Cc:
CPU: OSX/Intel Platform: MacOSX

Description

I’ve tried to compile the current SVN version in hope it would work with the latest wxPython (2.9 svn, universal) with TCL/TK disabled (Tk does not build universal). But it simply does not launch. The console appears, I get a message:

Path '~/<UNKNOWN>/<UNKNOWN>' doesn't exist

(where I have substituted ~ for the location to my home path in full text) and the console exits with logout.

As if all the initial steps to specify a location were simply omitted.

Change History (13)

comment:1 Changed 6 years ago by wenzeslaus

Is this still relevant for current trunk (e.g. GRASS 7 build from 10 February 2014 from http://grassmac.wikidot.com/ or self compiled r59071)?

comment:2 Changed 6 years ago by vince

I'm going to test this. Give me two or three days to figure out. Thanks!

comment:3 in reply to:  2 Changed 5 years ago by lucadelu

Replying to vince:

I'm going to test this. Give me two or three days to figure out. Thanks!

Do you have any news?

Could we close this ticket?

comment:4 Changed 5 years ago by vince

Geez. I'm sorry, I totally overlooked that. Can it wait until next week? I'll then get down to help on the packaging of Grass 7 for Macports and so I'll have time to test that out.

Sorry for the (inacceptable, granted) delay.

comment:5 Changed 4 years ago by martinl

Milestone: 7.0.07.0.5

comment:6 Changed 4 years ago by wenzeslaus

Is this still relevant for current trunk or latest release (e.g. GRASS 7 build from GRASS 7.0.4 stable from ​http://grassmac.wikidot.com/ or self compiled trunk r68425)?

comment:7 Changed 3 years ago by neteler

Milestone: 7.0.57.0.6

comment:8 Changed 21 months ago by neteler

Milestone: 7.0.67.0.7

comment:9 Changed 15 months ago by wenzeslaus

Resolution: fixed
Status: newclosed

The trunk (7.5/7.7) starts for me with no ~/.grass7 directory (a state which generates <UNKNOWN>/<UNKNOWN> internally) on Linux. I did some improvements in error handling there and there might have been more changes I don't recall. Currently, a nice error message is reported when starting in text mode (no GUI at all) and not providing mapset in the command line.

ERROR: Unable to start GRASS GIS. You have the choice to:
 - Launch the graphical user interface with the '-gui' switch
     grass75 -gui
 - Launch with path to the location/mapset as an argument
     grass75 /path/to/location/mapset`
 - Create a location with '-c' and launch in its PERMANENT mapset
     grass75 -c EPSG:number /path/to/location
     grass75 -c geofile /path/to/location
 - Create manually the GISRC file (/home/vpetras/.grass7/rc)
 - Use '--help' for further options
     grass75 --help
See also: https://grass.osgeo.org/grass75/manuals/helptext.html
Exiting...
]}}

Closing as fixed.

comment:10 Changed 15 months ago by neteler

In the help text, shouldn't it be --gui rather than -gui (appears two times)?

In the terminal --gui is shown with --help...

comment:11 Changed 15 months ago by wenzeslaus

Error reports further improved in r73263.

r73262 and r73264 change -gui and -text in the messages to --gui and --text according to wiki:Grass8Planning. The preference of --gui over -gui is fairly new (since r73100, after 7.4), so we still have -gui etc. on couple more places.

grep --exclude-dir={.svn,OBJ.*,dist.*,bin.*,locale} -IrnE "[^-a-z]-gui[^_]"

comment:12 in reply to:  11 ; Changed 15 months ago by neteler

Replying to wenzeslaus:

r73262 and r73264 change -gui and -text in the messages to --gui and --text according to wiki:Grass8Planning. The preference of --gui over -gui is fairly new (since r73100, after 7.4), so we still have -gui etc. on couple more places.

I have searched across the source code tree of trunk and relbranch76 and updated all occurrences of -text, -gtext, -gui to --text, --gtext, --gui in messages and manuals accordingly (r73265 and r73266).

comment:13 in reply to:  12 Changed 15 months ago by wenzeslaus

Replying to neteler:

Replying to wenzeslaus:

r73262 and r73264 change -gui and -text in the messages to --gui and --text according to wiki:Grass8Planning. The preference of --gui over -gui is fairly new (since r73100, after 7.4), so we still have -gui etc. on couple more places.

I have searched across the source code tree of trunk and relbranch76 and updated all occurrences of -text, -gtext, -gui to --text, --gtext, --gui in messages and manuals accordingly (r73265 and r73266).

Thanks. We are a step closer to GRASS GIS 8.0! (wiki updated)

Note: See TracTickets for help on using tickets.