You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This appears to be similar to this issue while loading ply. I have tried both ASCII and binary formats which produce the same error. I am currently using pyassimp version 4.1.4.
'Traceback (most recent call last):\n',
' File "pyassimp/core.py", line 321, in load\n scene = _init(model.contents)\n',
' File "pyassimp/core.py", line 216, in _init\n call_init(obj, target)\n',
' File "pyassimp/core.py", line 84, in call_init\n _init(obj,parent=caller)\n',
' File "pyassimp/core.py", line 212, in _init\n setattr(target, name, obj)\n',
"AttributeError: 'bytes' object has no attribute 'aketrans'\n"
The text was updated successfully, but these errors were encountered:
Hi,
thanks for your report. Indeed, there is an error in the iteration code for attributes of the loaded assimp structs. We have to check which kind of attribute we found and accidentally the wrong token was used to get the attributes. In the code, there was a check for the prefix m and for one case the starting m was used in the following code.
Instead of this token we need to use the original token.
Describe the bug
This appears to be similar to this issue while loading ply. I have tried both ASCII and binary formats which produce the same error. I am currently using pyassimp version 4.1.4.
The text was updated successfully, but these errors were encountered: