domlysz / BlenderGIS

Blender addons to make the bridge between Blender and geographic data
GNU General Public License v3.0
7.63k stars 1.35k forks source link

I can't import buildings from OSM #439

Open jsj2311 opened 3 years ago

jsj2311 commented 3 years ago

Blender and OS versions

Blender 2.91.0 and Windows 10.

Describe the bug

When I try to import constructions from the OSM web it shows an error.

How to Reproduce

When I click on get OSM and ways and building the error message appears in the image. Sem título

Error message

this is the error log:

Python: Traceback (most recent call last): File "C:\Users\josel\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\BlenderGIS-master\operators\io_import_osm.py", line 673, in execute result = api.query(query) File "C:\Users\josel\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\BlenderGIS-master\operators\lib\osm\overpy__init__.py", line 106, in query raise exception.OverpassUnknownContentType(content_type) BlenderGIS-master.operators.lib.osm.overpy.exception.OverpassUnknownContentType: Unknown content type: text/html; charset=utf-8

location: :-1

domlysz commented 3 years ago

What's the location ?

jsj2311 commented 3 years ago

The location is in the city of Paraty in Brazil, but I tested it in other cities too and it gave the same error.

jsj2311 commented 3 years ago

the problem continues for any location I select :(

jsj2311 commented 3 years ago

uninstalled Blender 2.91.0 and installed 2.83.12 and returned to working normally :D

domlysz commented 3 years ago

thank you for the feedback, it might help if you can test various Blender versions from 2.83 and 2.91 and tell me which one break the addon. I can't reproduce the issue on my side that's why I don't know what to say, I suspect some countries block requests to the osm overpass server

jsj2311 commented 3 years ago

I'll try. If it is really a request block due to the IP being Brazilian, would it be the case of modifying the IP for another country?

LV2021 commented 1 year ago

I am having the same issue. and I am using version 3.5. SOSOS I need help please

LV2021 commented 1 year ago

Capture