[gdal-dev] Issue with validate_gpkg.py

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Thu Nov 29 01:36:04 PST 2018


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-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20181129/523c46b6/attachment.html>


More information about the gdal-dev mailing list