Bug 1473513

Summary: No module named rtlsdraio
Product: [Fedora] Fedora Reporter: Ryan Desfosses <ryan>
Component: python-pyrtlsdrAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: james, jskarvad
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pyrtlsdr-0.2.5-3.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-31 14:54:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan Desfosses 2017-07-21 04:20:27 UTC
Description of problem:
rtlsdr-scanner

Version-Release number of selected component (if applicable):
1.0.22497.10311-2.fc26


How reproducible:
click icon

Steps to Reproduce:
1. click "Activities"
2. click "Show Applications"
3. click "rtlsdr-scanner" icon

Actual results:
expected application to launch

Expected results:
crash

Additional info:
$ rtlsdr_scan 
Import error: No module named rtlsdraio

Error importing libraries
Press [Return] to exit

$ cat /etc/os-release 
NAME=Fedora
VERSION="26 (Workstation Edition)"
ID=fedora
VERSION_ID=26
PRETTY_NAME="Fedora 26 (Workstation Edition)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:26"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=26
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=26
PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
VARIANT="Workstation Edition"
VARIANT_ID=workstation

$ dmesg | grep dvb
[ 1722.047529] usb 2-2: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
[ 1722.102433] usb 2-2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[ 1722.102445] dvbdev: DVB: registering new adapter (Realtek RTL2832U reference design)
[ 1722.199573] usb 2-2: dvb_usb_v2: schedule remote query interval to 200 msecs
[ 1722.208360] usb 2-2: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected
[ 1722.208419] usbcore: registered new interface driver dvb_usb_rtl28xxu
[ 1722.213270] rc rc0: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 0

Comment 1 James 2017-08-17 00:39:26 UTC
I ran into the same issue on a fresh install of Fedora 26 this afternoon.  Below are the steps I took to resolve the issue:

sudo dnf install python3-pyrtlsdr
sudo ln -s /usr/lib/python3.6/site-packages/rtlsdr/rtlsdraio.py /usr/lib/python2.7/site-packages/rtlsdr/rtlsdraio.py

Comment 2 Fedora Update System 2017-08-18 15:57:25 UTC
python-pyrtlsdr-0.2.5-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d26c0b6143

Comment 3 Fedora Update System 2017-08-22 18:06:40 UTC
python-pyrtlsdr-0.2.5-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d26c0b6143

Comment 4 Fedora Update System 2017-08-31 14:54:16 UTC
python-pyrtlsdr-0.2.5-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.