ARMmbed / ARMmbed/mbed-cli

Problem during compilation

Open
#988 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
339
Forks
187
PR merge metrics
No merged PRs in 30d

Description

Hi,

I had to reset my computer. And I can(t succeed on compiling using mbed cli.
It used to work before reset, but not any more...

I get the following error message :

[mbed] Working path "/Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur" (program)
Traceback (most recent call last):
File "/Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur/mbed-os/tools/make.py", line 30, in
from tools.utils import args_error
File "/Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur/mbed-os/tools/utils.py", line 32, in
from intelhex import IntelHex
File "/usr/local/lib/python3.9/site-packages/intelhex/__init__.py", line 44, in
from intelhex.compat import (
File "/usr/local/lib/python3.9/site-packages/intelhex/compat.py", line 60, in
array_tobytes = getattr(array.array, "tobytes", array.array.tostring)
AttributeError: type object 'array.array' has no attribute 'tostring'
[mbed] ERROR: "/usr/local/opt/python@3.9/bin/python3.9" returned error.
Code: 1
Path: "/Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur"
Command: "/usr/local/opt/python@3.9/bin/python3.9 -u /Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur/mbed-os/tools/make.py -t ARM -m NUCLEO_L432KC --source . --build ./BUILD/NUCLEO_L432KC/ARM"
Tip: You could retry the last command with "-v" flag for verbose output

Does anyone has some idea?
Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.