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

Launchpad Bug Tracker 2095081 at bugs.launchpad.net
Fri Jan 17 15:17:49 UTC 2025


You have been subscribed to a public bug:

```
$ 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.

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
AttributeError: 'NoneType' object has no attribute 'eol'
https://bugs.launchpad.net/bugs/2095081
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to software-properties in Ubuntu.



More information about the foundations-bugs mailing list