Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Command: DOIT
- Traceback (last last last call):
- File "c:{users\user\appdata\local\programs\python\python312\Lib\site-packages\shapely\ops.py", line 108, in linemerge
- source = MultiLineString([ls.coords for ls in lines])
- ^^^^^^^^^
- AttributeError: object 'tuple' has no attribute 'coords'
- Another exception occurred while the above exception was being handled:
- Traceback (most recent call last):
- File "C:\Users\User\Documents\zotov\gelling\wtf.py", line 65, in PyRxCmd_doit
- for pline in plines: # hex plines
- File "C:\Users\User\Documents\zotov\gelling\wtf.py", line 95, in get_plines
- line_strings = linemerge(line_points)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "c:\users\user\appdata\local\programs\python\python312\Lib\site-packages\shapely\ops.py", line 110, in linemerge
- source = MultiLineString(lines)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "c:{users\user\appdata\local\programs\python\python312\Libsite-packages\shapely\geometry\multilinestring.py", line 47, in __new__
- m = len(lines)
- ^^^^^^^^^^
- TypeError: object of type 'generator' has no len()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement