TypeError: object str can't be used in 'await' expression

Bug #1978339 reported by Paul Larson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Confirmed
Undecided
Dan Bungert

Bug Description

On Raspberry pi (haven't tried amd64 yet) when installing the uc22 release candidate, on the network configuration screen, if I highlight any interface then select 'info' I get the following error:

Traceback (most recent call last):
  File "/usr/bin/console-conf", line 33, in <module>
    sys.exit(load_entry_point('subiquity==0.0.5', 'console_scripts', 'console-conf-tui')())
  File "/usr/share/subiquity/console_conf/cmd/tui.py", line 90, in main
    interface.run()
  File "/usr/share/subiquity/subiquitycore/tui.py", line 374, in run
    super().run()
  File "/usr/share/subiquity/subiquitycore/core.py", line 135, in run
    raise exc
  File "/usr/share/subiquity/subiquitycore/ui/views/network.py", line 292, in _show_INFO
    info = await self.controller.app.wait_with_text_dialog(
  File "/usr/share/subiquity/subiquitycore/tui.py", line 202, in wait_with_text_dialog
    return await self._wait_with_indication(
  File "/usr/share/subiquity/subiquitycore/tui.py", line 163, in _wait_with_indication
    result = await awaitable
  File "/usr/share/subiquity/subiquitycore/tui.py", line 188, in w
    return await orig
TypeError: object str can't be used in 'await' expression

After this, I can still go back and continue the installation. The only impact I'm seeing from this at the moment is that the 'info' option isn't useable.

Revision history for this message
Dan Bungert (dbungert) wrote :

This has been fixed before, but isn't on that branch yet.
Needs commit 4b1277

Changed in subiquity:
assignee: nobody → Dan Bungert (dbungert)
status: New → Confirmed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

https://github.com/canonical/subiquity/pull/1310. The core22 snap claims to be following the server/jammy branch but specifies a commit so that will need to be updated too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.