Skip to content

Control panel Modem hangs on Ubuntu 24.04 #1054

@quozl

Description

@quozl

Logs contain;

Traceback (most recent call last):
  File "/usr/share/sugar/extensions/cpsection/modemconfiguration/model.py", line 207, in get
    return self._data[country_code]
           ~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'xk'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/jarabe/controlpanel/gui.py", line 459, in __select_option_cb
    self.show_section_view(option)
  File "/usr/lib/python3/dist-packages/jarabe/controlpanel/gui.py", line 313, in show_section_view
    self._section_view = view_class(model,
                         ^^^^^^^^^^^^^^^^^
  File "/usr/share/sugar/extensions/cpsection/modemconfiguration/view.py", line 125, in __init__
    self.service_providers = self._model.ServiceProviders()
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/sugar/extensions/cpsection/modemconfiguration/model.py", line 275, in __init__
    self._db = ServiceProvidersParser()
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/sugar/extensions/cpsection/modemconfiguration/model.py", line 235, in __init__
    self._countries.sort(key=lambda x: names.get(x.attrib['code']))
  File "/usr/share/sugar/extensions/cpsection/modemconfiguration/model.py", line 235, in <lambda>
    self._countries.sort(key=lambda x: names.get(x.attrib['code']))
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/sugar/extensions/cpsection/modemconfiguration/model.py", line 209, in get
    raise KeyError('Not found country name for code "%s"'
KeyError: 'Not found country name for code "xk"'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/jarabe/controlpanel/gui.py", line 374, in __cancel_clicked_cb
    self._section_view.undo()
    ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'undo'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/jarabe/controlpanel/gui.py", line 383, in __accept_clicked_cb
    if self._section_view.needs_restart:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'needs_restart'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/jarabe/controlpanel/gui.py", line 383, in __accept_clicked_cb
    if self._section_view.needs_restart:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'needs_restart'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions