[GRASS-user] Bug in GRASS 6.4 svn and 7.0 svn; both from 13.december this year

Lars Forseth lars.forseth at bluezone.no
Sun Dec 14 13:43:21 EST 2008


Hi!
Are others experiencing this behaviour:

When trying to add a new vector datasett to the map display window in either 
6.4 or 7 I get no file dialog with lists of available datasets. (Using the 
button in the tools row in the the layer manager.) If I try to add a raster 
datasett the list is displayed! And data can be added as normal.

The behavior is normal in 6.3 (SUSE 10.3 most recent rpm's).

I presume its a bug in Python: (errors from command output follows)

-----------------copy----------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/grass-6.4.svn/etc/wxpython/wxgui.py",
line 1359, in AddVector

self.curr_page.maptree.AddLayer('vector')
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
gui_utils.py", line 750, in AddLayer

self.PropertiesDialog(layer, show=True)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
gui_utils.py", line 842, in PropertiesDialog

parentframe=self)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/me
nuform.py", line 1715, in ParseCommand

get_dcmd=get_dcmd, layer=layer)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/me
nuform.py", line 617, in __init__

mainFrame=self)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/me
nuform.py", line 1166, in __init__

multiple=multiple, mapsets=mapsets)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/gs
elect.py", line 53, in __init__

self.tcp.GetElementList(type, mapsets, exceptOf)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/gs
elect.py", line 212, in GetElementList

filesdict = grass.list_grouped2(elementdict[element])
  File "/usr/local/grass-6.4.svn/etc/python/grass.py", line
325, in list_grouped2

map, mapset = line.split('@')
ValueError
:
too many values to unpack
filesdict = grass.list_grouped2(elementdict[element])
  File "/usr/local/grass-6.4.svn/etc/python/grass.py", line
325, in list_grouped2

map, mapset = line.split('@')
ValueError
:
too many values to unpack

-----------------------------end copy-----------------------------------------

regards 
larsf


More information about the grass-user mailing list