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

DTS UI slow response and errors when using DPP keys #1156

Open
m-iwanicki opened this issue Dec 4, 2024 · 3 comments
Open

DTS UI slow response and errors when using DPP keys #1156

m-iwanicki opened this issue Dec 4, 2024 · 3 comments
Labels
bug Something isn't working DasharoToolsSuite needs review novacustom_v56_mtl NovaCustom V56 Series

Comments

@m-iwanicki
Copy link

m-iwanicki commented Dec 4, 2024

Component

Dasharo Tools Suite

Device

NovaCustom V56 14th Gen

Dasharo version

v0.9.0

Dasharo Tools Suite version

develop (b822e35ef0b009f62313968040bea633c11adb6f)

Test case ID

No response

Brief summary

Errors when entering empty DPP keys and slow refresh

How reproducible

100%

How to reproduce

Errors:

  1. Boot DTS
  2. Enter option 4) Load your DPP keys
  3. Press enter 3 times (entering empty credentials)

Slow UI

  1. Enter any non empty string as your DPP credentials

Expected behavior

  1. One error when checking invalid credentials and then DTS should work normally.
  2. No noticable slowdown when refreshing UI.

Actual behavior

  1. When using empty DPP credentials each time UI is refreshed (e.g. any key was pressed) then there is error

    Usage: grep [OPTION]... PATTERNS [FILE]...
    Try 'grep --help' for more information
    

    and to show UI again you have to press Enter twice

  2. When using any non-empty credentials each key press results in screen being cleared and staying black for around 1 second

Screenshots

v560tu-heads

Additional context

Entering empty credentials might happen if someone enters this option by mistake and wants to cancel/go back. As CTRL+C doesn't work obvious choice is to enter nothing.

Solutions you've tried

No response

@github-actions github-actions bot added the novacustom_v56_mtl NovaCustom V56 Series label Dec 4, 2024
@m-iwanicki
Copy link
Author

m-iwanicki commented Dec 4, 2024

There is also
/usr/sbin/dts-subscription.sh: line 60: [: -eq: unary operator expected error while checking dasharo credentials.

@m-iwanicki
Copy link
Author

Partial (grep part) duplicate of #1141

@Firminator
Copy link

I ran into this issue, too. Mistyping my credentials :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DasharoToolsSuite needs review novacustom_v56_mtl NovaCustom V56 Series
Projects
None yet
Development

No branches or pull requests

2 participants