osm-pl / osm-addr-tools

Address conflation tools, expanded version of https://gist.github.com/balrog-kun/4241509 and friends
3 stars 3 forks source link

Dopiewo@iMPA #23

Closed zibik closed 9 years ago

zibik commented 9 years ago

Takie coś:

./merger.py --impa dopiewo INFO:punktyadresowe_import.iMPA:http://dopiewo.e-mapa.net/application/system/init.php Traceback (most recent call last): File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 399, in _initFromIMPA init_data = json.loads(data) File "/usr/lib64/python3.4/json/init.py", line 318, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.4/json/decoder.py", line 343, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python3.4/json/decoder.py", line 361, in raw_decode raise ValueError(errmsg("Expecting value", s, err.value)) from None ValueError: Expecting value: line 1 column 16602 (char 16601)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "./merger.py", line 794, in main() File "./merger.py", line 743, in main imp = iMPA(args.impa, wms=args.wms) File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 381, in init self._initFromIMPA(gmina) File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 401, in _initFromIMPA raise ValueError("Failure loading data from: %s" % (url,), e) ValueError: ('Failure loading data from: http://dopiewo.e-mapa.net/application/system/init.php', ValueError('Expecting value: line 1 column 16602 (char 16601)',))