2022-02-24 17:35:01 |
Olivier Gayot |
description |
I quickly went through the first steps of the installation and Subiquity crashed with the below stack when reaching the file-system screen.
SourcePackage: subiquity
Title: Installer UI crashed with TypeError
Traceback:
Traceback (most recent call last):
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquity/client/client.py", line 404, in run
super().run()
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquitycore/tui.py", line 374, in run
super().run()
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquitycore/core.py", line 135, in run
raise exc
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquity/client/controllers/filesystem.py", line 229, in _guided_choice
self.model.load_server_data(status)
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquity/models/filesystem.py", line 985, in load_server_data
self._actions = self._actions_from_config(
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquity/models/filesystem.py", line 1116, in _actions_from_config
for action in config:
TypeError: 'NoneType' object is not iterable
As a response to the POST /filesystem/guided query, the client received a StorageResponse containing the status ProbeStatus.PROBING (and all other fields set to None) ; which it didn't expect.
The client should learn to expect this kind of answer or we should implement a mechanism to have the server wait until it finishes probing before responding. |
I quickly went through the first steps of the installation and Subiquity crashed with the below stack when reaching the file-system screen.
SourcePackage: subiquity
Title: Installer UI crashed with TypeError
Traceback:
Traceback (most recent call last):
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquity/client/client.py", line 404, in run
super().run()
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquitycore/tui.py", line 374, in run
super().run()
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquitycore/core.py", line 135, in run
raise exc
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquity/client/controllers/filesystem.py", line 229, in _guided_choice
self.model.load_server_data(status)
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquity/models/filesystem.py", line 985, in load_server_data
self._actions = self._actions_from_config(
File "/snap/subiquity/x1/lib/python3.8/site-packages/subiquity/models/filesystem.py", line 1116, in _actions_from_config
for action in config:
TypeError: 'NoneType' object is not iterable
As a response to the POST /storage/guided query, the client received a StorageResponse containing the status ProbeStatus.PROBING (and all other fields set to None) ; which it didn't expect.
The client should learn to expect this kind of answer or we should implement a mechanism to have the server wait until it finishes probing before responding. |
|