[SRU] usrpctl fails to run

Bug #2060882 reported by Sudip Mukherjee
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uhd (Debian)
New
Unknown
uhd (Ubuntu)
Fix Released
Undecided
Unassigned
Mantic
Fix Committed
Undecided
Unassigned
Noble
Fix Committed
Undecided
Unassigned

Bug Description

[ Impact ]

usrpctl will fail to run with the error:

$ usrpctl
Traceback (most recent call last):
  File "/usr/bin/usrpctl", line 15, in <module>
    import uhd
ModuleNotFoundError: No module named 'uhd'

The error is because its missing one of the runtime dependencies.

[ Test Plan ]

1. install uhd-host
2. execute usrpctl

If the package is not fixed it will result in the above error.

With the fixed package it will print:
$ usrpctl
No USRP found to act on (id=None)

We can also see the output from "usrpctl --help".

But this is an USRP Hardware Driver Peripheral Configuration Tool, so ideally someone with the hardware should test.

[ Where problems could occur ]

There is no change in code and it only fixes a runtime dependency and so imho, there is very little chance of any regression.

[ Original Bug Description ]

usrpctl fails to run with the error:

$ usrpctl
Traceback (most recent call last):
  File "/usr/bin/usrpctl", line 15, in <module>
    import uhd
ModuleNotFoundError: No module named 'uhd'

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

same error is seen with rfnoc_image_builder also.

$ rfnoc_image_builder
Traceback (most recent call last):
  File "/usr/bin/rfnoc_image_builder", line 29, in <module>
    from uhd.imgbuilder import image_builder
ModuleNotFoundError: No module named 'uhd'

tags: added: noble
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Noble attached.

Changed in uhd (Ubuntu):
status: New → Confirmed
Changed in uhd (Debian):
status: Unknown → New
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Oracular attached.

tags: added: mantic oracular
summary: - usrpctl fails to run in Noble
+ [SRU] usrpctl fails to run
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

modified debdiff for Noble (with modified version) attached.

description: updated
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff attached for Mantic

Revision history for this message
Dave Jones (waveform) wrote :

Confirmed; fix looks minimal and reasonable, sponsoring, thank you!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package uhd - 4.6.0.0+ds1-6ubuntu1

---------------
uhd (4.6.0.0+ds1-6ubuntu1) oracular; urgency=medium

  * d/control: Fix runtime dependency. (LP: #2060882)

 -- Sudip Mukherjee <email address hidden> Tue, 30 Apr 2024 20:55:45 +0100

Changed in uhd (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Sudip, or anyone else affected,

Accepted uhd into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/uhd/4.6.0.0+ds1-5.1ubuntu0.24.04.1 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/PerformingSRUVerification . 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.

Changed in uhd (Ubuntu Noble):
status: New → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Sudip, or anyone else affected,

Accepted uhd into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/uhd/4.4.0.0+ds1-4ubuntu0.1 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-mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-mantic. 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/PerformingSRUVerification . 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.

Changed in uhd (Ubuntu Mantic):
status: New → Fix Committed
tags: added: verification-needed-mantic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.