apport hook AttributeError: 'UAConfig' object has no attribute 'data_path'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) | Status tracked in Oracular | |||||
Xenial |
Fix Committed
|
Undecided
|
Unassigned | |||
Bionic |
Fix Committed
|
Undecided
|
Unassigned | |||
Focal |
Fix Committed
|
Undecided
|
Unassigned | |||
Jammy |
Fix Committed
|
Undecided
|
Unassigned | |||
Mantic |
Fix Committed
|
Undecided
|
Unassigned | |||
Noble |
Fix Committed
|
Undecided
|
Unassigned | |||
Oracular |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
The apport hook for ubuntu-
```
# ubuntu-bug ubuntu-
(...)
.............ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
os.
AttributeError: 'UAConfig' object has no attribute 'data_path'
...
```
This produces incomplete bug reports.
[ Test Plan ]
- run `ubuntu-bug ubuntu-
- it should not crash, and you should be able to produce a complete bug report
[ Where problems could occur ]
The apport hook is already crashing, meaning it's not collecting all the information we want. Another regression here would not make things worse.
[ Other Info ]
Not at this time.
[ Original Description ]
In Pro v32, from jammy-proposed, when running `ubuntu-bug ubuntu-
# ubuntu-bug ubuntu-
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.............ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
os.
AttributeError: 'UAConfig' object has no attribute 'data_path'
...
description: | updated |
Changed in ubuntu-advantage-tools (Ubuntu): | |
status: | New → Confirmed |
Hello Andreas, or anyone else affected,
Accepted ubuntu- advantage- tools into noble-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ ubuntu- advantage- tools/32. 1~24.04 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- noble to verification- done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- noble. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.