[Bug 2095081] Re: AttributeError: 'NoneType' object has no attribute 'eol'

Hans Joachim Desserud 2095081 at bugs.launchpad.net
Fri Jan 17 15:17:47 UTC 2025


** Package changed: ubuntu => software-properties (Ubuntu)

** Tags added: plucky

-- 
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/2095081

Title:
  AttributeError: 'NoneType' object has no attribute 'eol'

Status in software-properties package in Ubuntu:
  New

Bug description:
  ```
  $ software-properties-gtk
  Traceback (most recent call last):
    File "/usr/bin/software-properties-gtk", line 100, in <module>
      app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 274, in __init__
      self.init_distro()
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 492, in init_distro
      eol_date = distro.eol
                 ^^^^^^^^^^
  AttributeError: 'NoneType' object has no attribute 'eol'
  ```
  Will not launch.
  Using the Plucky/Devel repo.

  
  ```
  software-properties-gtk:
    Installed: 0.108
    Candidate: 0.108
    Version table:
   *** 0.108 500
          500 http://us.archive.ubuntu.com/ubuntu ./devel/main amd64 Packages
          500 http://us.archive.ubuntu.com/ubuntu ./devel/main i386 Packages
          100 /var/lib/dpkg/status
  ```

  I can't get into this to disable update checking and notification
  which I wanted to do prior to removing it.  In any event, the python
  traceback suggests that the error could be handled instead of
  crashing.

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




More information about the foundations-bugs mailing list