Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot run test.py #157

@DylanWhittingham

Description

@DylanWhittingham

Can't figure out what's wrong here. Everything is installed and ready to go, RTL-SDR dongle works with other applications. When I try to run the test.py file, or any other files using rtlsdr, I get this error. Even if I try to change the center_freq

Found Rafael Micro R828D tuner
Traceback (most recent call last):
File "c:\Users\Dylan\Desktop\rtl-test\pyrtlsdr\test.py", line 3, in
sdr = RtlSdr()
^^^^^^^^
File "c:\Users\Dylan\Desktop\rtl-test\pyrtlsdr\rtlsdr\rtlsdr.py", line 136, in init
self.open(device_index, test_mode_enabled, serial_number, dithering_enabled)
File "c:\Users\Dylan\Desktop\rtl-test\pyrtlsdr\rtlsdr\rtlsdr.py", line 199, in open
self.init_device_values()
File "c:\Users\Dylan\Desktop\rtl-test\pyrtlsdr\rtlsdr\rtlsdr.py", line 213, in init_device_values
self.set_center_freq(self.DEFAULT_FC)
File "c:\Users\Dylan\Desktop\rtl-test\pyrtlsdr\rtlsdr\rtlsdr.py", line 233, in set_center_freq
raise LibUSBError(result, 'Could not set center_freq to %d Hz' % (freq))
rtlsdr.rtlsdr.LibUSBError: <LIBUSB_ERROR_IO (-1): Input/output error> "Could not set center_freq to 80000000 Hz"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions