Comment 12 for bug 1650767

Revision history for this message
Patryk Jankun (inoperable) wrote :

OK, I got rid of the partman bug by rechecking GPT partitions for errors, here is what I found:

If you start the installation from a live USB image - I dd'ed mine, but the USB writer does the same and produces a bad GPT table - and this seems to crash partman after manual partition selection.

second bug I encountered is within keyboard setup, as seen below:

Exception caught in process_line:
Traceback (most recent call last):
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 348, in set_keyboard
    ly = keyboard_names.layout_id(lang, misc.utf8(layout))
  File "/usr/lib/ubiquity/ubiquity/keyboard_names.py", line 142, in layout_id
    return kn.layout_id(lang, value)
  File "/usr/lib/ubiquity/ubiquity/keyboard_names.py", line 90, in layout_id
    return self._layout_by_human[value]
KeyError: 'Polish'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 145, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/ubiquity/ubiquity/debconffilter.py", line 287, in process_line
    if not input_widgets[0].run(priority, question):
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 502, in run
    self.ui.set_keyboard(misc.utf8(self.db.get(question)))
  File "/usr/lib/ubiquity/ubiquity/plugin.py", line 48, in wrapper
    return target(self, *args, **kwargs)
  File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 350, in set_keyboard
    ly = keyboard_names.layout_id('C', misc.utf8(layout))
  File "/usr/lib/ubiquity/ubiquity/keyboard_names.py", line 142, in layout_id
    return kn.layout_id(lang, value)
  File "/usr/lib/ubiquity/ubiquity/keyboard_names.py", line 90, in layout_id
    return self._layout_by_human[value]
KeyError: 'Polish'

Setting "Polish" was automatically selected based on my IP location (I guess, since it was auto-selected), and this keyboard/location auto-setting is another problem.

I'm not a dev and my python is ~rusty at least, but I share my findings here. Let me know if that's helpful or not.