Additional drivers tab cause uncancellable operation that prevents the program from closing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Triaged
|
Low
|
Nathan Teodosio |
Bug Description
Start software-
There is however no way to cancel the operation other than killing software-
Test plans
----------
1. Start software-
1.1. Go to additional drivers tab.
1.2. Click close at the south-east corner or close the window via your window manager.
Expected. Window closes immediately.
4. Start software-
4.1. Go to additional drivers tab and wait.
Expected: The viewport will at the end say that either no drivers are available or show a list of drivers such as in the drivers-list.png attachment. The cancel/retry buttons are gone in the latter case.
2. Start software-
2.1. Go to additional drivers tab.
Expected: The 'python3' command starts consuming 100% CPU.
2.2. Click cancel.
Expected: The aforementioned process is no longer hogging the CPU, indicating that the driver scan really stopped. The button is now retry, clickable.
2.3. Click retry.
Expected: The 'python3' command starts consuming 100% CPU. The button is now cancel.
3. Start software-
3.1. Go to additional drivers tab.
3.2. Get the PID of the 'python3' process consuming 100% CPU and kill it with kill -29 PID
Expected: The viewport reports the error. Retry is clickable.
5. Start software-
5.1. Introduce a unconditional exception in /usr/lib/
--->
--- /usr/lib/
+++ /usr/lib/
@@ -866,4 +866,5 @@
def system_
+print(fooo)
'''Get by-device driver packages that are available for the system.
<---
5.2. Go to additional drivers tab.
Expected: "An error occurred while searching for drivers."; In the terminal, the backtrace is shown:
--->
Traceback (most recent call last):
File "/home/
raise(
Exception: Traceback (most recent call last):
File "/home/
multiproces
File "/usr/lib/
self.
File "/home/
devices = detect.
File "/usr/lib/
print(fooooo)
^^^^^^
NameError: name 'fooooo' is not defined
<---
Related branches
- Marco Trevisan (Treviño) (community): Approve
- Ana Sereijo (community): Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 222 lines (+115/-16)3 files modifieddata/gtkbuilder/main.ui (+23/-1)
debian/changelog (+7/-0)
softwareproperties/gtk/SoftwarePropertiesGtk.py (+85/-15)
description: | updated |
description: | updated |
Changed in software-properties (Ubuntu): | |
status: | In Progress → Triaged |
description: | updated |