[Bug 2065697] [NEW] [regression] GrubConfig' object is not subscriptable when grub.install-devices is used

Dariusz Gadomski 2065697 at bugs.launchpad.net
Tue May 14 14:47:00 UTC 2024


Public bug reported:

Commit 4587fd40dfd7eabd6677004e91340edcfe5a7472 has made some
refactoring around how GrubConfig properties may be accessed. There was
a log message where old syntax has been left:
curtin/commands/curthooks.py:782

This leads to causing a Python TypeError:
TypeError: 'GrubConfig' object is not subscriptable
'GrubConfig' object is not subscriptable

The fix seems to be just converting this message not to use the []
syntax.

This seems pretty important as most likely it affects all installations
making use of grub.install-devices parameter.

** Affects: curtin
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curtin.
https://bugs.launchpad.net/bugs/2065697

Title:
  [regression] GrubConfig' object is not subscriptable when
  grub.install-devices is used

Status in curtin:
  New

Bug description:
  Commit 4587fd40dfd7eabd6677004e91340edcfe5a7472 has made some
  refactoring around how GrubConfig properties may be accessed. There
  was a log message where old syntax has been left:
  curtin/commands/curthooks.py:782

  This leads to causing a Python TypeError:
  TypeError: 'GrubConfig' object is not subscriptable
  'GrubConfig' object is not subscriptable

  The fix seems to be just converting this message not to use the []
  syntax.

  This seems pretty important as most likely it affects all
  installations making use of grub.install-devices parameter.

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2065697/+subscriptions




More information about the foundations-bugs mailing list