Error when fetching Crowsnest install status
dw-0 opened this issue · 0 comments
dw-0 commented
@dw-0 i'm facing a similar situation after i updated to latest today, and picked v6. now kiauh does not start.
my moonraker does not have a crowsnest updating block. could you point me in another direction?
python 3.8
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~~~ [ KIAUH ] ~~~~~~~~~~~~~~~~~~~~~ ║
║ Klipper Installation And Update Helper ║
║ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ║
╚═══════════════════════════════════════════════════════╝
[ERROR] An unexpected error occured:
cannot unpack non-iterable NoneType object
Traceback (most recent call last):
File "/home/klipper/kiauh/kiauh/core/menus/base_menu.py", line 184, in run
self.display_menu()
File "/home/klipper/kiauh/kiauh/core/menus/base_menu.py", line 178, in display_menu
self.print_menu()
File "/home/klipper/kiauh/kiauh/core/menus/main_menu.py", line 127, in print_menu
self._fetch_status()
File "/home/klipper/kiauh/kiauh/core/menus/main_menu.py", line 96, in _fetch_status
self._get_component_status("cn", get_crowsnest_status)
File "/home/klipper/kiauh/kiauh/core/menus/main_menu.py", line 100, in _get_component_status
status_data: ComponentStatus = status_fn(*args)
File "/home/klipper/kiauh/kiauh/components/crowsnest/crowsnest.py", line 157, in get_crowsnest_status
return get_install_status(CROWSNEST_DIR, files=files)
File "/home/klipper/kiauh/kiauh/utils/common.py", line 127, in get_install_status
org, repo = get_repo_name(repo_dir)
TypeError: cannot unpack non-iterable NoneType object
Originally posted by @eduncan911 in #513 (comment)