Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

non-breaking bug -- cli pasting diffs results error after vtx settings #13563

Open
nerdCopter opened this issue Apr 21, 2024 · 3 comments
Open
Labels
BUG Bugs are excluded from automatically being marked as stale

Comments

@nerdCopter
Copy link
Member

nerdCopter commented Apr 21, 2024

Describe the bug

snippet of CLI output during paste.

[...redacted full diff...]

# vtxtable band 5 RACEBAND R CUSTOM  5658 5695 5732 5769 5806 5843 5880 5917

# vtxtable powerlevels 4

# vtxtable powervalues 25 100 200 350

# vtxtable powerlabels 25 100 200 350

# 
###ERROR IN input: UNKNOWN COMMAND, TRY 'HELP'###
# # master

# set dyn_notch_count = 2
dyn_notch_count set to 2

[...redacted full diff...]

# save
###ERROR IN save: ERRORS WERE DETECTED - PLEASE REVIEW BEFORE CONTINUING###
###ERROR IN save: PLEASE FIX ERRORS THEN 'SAVE'###

# #

To Reproduce

  • go to CLI, get a diff, copy to clipboard, paste that clipboard. any master for few weeks or more now (i did not bisect to find when it started).
  • multiple targets.

Expected behavior

no error on blankline or commented line

Support ID

Id: "277d563d-f499-4a13-8bd6-6ebcc231fd4f"

Flight controller

multiple

Other components

No response

How are the different components wired up (including port information)

No response

Add any other context about the problem that you think might be relevant here

No response

@nerdCopter nerdCopter added the Template: Bug Set by auto_close_issue. label Apr 21, 2024
@haslinghuis haslinghuis added BUG Bugs are excluded from automatically being marked as stale and removed Template: Bug Set by auto_close_issue. labels Apr 21, 2024
@haslinghuis
Copy link
Member

This should work:

vtxtable bands 5
vtxtable channels 8
vtxtable band 5 RACEBAND R CUSTOM  5658 5695 5732 5769 5806 5843 5880 5917
vtxtable powerlevels 4
vtxtable powervalues 25 100 200 350
vtxtable powerlabels 25 100 200 350

@nerdCopter
Copy link
Member Author

  • my snippet was just the area in the CLI output, not the entire vtx section.
  • now it's proving me wrong :/, but i've seen another pilot post the same issue in discord, so i'm unsure the trigger. it might be an emptyline or it might be an invisible character.
    image

@haslinghuis
Copy link
Member

Is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Bugs are excluded from automatically being marked as stale
Projects
None yet
Development

No branches or pull requests

2 participants