[GRASS-dev] [GRASS GIS] #1796: wingrass7: some db.*-modules fails
GRASS GIS
trac at osgeo.org
Mon Nov 12 08:32:36 PST 2012
#1796: wingrass7: some db.*-modules fails
----------------------+-----------------------------------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Database | Version: svn-trunk
Keywords: | Platform: MSWindows 7
Cpu: x86-64 |
----------------------+-----------------------------------------------------
fails:
{{{
db.databases --verbose
D2/3: dbDbmscap(): opendir
[C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\]
D2/3: dbDbmscap(): opendir
[C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\]
D3/3: win_spawn: args = C:\windows\system32\cmd.exe /c
"C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\dbf.exe"
D1/3: db_d_init_error(): DBF
dbmi: db_list_databases() not implemented
ERROR: Kann Datenbanken nicht auflisten.
ERROR: Databases can't be listet.
(Mon Nov 12 17:20:18 2012) Command finished (0 sec)
}}}
ok:
{{{
db.tables --verbose
ccm2_example_wgs84
ccm2_example_wgs843d_ccm2_example_wgs84
ccm2_example_wgs84_smaller19
riverclipped
testarea
testareaisel
(Mon Nov 12 17:23:17 2012) Command finished (0 sec)
}}}
fails:
{{{
db.describe --verbose table=ccm2_example_wgs84
D2/3: dbDbmscap(): opendir
[C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\]
D2/3: dbDbmscap(): opendir
[C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\]
D3/3: win_spawn: args = C:\windows\system32\cmd.exe /c
"C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\dbf.exe"
D1/3: db_d_init_error(): DBF
D2/3: DBF: db__driver_open_database() name =
'$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/'
D3/3: tokens[0] = $GISDBASE
D3/3: -> C:\grassdata
D3/3: tokens[1] = $LOCATION_NAME
D3/3: -> srtm41gar
D3/3: tokens[2] = $MAPSET
D3/3: -> vectexample
D3/3: tokens[3] = dbf
D2/3: db.name = C:\grassdata/srtm41gar/vectexample/dbf/
D2/3: add_table(): table = ccm2_example_wgs84 name =
ccm2_example_wgs84.dbf
D2/3: add_table(): table =
ccm2_example_wgs843d_ccm2_example_wgs84 name =
ccm2_example_wgs843d_ccm2_example_wgs84.dbf
D2/3: add_table(): table = ccm2_example_wgs84_smaller19 name
= ccm2_example_wgs84_smaller19.dbf
D2/3: add_table(): table = riverclipped name =
riverclipped.dbf
D2/3: add_table(): table = testarea name = testarea.dbf
D2/3: add_table(): table = testareaisel name =
testareaisel.dbf
D2/3: find_table(): table = ccm2_example_wgs84
D2/3: ? ccm2_example_wgs84
D2/3: load_table_head(): tab = 0, C:\grassdata/srtm41gar/vec
texample/dbf/\ccm2_example_wgs84.dbf
D2/3: ncols = 25
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = cat, width =
11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = WSO1_ID, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = WSO_ID, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = RVR_ID, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = FROMNODE,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = TONODE, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = STRAHLER,
width = 11, decimals = 0
D2/3: DBFFieldType 2
D3/3: add_column(): tab = 0, type = 3, name = PFAFSTETTE,
width = 20, decimals = 6
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = NEXTDOWNID,
width = 11, decimals = 0
D2/3: DBFFieldType 0
D3/3: add_column(): tab = 0, type = 1, name = LONGPATH,
width = 1, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = MAINDRAIN_,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = MAINDRAIN1,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = LENGTH, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = CUM_LEN, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = PIXELS_100,
width = 11, decimals = 0
D2/3: DBFFieldType 2
D3/3: add_column(): tab = 0, type = 3, name = CATCHMENT_,
width = 20, decimals = 6
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = CONT_PIXEL,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = DRAIN_KM2,
width = 11, decimals = 0
D2/3: DBFFieldType 2
D3/3: add_column(): tab = 0, type = 3, name = ALT_GRADIE,
width = 20, decimals = 6
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = BURNED, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = CONFIDENCE,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = WINDOW, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = OBJECTID,
width = 11, decimals = 0
D2/3: DBFFieldType 2
D3/3: add_column(): tab = 0, type = 3, name = SHAPE_Leng,
width = 20, decimals = 6
D2/3: DBFFieldType 0
D3/3: add_column(): tab = 0, type = 1, name = grenze, width
= 1, decimals = 0
}}}
fails:
{{{
db.columns --verbose table=ccm2_example_wgs84
D2/3: dbDbmscap(): opendir
[C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\]
D2/3: dbDbmscap(): opendir
[C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\]
D3/3: win_spawn: args = C:\windows\system32\cmd.exe /c
"C:\OSGeo4W\apps\grass\grass-7.0.svn\driver\db\dbf.exe"
D1/3: db_d_init_error(): DBF
D2/3: DBF: db__driver_open_database() name =
'$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/'
D3/3: tokens[0] = $GISDBASE
D3/3: -> C:\grassdata
D3/3: tokens[1] = $LOCATION_NAME
D3/3: -> srtm41gar
D3/3: tokens[2] = $MAPSET
D3/3: -> vectexample
D3/3: tokens[3] = dbf
D2/3: db.name = C:\grassdata/srtm41gar/vectexample/dbf/
D2/3: add_table(): table = ccm2_example_wgs84 name =
ccm2_example_wgs84.dbf
D2/3: add_table(): table =
ccm2_example_wgs843d_ccm2_example_wgs84 name =
ccm2_example_wgs843d_ccm2_example_wgs84.dbf
D2/3: add_table(): table = ccm2_example_wgs84_smaller19 name
= ccm2_example_wgs84_smaller19.dbf
D2/3: add_table(): table = riverclipped name =
riverclipped.dbf
D2/3: add_table(): table = testarea name = testarea.dbf
D2/3: add_table(): table = testareaisel name =
testareaisel.dbf
D2/3: find_table(): table = ccm2_example_wgs84
D2/3: ? ccm2_example_wgs84
D2/3: load_table_head(): tab = 0, C:\grassdata/srtm41gar/vec
texample/dbf/\ccm2_example_wgs84.dbf
D2/3: ncols = 25
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = cat, width =
11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = WSO1_ID, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = WSO_ID, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = RVR_ID, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = FROMNODE,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = TONODE, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = STRAHLER,
width = 11, decimals = 0
D2/3: DBFFieldType 2
D3/3: add_column(): tab = 0, type = 3, name = PFAFSTETTE,
width = 20, decimals = 6
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = NEXTDOWNID,
width = 11, decimals = 0
D2/3: DBFFieldType 0
D3/3: add_column(): tab = 0, type = 1, name = LONGPATH,
width = 1, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = MAINDRAIN_,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = MAINDRAIN1,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = LENGTH, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = CUM_LEN, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = PIXELS_100,
width = 11, decimals = 0
D2/3: DBFFieldType 2
D3/3: add_column(): tab = 0, type = 3, name = CATCHMENT_,
width = 20, decimals = 6
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = CONT_PIXEL,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = DRAIN_KM2,
width = 11, decimals = 0
D2/3: DBFFieldType 2
D3/3: add_column(): tab = 0, type = 3, name = ALT_GRADIE,
width = 20, decimals = 6
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = BURNED, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = CONFIDENCE,
width = 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = WINDOW, width
= 11, decimals = 0
D2/3: DBFFieldType 1
D3/3: add_column(): tab = 0, type = 2, name = OBJECTID,
width = 11, decimals = 0
D2/3: DBFFieldType 2
D3/3: add_column(): tab = 0, type = 3, name = SHAPE_Leng,
width = 20, decimals = 6
D2/3: DBFFieldType 0
D3/3: add_column(): tab = 0, type = 1, name = grenze, width
= 1, decimals = 0
}}}
Helmut
{{{
System Info
GRASS version: 7.0.svn
GRASS SVN Revision: 53771
GIS Library Revision: 52468 (2012-07-27)
GDAL/OGR: 1.9.2
PROJ.4: 4.8.0
GEOS: 3.3.5
Python: 2.7.2
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1796>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list