discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] RunTime error in runtime_swig.py


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] RunTime error in runtime_swig.py
Date: Mon, 30 Jan 2017 20:27:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Sonny,

that's unusual. Can you run

gdb -ex run -ex bt --args python2 '/mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py'

and copy & paste the output backtrace? Ideally, we'd see *exactly* what crashes where.

Best regards,

Marcus

On 01/30/2017 08:12 PM, Sonny Rajagopalan wrote:
Hello,

I have a simple flow graph as shown (from this video tutorial http://greatscottgadgets.com/sdr/1/):

Inline image 1

The *.py that is created is attached. The code crashes with the following error:

Generating: '/mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py'

Generating: '/mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py'

Executing: /usr/bin/python2 -u /mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py

linux; GNU C++ version 4.8.4; Boost_105400; UHD_3.11.0.git-59-g52ca2e0b

gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.10
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya 
Number of USB devices: 13
USB device 1d50:6089: 0000000000000000909864c82c3a2fcf match
Using HackRF One with firmware 2015.07.2 
Traceback (most recent call last):
  File "/mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py", line 100, in <module>
    main()
  File "/mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py", line 95, in main
    tb.Start(True)
  File "/usr/local/lib/python2.7/dist-packages/grc_gnuradio/wxgui/top_block_gui.py", line 74, in Start
    self.start()
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 109, in start
    top_block_start_unlocked(self._impl, max_noutput_items)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 4879, in top_block_start_unlocked
    return _runtime_swig.top_block_start_unlocked(*args, **kwargs)
RuntimeError: list contains invalid format!


Gnuradio version: v3.7.10.1-182-g59136936, built using PyBOMBS; python2.7 and 3.4 on system. I know Cinaed said this is operator error, but some pointers for how to fixing this is appreciated.

Any insights into how this can be fixed is appreciated. I raised this issue with the HackRF people and they say it is better asked here.

Thanks,
Sonny.


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]