[GRASS-dev] grass 7.0 - UnboundLocalError: local variable 'kv' referenced before assignment

Hi list,

I just finished installing grass 7.0 from svn (Updated to revision 38527)
on
Ubuntu 9:04, kernel: 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17
01:58:03 UTC 2009 x86_64 GNU/Linux

I had no error in configure, nor in make (details attached)

when starting grass70, I get following error:

File "/usr/local/bin/grass70", line 862, in <module>
   read_gui()
File "/usr/local/bin/grass70", line 201, in read_gui
   grass_gui = kv['GRASS_GUI']
UnboundLocalError: local variable 'kv' referenced before assignment

if I start with
grass70 -text option, no error, but I have no way to create location &
mapsets from console

I suppose is a Python related error;

I am using

aptitude show python2.6
Package: python2.6
Version: 2.6.2-0ubuntu1

aptitude show python-wxgtk2.8
Package: python-wxgtk2.8
Version: 2.8.9.1-0ubuntu6

many thanks

regards

Enrico Gallo

(attachments)

grass_70.log (2.03 KB)

Hi,

2009/7/29 Enrico Gallo <enrico.gallo@gmail.com>:

when starting grass70, I get following error:
File "/usr/local/bin/grass70", line 862, in <module>
read_gui()
File "/usr/local/bin/grass70", line 201, in read_gui
grass_gui = kv['GRASS_GUI']
UnboundLocalError: local variable 'kv' referenced before assignment

fixed in r38531.

Martin

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