BastilleResearch / gr-lora

GNU Radio OOT module implementing the LoRa PHY, based on https://github.com/matt-knight/research/tree/master/2016_05_20_jailbreak
GNU General Public License v3.0
472 stars 92 forks source link

Gtk-Warning: attempt to allocate widget with width -5 and height 20. #14

Closed vlad9319 closed 7 years ago

vlad9319 commented 7 years ago

I run lora_receive_file.py for test decoding and getting an "Gtk-Warning: attempt to allocate widget with width -5 and height 20". I tried decoding my lora and got infinitely symbol "O"(OOOOOOOOOOOO...). How to fix my problem?

matt-knight commented 7 years ago

Hi @vlad9319,

Is lora_receive_file.py something you've written? There is no such file in this repository.

The "O"s you are seeing are indicative of an overrun, or buffer overflow between your SDR and your PC. Essentially your SDR is producing samples faster than your PC can consume them, so samples are being dropped as a result. Try going after a narrower bandwidth signal, which will require a lower sampling rate, or by increasing the compute resources available to GNU Radio.

matt-knight commented 7 years ago

I'm closing this due to inactivity -- feel free to create a new issue or reopen this one should you want to revisit it.