Public bug reported:

```
$ 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: ubuntu
     Importance: Undecided
         Status: New

** Description changed:

  ```
- $ software-properties-gtk 
+ $ 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
-                ^^^^^^^^^^
+   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.

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to