/usr/bin/software-properties-gtk:AttributeError:on_pktask_finish:net_status_changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Invalid
|
High
|
Nathan Teodosio | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Impact
The change from the previous revision to handle connectivity change use an API not available on focal and trigger an exception
* Test case
- detach the system from ubuntu pro if it's attached
- open software-properties
- go the ubuntu pro tab
- click on 'enable ubuntu pro'
- while the dialog is open disconnect and reconnect the network
- change the selection from manual token to PIN
the UI should update and no error should be triggered
Check also that the error reports stop for the new version (url referenced below)
* Regression potential
If the callback were not working as expected the UI could end up not responding to status change or not accepting the PIN or token entered, validate that the different methods still work as expected to register
-------
The Ubuntu Error Tracker has been receiving reports about a problem regarding software-
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
Related branches
- Sebastien Bacher: Approve
-
Diff: 24 lines (+4/-2)1 file modifiedsoftwareproperties/gtk/DialogUaAttach.py (+4/-2)
Changed in software-properties (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Nathan Teodosio (nteodosio) |
Changed in software-properties (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
tags: |
added: verification-done-focal removed: verification-needed verification-needed-focal |
The packagekit exception doesn't seem a recent change but the report also include
Traceback (most recent call last): python3/ dist-packages/ softwarepropert ies/gtk/ DialogUaAttach. py", line 196, in net_status_changed new("poll" , self.poll_ for_magic_ token)
File "/usr/lib/
self.poll = GLib.Thread.
AttributeError: type object 'Thread' has no attribute 'new'