Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

mavproxy.py: correct printing of shlex exception #1382

Merged
merged 1 commit into from
May 15, 2024

Conversation

peterbarker
Copy link
Contributor

message is not an attribute of e (any more?)

Before:

MANUAL>   File "/home/pbarker/.local/lib/python3.10/site-packages/MAVProxy-1.8.70-py3.10.egg/EGG-INFO/scripts/mavproxy.py", line 756, in process_stdin
MANUAL> AttributeError: 'ValueError' object has no attribute 'message'
MANUAL> Unknown command 'File "/home/pbarker/.local/lib/python3.10/site-packages/MAVProxy-1.8.70-py3.10.egg/EGG-INFO/scripts/mavproxy.py", line 756, in process_stdin'
Unknown command 'AttributeError: 'ValueError' object has no attribute 'message''

after:

MANUAL> Caught shlex exception: No closing quotation

message is not an attribute of e
@tridge tridge merged commit 996213c into ArduPilot:master May 15, 2024
2 checks passed
@peterbarker peterbarker deleted the pr/shlex-exception branch May 15, 2024 07:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants