Opened 12 years ago

Closed 6 years ago

Last modified 6 years 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 by wenzeslaus, 11 years ago

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 by vince, 11 years ago

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

in reply to:  2 comment:3 by lucadelu, 10 years ago

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 by vince, 10 years ago

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 by martinl, 9 years ago

Milestone: 7.0.07.0.5

comment:6 by wenzeslaus, 9 years ago

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 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:8 by neteler, 7 years ago

Milestone: 7.0.67.0.7

comment:9 by wenzeslaus, 6 years ago

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 by neteler, 6 years ago

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 by wenzeslaus, 6 years ago

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[^_]"

in reply to:  11 ; comment:12 by neteler, 6 years ago

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).

in reply to:  12 comment:13 by wenzeslaus, 6 years ago

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.