'LVM_LogicalVolume' object has no attribute 'number'

Bug #2065711 reported by Pierre KELBERT
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned

Bug Description

I tried to install Ubuntu server ubuntu-24.04-live-server-amd64 but I can not go ahead the disk managment part. The crash report is attached to the issue.

Tags: subiquity
Title: Installer UI crashed with AttributeError
Traceback:
 Traceback (most recent call last):
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquity/client/client.py", line 394, in run
     await super().run()
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquitycore/tui.py", line 351, in run
     await super().run()
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquitycore/core.py", line 134, in run
     raise exc
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquity/client/controllers/filesystem.py", line 268, in _guided_choice
     self.ui.set_body(FilesystemView(self.model, self))
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 485, in __init__
     self.refresh_model_inputs()
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 533, in refresh_model_inputs
     self.avail_list.refresh_model_inputs()
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 418, in refresh_model_inputs
     menu = self._action_menu_for_device(obj)
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 346, in _action_menu_for_device
     enabled, whynot = action.can(device)
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquity/common/filesystem/actions.py", line 67, in can
     r = _checkers[self](device)
   File "/snap/subiquity/5495/usr/lib/python3.10/functools.py", line 889, in wrapper
     return dispatch(args[0].__class__)(*args, **kw)
   File "/snap/subiquity/5495/lib/python3.10/site-packages/subiquity/common/filesystem/actions.py", line 325, in _can_delete_raid_vg
     partnum=p.number,
 AttributeError: 'LVM_LogicalVolume' object has no attribute 'number'

Revision history for this message
Pierre KELBERT (pierrekelbert) wrote :
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.