[Bug 2152209] Re: errors when reloading repos cache after changing settings in software-properties

Hoàng Ngọc Long 2152209 at bugs.launchpad.net
Thu May 21 15:51:16 UTC 2026


*** This bug is a duplicate of bug 2150181 ***
    https://bugs.launchpad.net/bugs/2150181

** This bug has been marked a duplicate of bug 2150181
   [SRU] software-properties-gtk driver detection fails with Python 3.14 (cannot pickle SoftwarePropertiesGtk)

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

Title:
  errors when reloading repos cache after changing settings in software-
  properties

Status in software-properties package in Ubuntu:
  New

Bug description:
  When changing some settings in software-properties on Lubuntu 26.04, I
  got these tracebacks:

  :~$ software-properties-gtk
  Exception in thread Thread-1 (detect_drivers):
  Exception in thread Thread-2 (detect_drivers):
  Traceback (most recent call last):
  Traceback (most recent call last):
    File "/usr/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
      self._context.run(self.run)
      ~~~~~~~~~~~~~~~~~^^^^^^^^^^
    File "/usr/lib/python3.14/threading.py", line 1024, in run
      self._target(*self._args, **self._kwargs)
      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1458, in detect_drivers
      self.search_process.start()
      ~~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start
      self._popen = self._Popen(self)
                    ~~~~~~~~~~~^^^^^^
    File "/usr/lib/python3.14/multiprocessing/context.py", line 230, in _Popen
      return _default_context.get_context().Process._Popen(process_obj)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/context.py", line 306, in _Popen
      return Popen(process_obj)
    File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__
      super().__init__(process_obj)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__
      self._launch(process_obj)
      ~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 47, in _launch
      reduction.dump(process_obj, buf)
      ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/reduction.py", line 60, in dump
      ForkingPickler(file, protocol).dump(obj)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  TypeError: cannot pickle 'SoftwarePropertiesGtk' object
  when serializing tuple item 0
  when serializing method reconstructor arguments
  when serializing method object
  when serializing dict item '_target'
  when serializing softwareproperties.gtk.SoftwarePropertiesGtk.Process state
  when serializing softwareproperties.gtk.SoftwarePropertiesGtk.Process object
    File "/usr/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
      self._context.run(self.run)
      ~~~~~~~~~~~~~~~~~^^^^^^^^^^
    File "/usr/lib/python3.14/threading.py", line 1024, in run
      self._target(*self._args, **self._kwargs)
      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1458, in detect_drivers
      self.search_process.start()
      ~~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start
      self._popen = self._Popen(self)
                    ~~~~~~~~~~~^^^^^^
    File "/usr/lib/python3.14/multiprocessing/context.py", line 230, in _Popen
      return _default_context.get_context().Process._Popen(process_obj)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/context.py", line 306, in _Popen
      return Popen(process_obj)
    File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__
      super().__init__(process_obj)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__
      self._launch(process_obj)
      ~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 47, in _launch
      reduction.dump(process_obj, buf)
      ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/reduction.py", line 60, in dump
      ForkingPickler(file, protocol).dump(obj)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  TypeError: cannot pickle 'SoftwarePropertiesGtk' object
  when serializing tuple item 0
  when serializing method reconstructor arguments
  when serializing method object
  when serializing dict item '_target'
  when serializing softwareproperties.gtk.SoftwarePropertiesGtk.Process state
  when serializing softwareproperties.gtk.SoftwarePropertiesGtk.Process object
  Exception in thread Thread-3 (detect_drivers):
  Traceback (most recent call last):
    File "/usr/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
      self._context.run(self.run)
      ~~~~~~~~~~~~~~~~~^^^^^^^^^^
    File "/usr/lib/python3.14/threading.py", line 1024, in run
      self._target(*self._args, **self._kwargs)
      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1458, in detect_drivers
      self.search_process.start()
      ~~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start
      self._popen = self._Popen(self)
                    ~~~~~~~~~~~^^^^^^
    File "/usr/lib/python3.14/multiprocessing/context.py", line 230, in _Popen
      return _default_context.get_context().Process._Popen(process_obj)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/context.py", line 306, in _Popen
      return Popen(process_obj)
    File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__
      super().__init__(process_obj)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__
      self._launch(process_obj)
      ~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 47, in _launch
      reduction.dump(process_obj, buf)
      ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/reduction.py", line 60, in dump
      ForkingPickler(file, protocol).dump(obj)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  TypeError: cannot pickle 'SoftwarePropertiesGtk' object
  when serializing tuple item 0
  when serializing method reconstructor arguments
  when serializing method object
  when serializing dict item '_target'
  when serializing softwareproperties.gtk.SoftwarePropertiesGtk.Process state
  when serializing softwareproperties.gtk.SoftwarePropertiesGtk.Process object
  Exception in thread Thread-4 (detect_drivers):
  Traceback (most recent call last):
    File "/usr/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
      self._context.run(self.run)
      ~~~~~~~~~~~~~~~~~^^^^^^^^^^
    File "/usr/lib/python3.14/threading.py", line 1024, in run
      self._target(*self._args, **self._kwargs)
      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1458, in detect_drivers
      self.search_process.start()
      ~~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start
      self._popen = self._Popen(self)
                    ~~~~~~~~~~~^^^^^^
    File "/usr/lib/python3.14/multiprocessing/context.py", line 230, in _Popen
      return _default_context.get_context().Process._Popen(process_obj)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/context.py", line 306, in _Popen
      return Popen(process_obj)
    File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__
      super().__init__(process_obj)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__
      self._launch(process_obj)
      ~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 47, in _launch
      reduction.dump(process_obj, buf)
      ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.14/multiprocessing/reduction.py", line 60, in dump
      ForkingPickler(file, protocol).dump(obj)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  TypeError: cannot pickle 'SoftwarePropertiesGtk' object
  when serializing tuple item 0
  when serializing method reconstructor arguments
  when serializing method object
  when serializing dict item '_target'
  when serializing softwareproperties.gtk.SoftwarePropertiesGtk.Process state
  when serializing softwareproperties.gtk.SoftwarePropertiesGtk.Process object

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2152209/+subscriptions




More information about the foundations-bugs mailing list