Linux linux-h57q.site 3.16.7-42-desktop #1 SMP PREEMPT Tue Jun 28 12:20:57 UTC 2016 (35ab731) x86_64 x86_64 x86_64 GNU/Linux
Here is the install. No scope.py seen.
linux-h57q:/usr/local/src/op25/build # make install [ 25%] Built target gnuradio-op25 [ 28%] Built target test-op25 [ 29%] Built target _op25_swig_doc_tag [ 31%] Built target _op25_swig_swig_tag [ 36%] Built target pygen_op25_gr_op25_swig_f5c3f [ 42%] Built target _op25_swig [ 44%] Built target pygen_op25_gr_op25_python_1c835 [ 44%] Built target pygen_op25_gr_op25_apps_383eb [ 64%] Built target imbe_vocoder [ 82%] Built target gnuradio-op25_repeater [ 85%] Built target test-op25_repeater [ 87%] Built target _op25_repeater_swig_doc_tag [ 88%] Built target _op25_repeater_swig_swig_tag [ 93%] Built target pygen_op25_gr_op25_repeater_swig_af615 [ 98%] Built target _op25_repeater_swig [100%] Built target pygen_op25_gr_op25_repeater_python_76c67 [100%] Built target pygen_op25_gr_op25_repeater_apps_63aff Install the project... -- Install configuration: "" -- Up-to-date: /usr/local/include/op25/api.h -- Up-to-date: /usr/local/include/op25/fsk4_demod_ff.h -- Up-to-date: /usr/local/include/op25/fsk4_slicer_fb.h -- Up-to-date: /usr/local/include/op25/decoder_ff.h -- Up-to-date: /usr/local/include/op25/decoder_bf.h -- Up-to-date: /usr/local/include/op25/pcap_source_b.h -- Up-to-date: /usr/local/lib/libgnuradio-op25.so -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/_op25_swig.so -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/op25_swig.py -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/op25_swig.pyc -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/op25_swig.pyo -- Up-to-date: /usr/local/include/op25/op25/swig/op25_swig.i -- Up-to-date: /usr/local/include/op25/op25/swig/op25_swig_doc.i -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/__init__.py -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/__init__.pyc -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/__init__.pyo -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_fsk4_demod_ff.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_fsk4_slicer_fb.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_decoder_ff.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_decoder_bf.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_pcap_source_b.xml -- Up-to-date: /usr/local/include/op25_repeater/api.h -- Up-to-date: /usr/local/include/op25_repeater/vocoder.h -- Up-to-date: /usr/local/include/op25_repeater/gardner_costas_cc.h -- Up-to-date: /usr/local/include/op25_repeater/p25_frame_assembler.h -- Up-to-date: /usr/local/include/op25_repeater/fsk4_slicer_fb.h -- Up-to-date: /usr/local/lib/libgnuradio-op25_repeater.so -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/_op25_repeater_swig.so -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/op25_repeater_swig.py -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/op25_repeater_swig.pyc -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/op25_repeater_swig.pyo -- Up-to-date: /usr/local/include/op25_repeater/op25_repeater/swig/op25_repeater_swig.i -- Up-to-date: /usr/local/include/op25_repeater/op25_repeater/swig/op25_repeater_swig_doc.i -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/__init__.py -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/__init__.pyc -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/__init__.pyo -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_repeater_vocoder.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_repeater_gardner_costas_cc.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_repeater_p25_frame_assembler.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_repeater_fsk4_slicer_fb.xml
Try:-
sudo updatedb
then
locate scope.py
On 26 September 2016 at 10:51, lists@lazygranch.com [op25-dev] < op25-dev@yahoogroups.com> wrote:
Linux linux-h57q.site 3.16.7-42-desktop #1 SMP PREEMPT Tue Jun 28 12:20:57 UTC 2016 (35ab731) x86_64 x86_64 x86_64 GNU/Linux
Here is the install. No scope.py seen.
linux-h57q:/usr/local/src/op25/build # make install [ 25%] Built target gnuradio-op25 [ 28%] Built target test-op25 [ 29%] Built target _op25_swig_doc_tag [ 31%] Built target _op25_swig_swig_tag [ 36%] Built target pygen_op25_gr_op25_swig_f5c3f [ 42%] Built target _op25_swig [ 44%] Built target pygen_op25_gr_op25_python_1c835 [ 44%] Built target pygen_op25_gr_op25_apps_383eb [ 64%] Built target imbe_vocoder [ 82%] Built target gnuradio-op25_repeater [ 85%] Built target test-op25_repeater [ 87%] Built target _op25_repeater_swig_doc_tag [ 88%] Built target _op25_repeater_swig_swig_tag [ 93%] Built target pygen_op25_gr_op25_repeater_swig_af615 [ 98%] Built target _op25_repeater_swig [100%] Built target pygen_op25_gr_op25_repeater_python_76c67 [100%] Built target pygen_op25_gr_op25_repeater_apps_63aff Install the project... -- Install configuration: "" -- Up-to-date: /usr/local/include/op25/api.h -- Up-to-date: /usr/local/include/op25/fsk4_demod_ff.h -- Up-to-date: /usr/local/include/op25/fsk4_slicer_fb.h -- Up-to-date: /usr/local/include/op25/decoder_ff.h -- Up-to-date: /usr/local/include/op25/decoder_bf.h -- Up-to-date: /usr/local/include/op25/pcap_source_b.h -- Up-to-date: /usr/local/lib/libgnuradio-op25.so -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/_op25_swig.so -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/op25_swig.py -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/op25_swig.pyc -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/op25_swig.pyo -- Up-to-date: /usr/local/include/op25/op25/swig/op25_swig.i -- Up-to-date: /usr/local/include/op25/op25/swig/op25_swig_doc.i -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/__init__.py -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/__init__.pyc -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25/__init__.pyo -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_fsk4_demod_ff.xml -- Up-to-date: /usr/local/share/gnuradio/grc/ blocks/op25_fsk4_slicer_fb.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_decoder_ff.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_decoder_bf.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_pcap_source_b.xml -- Up-to-date: /usr/local/include/op25_repeater/api.h -- Up-to-date: /usr/local/include/op25_repeater/vocoder.h -- Up-to-date: /usr/local/include/op25_repeater/gardner_costas_cc.h -- Up-to-date: /usr/local/include/op25_repeater/p25_frame_assembler.h -- Up-to-date: /usr/local/include/op25_repeater/fsk4_slicer_fb.h -- Up-to-date: /usr/local/lib/libgnuradio-op25_repeater.so -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/_ op25_repeater_swig.so -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/ op25_repeater_swig.py -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/ op25_repeater_swig.pyc -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/ op25_repeater_swig.pyo -- Up-to-date: /usr/local/include/op25_repeater/op25_repeater/swig/ op25_repeater_swig.i -- Up-to-date: /usr/local/include/op25_repeater/op25_repeater/swig/ op25_repeater_swig_doc.i -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/__ init__.py -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/__ init__.pyc -- Up-to-date: /usr/local/lib64/python2.7/site-packages/op25_repeater/__ init__.pyo -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_repeater_vocoder. xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_repeater_gardner_ costas_cc.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_repeater_p25_ frame_assembler.xml -- Up-to-date: /usr/local/share/gnuradio/grc/blocks/op25_repeater_fsk4_ slicer_fb.xml
That helped locate the file. However, scope crashes. ----------------- mrg@linux-h57q:/usr/local/src/op25/op25/gr-op25_repeater/apps> ./scope.py --args 'rtl' -g 65 -f 123.45e6 -N 'LNA:49' -V -v 0 -S 1000000 -q 39 -T trunk.tsv linux; GNU C++ version 4.8.3 20140627 [gcc-4_8-branch revision 212064]; Boost_105400; UHD_003.009.004-0-unknown
gr-osmosdr v0.1.4-72-g164a09fc (0.1.5git) gnuradio 3.7.10 built-in source types: file fcd rtl rtl_tcp uhd rfspace redpitaya Using device #0 Realtek RTL2838UHIDIR SN: 00000001 Found Rafael Micro R820T tuner [R82XX] PLL not locked! gain: name: LNA range: start 0 stop 0 step 0 setting gain LNA to 49 supported sample rates 250000-2560000 step 24000 Traceback (most recent call last): File "./scope.py", line 2751, in <module> app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3) File "/usr/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-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__ self._BootstrapApp() File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/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/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__ self.panel = stdpanel (self, self, top_block_maker) File "/usr/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 212, in __init__ self.__init_gui(frame, panel, vbox) File "./scope.py", line 544, in __init_gui self.data_scope = datascope_sink_f(self.notebook, samples_per_symbol = 10, num_plots = 100) File "./scope.py", line 1467, in __init__ self.st = blocks.message_sink(gr.sizeof_float, msgq, 1) File "/usr/lib64/python2.7/site-packages/gnuradio/blocks/blocks_swig0.py", line 1547, in make return _blocks_swig0.message_sink_make(*args) NotImplementedError: Wrong number or type of arguments for overloaded function 'message_sink_make'. Possible C/C++ prototypes are: gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool) gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool,std::string const &)
OK, so you need to run "make install" and then "sudo make install" afterwards. The first one builds it, the second one installs it.
On 26 September 2016 at 17:00, lists@lazygranch.com [op25-dev] < op25-dev@yahoogroups.com> wrote:
That helped locate the file. However, scope crashes.
mrg@linux-h57q:/usr/local/src/op25/op25/gr-op25_repeater/apps> ./scope.py --args 'rtl' -g 65 -f 123.45e6 -N 'LNA:49' -V -v 0 -S 1000000 -q 39 -T trunk.tsv linux; GNU C++ version 4.8.3 20140627 [gcc-4_8-branch revision 212064]; Boost_105400; UHD_003.009.004-0-unknown
gr-osmosdr v0.1.4-72-g164a09fc (0.1.5git) gnuradio 3.7.10 built-in source types: file fcd rtl rtl_tcp uhd rfspace redpitaya Using device #0 Realtek RTL2838UHIDIR SN: 00000001 Found Rafael Micro R820T tuner [R82XX] PLL not locked! gain: name: LNA range: start 0 stop 0 step 0 setting gain LNA to 49 supported sample rates 250000-2560000 step 24000 Traceback (most recent call last): File "./scope.py", line 2751, in <module> app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3) File "/usr/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-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__ self._BootstrapApp() File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/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/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__ self.panel = stdpanel (self, self, top_block_maker) File "/usr/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 212, in __init__ self.__init_gui(frame, panel, vbox) File "./scope.py", line 544, in __init_gui self.data_scope = datascope_sink_f(self.notebook, samples_per_symbol = 10, num_plots = 100) File "./scope.py", line 1467, in __init__ self.st = blocks.message_sink(gr.sizeof_float, msgq, 1) File "/usr/lib64/python2.7/site-packages/gnuradio/blocks/blocks_swig0.py", line 1547, in make return _blocks_swig0.message_sink_make(*args) NotImplementedError: Wrong number or type of arguments for overloaded function 'message_sink_make'. Possible C/C++ prototypes are: gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool) gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool,std::string const &)
Arrhhh,
Yes my apologies - It has been a long Monday for me. Doing a make as your regular user account, and then a sudo make install is the correct procedure.
On 26 September 2016 at 19:42, lists@lazygranch.com [op25-dev] < op25-dev@yahoogroups.com> wrote:
Actually I had already done a "su", so I didn't need the sudo. And doing two make installs doesn't make sense. It should be make then make install. The plain make build it, then make install installs it.
*From: *Matt Ames matt.ames7bc@gmail.com [op25-dev] *Sent: *Monday, September 26, 2016 1:07 AM *To: *op25-dev@yahoogroups.com *Reply To: *op25-dev@yahoogroups.com *Subject: *Re: [op25-dev] scope.y not found
OK, so you need to run "make install" and then "sudo make install" afterwards. The first one builds it, the second one installs it.
On 26 September 2016 at 17:00, lists@lazygranch.com [op25-dev] < op25-dev@yahoogroups.com> wrote:
That helped locate the file. However, scope crashes.
mrg@linux-h57q:/usr/local/src/op25/op25/gr-op25_repeater/apps> ./scope.py --args 'rtl' -g 65 -f 123.45e6 -N 'LNA:49' -V -v 0 -S 1000000 -q 39 -T trunk.tsv linux; GNU C++ version 4.8.3 20140627 [gcc-4_8-branch revision 212064]; Boost_105400; UHD_003.009.004-0-unknown
gr-osmosdr v0.1.4-72-g164a09fc (0.1.5git) gnuradio 3.7.10 built-in source types: file fcd rtl rtl_tcp uhd rfspace redpitaya Using device #0 Realtek RTL2838UHIDIR SN: 00000001 Found Rafael Micro R820T tuner [R82XX] PLL not locked! gain: name: LNA range: start 0 stop 0 step 0 setting gain LNA to 49 supported sample rates 250000-2560000 step 24000 Traceback (most recent call last): File "./scope.py", line 2751, in <module> app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3) File "/usr/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-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__ self._BootstrapApp() File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/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/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__ self.panel = stdpanel (self, self, top_block_maker) File "/usr/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 212, in __init__ self.__init_gui(frame, panel, vbox) File "./scope.py", line 544, in __init_gui self.data_scope = datascope_sink_f(self.notebook, samples_per_symbol = 10, num_plots = 100) File "./scope.py", line 1467, in __init__ self.st = blocks.message_sink(gr.sizeof_float, msgq, 1) File "/usr/lib64/python2.7/site-packages/gnuradio/blocks/blocks_swig0.py", line 1547, in make return _blocks_swig0.message_sink_make(*args) NotImplementedError: Wrong number or type of arguments for overloaded function 'message_sink_make'. Possible C/C++ prototypes are: gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool) gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool,std::string const &)
you can try checking out the 'max' branch of the repo. No need to rebuild as there is only python diffs in that branch. If that doesn't work it could be your OS has an incompatible version of wxgui libs. Only ubuntu 14 LTS has been successfully tested...
Max
included in the build instructions is the use of the 'git clone' command to initially grab a copy of the repo. Once this is done you can do git checkout max
(after cd'ing into the TLD of the repo, of course)
Max