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

Raspberry Pi connect gets stuck at checking status .... #174

Open
zytegalaxy opened this issue Sep 16, 2024 · 0 comments
Open

Raspberry Pi connect gets stuck at checking status .... #174

zytegalaxy opened this issue Sep 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zytegalaxy
Copy link
Collaborator

zytegalaxy commented Sep 16, 2024

When Raspberry Pi connect is connected to a session if I click on RPi connect item under remote menu, the next page gets stuck showing checking status ....

Screenshot 2024-09-15 at 5 58 06 PM

Software version 0.16.1 lite image.

btw, if I disconnect from the remote session, this page does not show up. In other words, this only happens when there is an open/active remote shell session.

I see the following error in the logs after this happens:

1726448087.830788 [ERROR] Event loop exception
Traceback (most recent call last):
  File "/opt/ubo/env/lib/python3.11/site-packages/ubo_app/services/050-rpi-connect/commands.py", line 272, in check_status
    await _check_status()
  File "/opt/ubo/env/lib/python3.11/site-packages/debouncer/debounce.py", line 216, in wrapper_
    return await _leading_edge(state, state.last_call_time)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/ubo/env/lib/python3.11/site-packages/debouncer/debounce.py", line 83, in _leading_edge
    return await _invoke_func(state, time) if state.leading else state.result
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/ubo/env/lib/python3.11/site-packages/debouncer/debounce.py", line 143, in _invoke_func
    result = await result
             ^^^^^^^^^^^^
  File "/opt/ubo/env/lib/python3.11/site-packages/ubo_app/services/050-rpi-connect/commands.py", line 77, in _check_status
    'remote_shell_sessions': int(data.group(5))
                             ^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' - extra: {
  "error_message": "Task exception was never retrieved",
  "future": "<Task finished name='Task-14556' coro=<check_status() done, defined at /opt/ubo/env/lib/python3.11/site-packages/ubo_app/services/050-rpi-connect/commands.py:271> exception=TypeError(\"int() argument must be a string, a bytes-like object or a real number, not 'NoneType'\")>",
  "loop": "<_UnixSelectorEventLoop running=True closed=False debug=False>",
  "parent_stack": "None"
}
@zytegalaxy zytegalaxy added the bug Something isn't working label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants