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
{{ message }}
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.
Now I get the following error:
Command failed: export LANG="en_US.UTF-8" && /opt/programs/anaconda3/bin/ampy --port /dev/ttyUSB0 --baud 115200 ls
Traceback (most recent call last):
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/files.py", line 96, in ls
out = self.pyboard.exec(textwrap.dedent(command))
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 263, in exec_
ret, ret_err = self.exec_raw(command)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 254, in exec_raw
self.exec_raw_no_follow(command);
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 251, in exec_raw_no_follow
raise PyboardError('could not exec command')
ampy.pyboard.PyboardError: could not exec command
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/programs/anaconda3/bin/ampy", line 11, in
sys.exit(cli())
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/cli.py", line 147, in ls
for f in board_files.ls(directory):
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/files.py", line 100, in ls
if ex.args[2].decode('utf-8').find('OSError: [Errno 2] ENOENT') != -1:
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using Ubuntu 18.04 and python 3.6 from Anaconda distribution, when I try build and run the main script I am getting the following error:
Turns out that .micropythonrc had on the tools field:
I changed it to:
Now I get the following error:
Command failed: export LANG="en_US.UTF-8" && /opt/programs/anaconda3/bin/ampy --port /dev/ttyUSB0 --baud 115200 ls
Traceback (most recent call last):
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/files.py", line 96, in ls
out = self.pyboard.exec(textwrap.dedent(command))
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 263, in exec_
ret, ret_err = self.exec_raw(command)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 254, in exec_raw
self.exec_raw_no_follow(command);
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 251, in exec_raw_no_follow
raise PyboardError('could not exec command')
ampy.pyboard.PyboardError: could not exec command
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/programs/anaconda3/bin/ampy", line 11, in
sys.exit(cli())
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/cli.py", line 147, in ls
for f in board_files.ls(directory):
File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/files.py", line 100, in ls
if ex.args[2].decode('utf-8').find('OSError: [Errno 2] ENOENT') != -1:
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered: