-
Notifications
You must be signed in to change notification settings - Fork 213
Cannot download some places in 3D Realistic (IndexError: list index out of range) #701
Copy link
Copy link
Open
Description
Blosm premium version 2.7.23
Blender version 5.0.1
Selected Extent: -46.65138,-23.58727,-46.29707,-23.30190
Settings:
I wanted to download Sao Paulo for a professional project. When i downloaded with the setting i sent, it gave me the following error:
Downloading the file from http://overpass-api.de/api/map?bbox=-46.6513786315918,-23.587270736694336,-46.29706954956055,-23.30190086364746...
Saving the file to C:\Users\<user>\Documents\blosm\osm-data\osm\map_52.osm...
Parsing OSM file C:\Users\<user>\Documents\blosm\osm-data\osm\map_52.osm...
Downloading data for incomplete OSM relations
Downloading the file from http://overpass-api.de/api/interpreter...
Saving the file to C:\Users\<user>\Documents\blosm\osm-data\osm\map_52_extra.osm...
Parsing and processing data from the file C:\Users\<user>\Documents\blosm\osm-data\osm\map_52_extra.osm for incomplete OSM relations
Time for parsing OSM file: 0:02:08.483096
Processing the parsed OSM data...
The number of buildings: 1225818
Time for processing of the parsed OSM data: 0:00:25.220552
Creating meshes in Blender...
Traceback (most recent call last):
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\__init__.py", line 250, in execute
bl_idname = "blosm.import_data" # important since its how bpy.ops.blosm.import_data is constructed
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\__init__.py", line 351, in importOsm
a.maxLat = osm.maxLat
^^^^^^^^^^
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\app\blender.py", line 483, in render
m.render()
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\building\manager.py", line 81, in render
self.renderer.render(building, self.data)
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\building2\renderer.py", line 156, in render
action.do(building, itemClass, buildingStyle, self)
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\__init__.py", line 93, in do
self.generateVolume(footprint, element.getData(self.data))
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\__init__.py", line 100, in generateVolume
volumeGenerator.do(footprint, coords)
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\roof.py", line 83, in do
self.render(footprint, roofItem)
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\roof_profile.py", line 680, in render
slotR.trackUp(roofItem, 0)
File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\roof_profile.py", line 445, in trackUp
elif part[-1] != parts[index+1][1][0]:
~~~~~^^^^^^^^^
IndexError: list index out of range
02:13:47.828 bpy.rna | ERROR Python script error in BLOSM_OT_import_data.execute
02:13:47.828 operator | ERROR Python: Traceback (most recent call last):
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\__init__.py", line 250, in execute
| bl_idname = "blosm.import_data" # important since its how bpy.ops.blosm.import_data is constructed
| ^^^^^^^^^^^^^^^^^^^^^^^
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\__init__.py", line 351, in importOsm
| a.maxLat = osm.maxLat
| ^^^^^^^^^^
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\app\blender.py", line 483, in render
| m.render()
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\building\manager.py", line 81, in render
| self.renderer.render(building, self.data)
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\building2\renderer.py", line 156, in render
| action.do(building, itemClass, buildingStyle, self)
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\__init__.py", line 93, in do
| self.generateVolume(footprint, element.getData(self.data))
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\__init__.py", line 100, in generateVolume
| volumeGenerator.do(footprint, coords)
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\roof.py", line 83, in do
| self.render(footprint, roofItem)
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\roof_profile.py", line 680, in render
| slotR.trackUp(roofItem, 0)
| File "C:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\5.0\scripts\addons\blosm\action\volume\roof_profile.py", line 445, in trackUp
| elif part[-1] != parts[index+1][1][0]:
| ~~~~~^^^^^^^^^
| IndexError: list index out of range
This area is very dense and quite huge so it might exceed a maximum integer or something but idk if there is such limitations with python and the error looks like there is a problem with a roof.
I was able to download a smaller section tho.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels