rpp0 / gr-lora

GNU Radio blocks for receiving LoRa modulated radio messages using SDR
GNU General Public License v3.0
542 stars 115 forks source link

AttributeError: 'module' object has no attribute 'channelizer' #75

Closed danielkucera closed 6 years ago

danielkucera commented 6 years ago

The default installation did not work so I added symlink:

ln -s /usr/local/lib/python2.7/site-packages/lora ~/.local/lib/python2.7/site-packages/lora

but still I get an error:

Traceback (most recent call last):
  File "/home/danman/Projects/LoRa/top_block.py", line 151, in <module>
    main()
  File "/home/danman/Projects/LoRa/top_block.py", line 139, in main
    tb = top_block_cls()
  File "/home/danman/Projects/LoRa/top_block.py", line 110, in __init__
    self.lora_lora_receiver_0 = lora.lora_receiver(samp_rate, 868e6, ([868.1e6]), 125000, 7, False, 4, True, False, False, 1, False, False)
  File "/home/danman/.local/lib/python2.7/site-packages/lora/lora_receiver.py", line 52, in __init__
    self.channelizer = lora.channelizer(samp_rate, center_freq, channel_list, bandwidth, decimation)
AttributeError: 'module' object has no attribute 'channelizer'
rpp0 commented 6 years ago

Please see https://github.com/rpp0/gr-lora/wiki/Common-compile-and-runtime-errors for possible fixes. Alternatively, you can use the Docker image.