[GRASS-dev] [GRASS GIS] #1418: WinGrass7 - v,dissolve not working

GRASS GIS trac at osgeo.org
Sat Aug 6 16:37:58 EDT 2011


#1418: WinGrass7 - v,dissolve not working
----------------------+-----------------------------------------------------
 Reporter:  hellik    |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:  7.0.0                    
Component:  Vector    |     Version:  svn-trunk                
 Keywords:  wingrass  |    Platform:  MSWindows Vista          
      Cpu:  x86-32    |  
----------------------+-----------------------------------------------------
 tested with WinGRASS-7.0.SVN-r47463-1-Setup.exe

 there are a few issues with v.dissolve

 (1) db.tables in $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db

 {{{
 db.tables --verbose
 EU27_Biogeo_June08
 bgr58fus
 br05exploded
 br05explodedl1
 (Sat Aug 06 22:18:19 2011) Command finished (0 sec)
 }}}

 (2) db.describe --verbose table=bgr58fus

 {{{
 column:bgr0508fus
 description:
 type:CHARACTER
 len:75
 scale:0
 precision:0
 default:
 nullok:yes
 select:?
 update:?
 }}}

 (3) v.dissolve from the wxgui

 {{{
 Traceback (most recent call last):
   File "C:\Program Files\GRASS
 7.0.SVN\etc\gui\wxpython\wxgui.py", line 536, in OnMenuCmd

 menuform.GUI(parent = self).ParseCommand(cmd)
   File "C:\Program Files\GRASS
 7.0.SVN\etc\gui\wxpython\gui_modules\menuform.py", line
 1878, in ParseCommand

 blackList = _blackList)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/python/grass/script/task.py", line 451, in
 parse_interface
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/python/grass/script/task.py", line 438, in
 get_interface_description
 grass.script.core
 .
 ScriptError
 :
 u'Unable to fetch interface description for command
 \'v.dissolve\'.\n\nDetails: Traceback (most recent call
 last):\r\n  File "C:\\Program Files\\GRASS
 7.0.SVN\\scripts\\v.dissolve.py", line 39, in <module>\r\n
 import grass.script as grass\r\n  File "C:\\Program
 Files\\GRASS
 7.0.SVN\\etc\\python\\grass\\script\\__init__.py", line 1,
 in <module>\r\n    from core   import *\r\n  File
 "C:\\Program Files\\GRASS
 7.0.SVN\\etc\\python\\grass\\script\\core.py", line 31, in
 <module>\r\n    import subprocess\r\n  File "C:\\Program
 Files\\GRASS 7.0.SVN\\Python25\\lib\\subprocess.py", line
 376, in <module>\r\n    import threading\r\n  File
 "C:\\Program Files\\GRASS
 7.0.SVN\\Python25\\lib\\threading.py", line 13, in
 <module>\r\n    from collections import
 deque\r\nImportError: No module named collections\r\n'
 }}}

 (4) from the wxgui-command console

 {{{
 Traceback (most recent call last):
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/gui/wxpython/gui_modules/prompt.py", line 803,
 in OnItemSelected
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/python/grass/script/task.py", line 451, in
 parse_interface
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/python/grass/script/task.py", line 438, in
 get_interface_description
 grass.script.core
 .
 ScriptError
 :
 u'Unable to fetch interface description for command
 \'v.dissolve\'.\n\nDetails: Traceback (most recent call
 last):\r\n  File "C:\\Program Files\\GRASS
 7.0.SVN\\scripts\\v.dissolve.py", line 39, in <module>\r\n
 import grass.script as grass\r\n  File "C:\\Program
 Files\\GRASS
 7.0.SVN\\etc\\python\\grass\\script\\__init__.py", line 1,
 in <module>\r\n    from core   import *\r\n  File
 "C:\\Program Files\\GRASS
 7.0.SVN\\etc\\python\\grass\\script\\core.py", line 31, in
 <module>\r\n    import subprocess\r\n  File "C:\\Program
 Files\\GRASS 7.0.SVN\\Python25\\lib\\subprocess.py", line
 376, in <module>\r\n    import threading\r\n  File
 "C:\\Program Files\\GRASS
 7.0.SVN\\Python25\\lib\\threading.py", line 13, in
 <module>\r\n    from collections import
 deque\r\nImportError: No module named collections\r\n'
 }}}

 (5) and in the wingrass70-windows-commandline

 {{{
 GRASS 7.0.svn> v.dissolve.py input=bgr58fus layer=1 column=bgr0508fus
 output=bgrdis
 DBMI-SQLite driver error:
 Cannot step:
 SQL logic error or missing database

 FEHLER: Kann Daten nicht aus der Tabelle <bgr58fus> holen.
 FEHLER: Vektorkarte <bgrdis> nicht gefunden.
 GRASS 7.0.svn>
 }}}

 there seems to be some issue with the sqlite-database

 best regards
 Helmut

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1418>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list