Looks like (line 59) type.startswith('TEXT(') or type.startswith('BLOB(') Should be
typ.startswith('TEXT(') or typ.startswith('BLOB(') (i.e. remove the two "e" characters) Brad From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> On Behalf Of Rahkonen Jukka (MML) Sent: Thursday, 29 November 2018 8:36 PM To: 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) <gdal-dev@lists.osgeo.org> Subject: [gdal-dev] Issue with validate_gpkg.py Hi, I try to run validate_gpkg.py that I downloaded today from GitHub. I run it under OSGeo4W installation on Windows, GDAL version GDAL 2.3.2, released 2018/09/21, and Python version Python 2.7.14. Validation stops at this error message: Traceback (most recent call last): File "validate_gpkg.py", line 1611, in <module> verbose=verbose) File "validate_gpkg.py", line 1578, in check checker.check() File "validate_gpkg.py", line 1555, in check self._check_features(c) File "validate_gpkg.py", line 596, in _check_features self._check_vector_user_table(c, table_name) File "validate_gpkg.py", line 367, in _check_vector_user_table self._assert(_is_valid_data_type(typ), 5, File "validate_gpkg.py", line 59, in _is_valid_data_type type.startswith('TEXT(') or type.startswith('BLOB(') AttributeError: type object 'type' has no attribute 'startswith' Is there something that a user can do for making the script to run? -Jukka Rahkonen-
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev