GRASS Troubleshooting: how to face the first difficulties of the beginning...

When you are using a software for the first time always expect problems! For any problem related to a specific GRASS command (you ran r.whatever and it caused error n°78371647....) see the GRASS official site or the users mailing list (learn to use this precious resource!). In this part of the tutorial you will only find the main problems first time users have using GRASS, especially if they are not so confident with Unix-like Operative Systems. This part has been written taking into account a long GRASS teaching experience (since 1996...) This is an advice for Windows users who start using GRASS: remember to close terminals, menus or forms only when the processes you ran have completely finished! If you don't check what's written inside the windows, you could shut a terminal (or a form) with an active process and this can cause the program not to respond anymore. Don't worry, with a little practice everything becomes much easier!

Before each question you can find in square brackets for which version(s) of GRASS the answer is valid.

[all] When starting GRASS you receive this message: "concurrent user not allowed" and GRASS doesn't start...

Two cases are possible:

[before 5(?)] Running a command on a monitor you have this error:"monitor x... is in use by user_name" (user_name it's YOUR user name)

The monitor is locked by a previous unfinished operation. Try the following operations: a) close this operation (press mouse right button on the monitor or on its form); b) kill the process in this way: first digit ps -a |grep x on the terminal to know the PID (process id), then prompt kill -9 PID ; c) kill the process as seen before then manually delete the locking file by typing: rm /GRASS_install_directory/locks/computer_name/*

[all] After running some commands to create new maps you can't see any output

Many commands can create maps but they don't display them automatically: you will have to display them manually using the Graphical interface or d.rast, d.vect. Some operations that takes a long while to be concluded run in background, and you will receive an e-mail when they are finished.

[all] You are trying to display a map but you can't see anything in the monitor and/or apparently the result of the processing contains no data

Make sure that the right region has been set with g.region and adapt the region to the map that must be displayed/computed.

[all] You can't find some data anymore (and you do know they exists!)

Check if you have set the right location and mapset, and if you have the right permissions to read/write these files/directories.

[all] You wrote r.mapcalc formulas but they don't work

Maps name cannot contain algebraic symbols (like +/-) or r.mapcalc will see them as operators. Remember also to check syntax, quotes, spaces, filenames... and try again.

[all] You are running a command from the console, entering goofy filename, and GRASS can't find it. But you're sure that the name is goofy!

Map and file names are case sensitive, so Goofy or GOOFY or goofy or goofY are four different maps or files! Check name's capital letters (you can display a list of available maps using g.list or listing the file on the terminal or using a file manager) and try again.

[all] You have created a set of raster maps (foo1, foo2 and foo3) by reclassifying the foo map with r.reclass but now they cannot be displayed or used anymore.

You may have used g.remove to clean up your mapset and you deleted the foo map too. Reclassified maps need the original one to work correctly otherwise they are useless. You can save a reclassified map permanently with the simple command, but it occupies more disk space. r.mapcalc permanent_map=reclass_map

[all] You are trying to import a e00 file with the v.in.e00 command but GRASS cannot find it

V.in.e00 should be copied in the current working directory or you must provide the complete path. Moreover the v.in.e00 command requires also the AVCimport and e00conv programs: check to have everything installed.

[all] You want to use maps that have been created by someone else (or you created them a long time ago and now you can't remember anything about them!) and you need to know: file contents, how they have been created, if they have been reclassed or not, if they have been generated by r.mapcalc and you would like to know which formulas have been used...

In the hist directory of the mapset there's a text file for each map: there you can find file history, including information about reclass and any r.mapcalc operation, or if the original file has been imported from an interchange format. To read these files use a text editor or run r.info.

For further informations on GRASS installation and many more usage problems see GRASS FAQS on the official site..