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
bindings: Fix random cryptic Python UnicodeDecodeErrors
If any of the python type wrapper functions are marked static, Python
will randomly emit a cryptic UnicodeDecodeError when trying to import
the resulting .so:
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
from bindings.python.lib import c_ray
File "/home/vkoskiv/c-ray/bindings/python/lib/c_ray.py", line 5, in <module>
from . import cray_wrap as _lib
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb8 in position 0: invalid start byte
I haven't got the faintest clue why this happens, but this fix seems to
work, at least for now.
0 commit comments