[GRASS-dev] svn: 41275 (Identation error in core.py?)

Pietro Zambelli peter.zamb at gmail.com
Wed Mar 3 06:58:43 EST 2010


Hi all!

I try to compile grass7 from svn I reach this error:

GRASS GIS compilation log                                                                                                                                                           
-------------------------                                                                                                                                                           
Started compilation: Wed Mar  3 12:34:18 CET 2010                                                                                                                                   
--                                                                                                                                                                                  
Errors in:                                                                                                                                                                          
/home/pietro/builds/grass70/src/grass70/lib/python                                                                                                                                  
/home/pietro/builds/grass70/src/grass70/scripts/d.vect.thematic                                                                                                                     
/home/pietro/builds/grass70/src/grass70/scripts/r.in.srtm                                                                                                                           
/home/pietro/builds/grass70/src/grass70/scripts/v.db.update                                                                                                                         
--                                                                                                                                                                                  
In case of errors please change into the directory with error and run 'make'.                                                                                                       
If you get multiple errors, you need to deal with them in the order they                                                                                                            
appear in the error log. If you get an error building a library, you will                                                                                                           
also get errors from anything which uses the library.                                                                                                                               
-- 

then I try to run 'make':
--
$ cd src/grass70/lib/python/                                                                                                                                
python $ make                                                                                                                                                       
python -m py_compile /home/pietro/builds/grass70/src/grass70/dist.x86_64-
unknown-linux-gnu/etc/python/grass/script/core.py                                                          
Sorry: IndentationError: ('expected an indented block', 
('/home/pietro/builds/grass70/src/grass70/dist.x86_64-unknown-linux-
gnu/etc/python/grass/script/core.py', 71, 10, '    return val\n'))make: *** 
[/home/pietro/builds/grass70/src/grass70/dist.x86_64-unknown-linux-
gnu/etc/python/grass/script/core.pyc] Error 1 


Pietro


More information about the grass-dev mailing list