BirdLogics / sb3topy

A Scratch to Python converter.
BSD 3-Clause "New" or "Revised" License
44 stars 8 forks source link

list object has error #2

Open Bloctans opened 2 years ago

Bloctans commented 2 years ago

File "D:\sb3topy-1.1-beta\sb3topy-1.1-beta\src\sb3topy\parser\variables.py", line 339, in mark_modified var = self.get_var('list', block['fields']['LIST'][0]) File "D:\sb3topy-1.1-beta\sb3topy-1.1-beta\src\sb3topy\parser\variables.py", line 206, in get_var if not name.startswith(prefix): AttributeError: 'list' object has no attribute 'startswith'

in the error msg

BirdLogics commented 2 months ago

Could you provide a link to the project with this error? It looks like you are trying to convert a project containing legacy Scratch 2 hacked blocks. These are not supported, but if you provide a link, I should be able to confirm and potentially suppress the error at least.