lausdahl / isoxmlviz

A small python utility to display static data from ISO 11783-10 files (ISOXML)
MIT License
2 stars 1 forks source link

TypeError: 'type' object is not subscriptable #1

Open egbertpostma opened 7 months ago

egbertpostma commented 7 months ago

When I run the tool I get the following response:

Traceback (most recent call last): File "C:\Program Files (x86)\Python38-32\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files (x86)\Python38-32\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\egbert.postma\AppData\Roaming\Python\Python38\site-packages\isoxmlviz__main__.py", line 1, in from isoxmlviz import visualize File "C:\Users\egbert.postma\AppData\Roaming\Python\Python38\site-packages\isoxmlviz\visualize.py", line 14, in from isoxmlviz.LineStringUtil import extract_lines_within, get_coordinates File "C:\Users\egbert.postma\AppData\Roaming\Python\Python38\site-packages\isoxmlviz\LineStringUtil.py", line 34, in def get_coordinates(lines: list[LineString]): TypeError: 'type' object is not subscriptable

I tried different taskdata sets, any clue?

lausdahl commented 3 months ago

any change you could share the input file with me so I can fix the issue