On 17 Mar 2017 21:48:48 +0000
"ikj1234i@yahoo.com [op25-dev]" <op25-dev@yahoogroups.com> wrote:
> blocks.message_sink(gr.sizeof_float, msgq, 1)
> that's the line getting the error. I think they've tightened up
> things a bit - this rings a vague bell. You might try changing the
> third arg from 1 to True - this might not be the only such place that
> needs changing. It's also possible that fixing this error will just
> get slightly further with another error - let's hope not but if so
> the next error might or might not be as easy to fix...
>
> Max
Argh! The make install writes over the old line. I think my first
problem here is where do I edit the function call. That is which file.
I went in "apps" and made every "1" a "True". Here are the results:
./scope.py -f 772.54375e6 -s 2400000
linux; GNU C++ version 4.8.5; Boost_105400; UHD_003.009.005-0-unknown
gr-osmosdr 772fb153 (0.1.1git) gnuradio v3.7.10.1-237-g81e7af7b
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf
Using device #0 Realtek RTL2832UFA SN: 00001000
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
gain: name: LNA range: start 0 stop 0 step 0
supported sample rates 250000-2400000 step 24000
Invalid sample rate: 320000 Hz
set_center_freq: 772543750
Traceback (most recent call last):
File "./scope.py", line 2751, in <module>
app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 46, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
self._BootstrapApp()
File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 49, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__
self.panel = stdpanel (self, self, top_block_maker)
File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 98, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "./scope.py", line 224, in __init__
self.open_usrp()
File "./scope.py", line 1118, in open_usrp
self.__set_rx_from_osmosdr()
File "./scope.py", line 867, in __set_rx_from_osmosdr
self.__build_graph(self.src, capture_rate)
File "./scope.py", line 293, in __build_graph
self.decoder = p25_decoder.p25_decoder_sink_b(dest='audio', do_imbe=True, num_ambe=num_ambe, wireshark_host=self.options.wireshark_host, udp_port=udp_port, do_msgq = True, msgq=self.rx_q, audio_output=self.options.audio_output, debug=self.options.verbosity)
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/p25_decoder.py", line 94, in __init__
self.p25_decoders.append(op25_repeater.p25_frame_assembler(wireshark_host, udp_port, debug, do_imbe, do_output, do_msgq, msgq, do_audio_output, True))
File "/usr/local/lib64/python2.7/site-packages/op25_repeater/op25_repeater_swig.py", line 927, in make
return _op25_repeater_swig.p25_frame_assembler_make(udp_host, port, debug, do_imbe, do_output, do_msgq, queue, do_audio_output, do_phase2_tdma)
TypeError: in method 'p25_frame_assembler_make', argument 5 of type 'bool'
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (8) |