Comment 3 for bug 1860682

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

One exception ocurrs when Cubic tries to display the kernel details.

In the example below, Cubic expected a string value in one of the columns. Instead, a string value appeared in the column, because the column items were out of order.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Traceback (most recent call last):
  File "/usr/share/cubic/display.py", line 546, in _update_liststore_rows
    liststore.append(data)
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 956, in append
    return self._do_insert(-1, row)
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 947, in _do_insert
    row, columns = self._convert_row(row)
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 857, in _convert_row
    result.append(self._convert_value(cur_col, value))
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 875, in _convert_value
    return GObject.Value(self.get_column_type(column), value)
  File "/usr/lib/python3/dist-packages/gi/overrides/GObject.py", line 218, in __init__
    self.set_value(py_value)
  File "/usr/lib/python3/dist-packages/gi/overrides/GObject.py", line 274, in set_value
    (py_value, type(py_value)))
ValueError: Expected string but got True<class 'bool'>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -