Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URH crashes on RX with HackRF on Debian #1054

Closed
pielgrzym opened this issue May 27, 2023 · 2 comments
Closed

URH crashes on RX with HackRF on Debian #1054

pielgrzym opened this issue May 27, 2023 · 2 comments

Comments

@pielgrzym
Copy link

pielgrzym commented May 27, 2023

Expected Behavior

Run any RX related action - like spectrum analyzer or record signal.

Actual Behavior

No RX is started, following error is in log:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.11/multiprocessing/spawn.py", line 120, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/multiprocessing/spawn.py", line 130, in _main
    self = reduction.pickle.load(from_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pielgrzym/tmp/urh/src/urh/dev/native/HackRF.py", line 7, in <module>
    from urh.dev.native.Device import Device
  File "/home/pielgrzym/tmp/urh/src/urh/dev/native/Device.py", line 13, in <module>
    from urh.dev.native.SendConfig import SendConfig
  File "/home/pielgrzym/tmp/urh/src/urh/dev/native/SendConfig.py", line 5, in <module>
    from urh.util.RingBuffer import RingBuffer
  File "/home/pielgrzym/tmp/urh/src/urh/util/RingBuffer.py", line 4, in <module>
    from urh.signalprocessing.IQArray import IQArray
  File "/home/pielgrzym/tmp/urh/src/urh/signalprocessing/IQArray.py", line 8, in <module>
    from urh.cythonext.util import get_magnitudes
ModuleNotFoundError: No module named 'urh.cythonext.util'

The native module build went correctly for hackrf btw. Tried regular pip install urh and manual install like python3 setup.py --with-hackrf install. Same result :(

Platform Specifications
  • OS: Debian Testing
  • URH version: 2.9.4 and git HEAD
  • Python version: 3.11.2
  • Installed via pip + virtualenv
@andynoack
Copy link
Collaborator

Try rebuilding the cython extensions with python build.py in src/urh/cythonext. It seems to me that URH cannot find the extenstions (ModuleNotFoundError: No module named 'urh.cythonext.util').

@andynoack
Copy link
Collaborator

Closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants