blosm icon indicating copy to clipboard operation
blosm copied to clipboard

Import Buildings 3d Realistic - Failed - IndexError: list index out of range

Open Danielmannn opened this issue 3 years ago • 18 comments

After making good experiences with the free version I just bought the pro. Unfortunately I got an error and don't know what is going on. What do I have to do?

Python: Traceback (most recent call last): File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm_init_.py", line 190, in execute return self.importOsm(context) File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm_init_.py", line 279, in importOsm a.render() File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm\app_init_.py", line 526, in render m.render() File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm\building\manager.py", line 146, in render self.renderer.render(building, self.osm) File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm\building\renderer.py", line 135, in render self.renderElement(outline, building, osm) File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm\building\renderer.py", line 164, in renderElement self._renderElement(element, building, roof, data, osm) File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm\building\renderer.py", line 175, in _renderElement if roof.make(osm): File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm\building\roof\profile.py", line 620, in make slotR.trackUp(roofIndices) File "C:\Users\dan thi\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender-osm\building\roof\profile.py", line 456, in trackUp elif part[-1] != parts[index+1][1][0]: IndexError: list index out of range

location: :-1

Danielmannn avatar Apr 22 '21 10:04 Danielmannn

Hi @Danielmannn

Thank you for purchasing the premium version.

Please inform us the coordinates of your area of interest. They are needed to reproduce and localize the problem.

vvoovv avatar Apr 22 '21 10:04 vvoovv

grafik Paris

Danielmannn avatar Apr 22 '21 10:04 Danielmannn

Do you perhaps have a smaller area where the problem occurs? It would help to localize the problem faster.

vvoovv avatar Apr 22 '21 14:04 vvoovv

Will try again tomorrow or monday at the latest.

Danielmannn avatar Apr 22 '21 17:04 Danielmannn

I hope to fix the problem within a week provided that the building causing the error is found.

vvoovv avatar Apr 26 '21 17:04 vvoovv

I tried it again with a smaller part and did not have the problem. I will probably do a couple of exports again over the next weeks and tell you if I find it.

Danielmannn avatar Apr 26 '21 18:04 Danielmannn

I didn't search for the building that caused the error. But I fixed a similar problem for another building. I hope your problem will be fixed too. I expect the next release of the addon to happen next week.

vvoovv avatar May 04 '21 18:05 vvoovv

Nice. I did not try yet cause I am really busy with related stuff and the part I have right now is good enough.

Danielmannn avatar May 04 '21 20:05 Danielmannn

Please download the new release of the addon with the bug fix.

vvoovv avatar May 13 '21 17:05 vvoovv

Hi @vvoovv ! Thank you for your amazing plugin ! I'm having the exact same issue as @Danielmannn and managed to find the building that was causing the error : -0.76627,48.07366,-0.76544,48.07447

MaxenceColet avatar May 26 '21 20:05 MaxenceColet

Hi @MaxenceColet,

Thank you for reporting the problem.

I was able to reproduce the problem. It will take 1-2 week to fix it. I'll inform once it's fixed.

vvoovv avatar May 27 '21 10:05 vvoovv

Also https://www.openstreetmap.org/way/630236462

vvoovv avatar Jun 07 '21 19:06 vvoovv

It will take longer to fix it. But I hope to fix it in June.

vvoovv avatar Jun 07 '21 19:06 vvoovv

I got the same problem myself in a different area of the map, the problem building should be in the parcel is this coordinate: -122.46125,37.72002,-122.46024,37.72186

Boolerex avatar Mar 11 '22 00:03 Boolerex

Hi @Boolerex

I got the same problem myself in a different area of the map, the problem building should be in the parcel is this coordinate: -122.46125,37.72002,-122.46024,37.72186

Sorry, I am unable to reproduce the problem. Your area of interest is imported without any problems in all modes.

Which version of the addon do you use?

Please attach a screenshot of the error.

vvoovv avatar Mar 13 '22 08:03 vvoovv

image

Here a screenshot of the error with the coordinate (not sure I've pasted the right coordinate), I'm in version 2.5.1 for the addon

Boolerex avatar Mar 14 '22 02:03 Boolerex

I used the same settings as in your screenshot and it works for me fine in Blender 3.1. The version of the addon is 2.5.3.

image

vvoovv avatar Mar 14 '22 09:03 vvoovv

Odd, I'm also in blender 3.1, I updated the addon to version 2.5.3 and still got the same error in those coordinate.

I also tried to put the asset package to the default package + put nothing in the terrain field and I'm still getting the same error

Boolerex avatar Mar 14 '22 15:03 Boolerex