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

Installer crashes when users selects "Help" #202

Closed
1 task done
jibel opened this issue May 24, 2022 · 0 comments · Fixed by canonical/subiquity#1301
Closed
1 task done

Installer crashes when users selects "Help" #202

jibel opened this issue May 24, 2022 · 0 comments · Fixed by canonical/subiquity#1301
Assignees
Labels
bug Something isn't working low Low importance bug

Comments

@jibel
Copy link
Collaborator

jibel commented May 24, 2022

cmd /c ver

Microsoft Windows [Version 10.0.19044.1469]

wsl --status

Default Distribution: Ubuntu
Default Version: 2

Windows Subsystem for Linux was last updated on 2/8/2022
WSL automatic updates are on.

Kernel version: 5.10.60.1

Did the problem occur during installation?

  • Yes

What happened?

With Ubuntu 22.04, the installer crashes when the user selects "Help" while changes are being applied.

2022-05-24 07:59:17,277 INFO root:37 start: subiquity/Meta/ssh_info_GET:
2022-05-24 07:59:17,278 INFO root:37 finish: subiquity/Meta/ssh_info_GET: SUCCESS: 500 Traceback (most recent call last):
  File "/snap/ubuntu-desktop-installer/cur...
2022-05-24 07:59:17,278 DEBUG subiquity.server.server:456 request to /meta/ssh_info crashed
Traceback (most recent call last):
  File "/snap/ubuntu-desktop-installer/current/bin/subiquity/subiquity/common/api/server.py", line 122, in handler
    result = await implementation(**args)
  File "/snap/ubuntu-desktop-installer/current/bin/subiquity/subiquity/server/server.py", line 147, in ssh_info_GET
    if self.app.base_model.network:
AttributeError: 'SystemSetupModel' object has no attribute 'network'
2022-05-24 07:59:17,278 ERROR aiohttp.server:355 Error handling request
Traceback (most recent call last):
  File "/snap/ubuntu-desktop-installer/current/usr/lib/python3/dist-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/snap/ubuntu-desktop-installer/current/usr/lib/python3/dist-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/snap/ubuntu-desktop-installer/current/usr/lib/python3/dist-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/snap/ubuntu-desktop-installer/current/bin/subiquity/subiquity/server/server.py", line 463, in middleware
    ErrorReportRef, report.ref())
AttributeError: 'NoneType' object has no attribute 'ref'

What was expected?

No crash and the help is displayed.

Steps to reproduce

  1. Install Ubuntu 22.04 from the store
  2. Proceed with the slideshow, the TUI is displayed
  3. Proceed with the installer until the step "Applying changes"
  4. Press "Tab" to go to the "Help" button then press "enter"

Additional information

No response

@jibel jibel added the bug Something isn't working label May 24, 2022
@jibel jibel added the low Low importance bug label May 24, 2022
@CarlosNihelton CarlosNihelton self-assigned this Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low Low importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants