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
./lpc81x_isp.py
Traceback (most recent call last):
File "/home/sbreit/git/LPC81x-ISP-tool/./lpc81x_isp.py", line 63, in <module>
from intelhex import IntelHex, HexRecordError
File "/home/sbreit/git/LPC81x-ISP-tool/intelhex/__init__.py", line 44, in <module>
from intelhex.compat import (
File "/home/sbreit/git/LPC81x-ISP-tool/intelhex/compat.py", line 60, in <module>
array_tobytes = getattr(array.array, "tobytes", array.array.tostring)
AttributeError: type object 'array.array' has no attribute 'tostring'
'tostring' is deprecated and was removed in Python 3.9.5. There also is an issue in the python-tostring project: python-intelhex/intelhex#45
For me, renaming the intelhex folder and using python3-intelhex from the apt repo fixed the issue.
The text was updated successfully, but these errors were encountered:
Running Ubuntu 21.04 with Python 3.9.5:
'tostring' is deprecated and was removed in Python 3.9.5. There also is an issue in the python-tostring project: python-intelhex/intelhex#45
For me, renaming the intelhex folder and using python3-intelhex from the apt repo fixed the issue.
The text was updated successfully, but these errors were encountered: