Hi all,
New to the group here, been looking all over for similar issues to one I'm having, but to no avail. There was one mention of this exact error on the radioreference op25 "main" thread, but it seems it was left unsolved or forgotten. From detailed digging I've done, think it may be related to wxgui-3.0 vs 2.8? Or should I be running this with Gnuradio 3.6 instead? Greatly appreciate any assistance!
The following is my baseline:
OSx 10.10.4
Gnuradio 3.7.8.1 (installed via Macports)
gr-op25 (Balint's git most recent version) - made some minor changes to cmake to find macports GR and libs
gr-op25 seems to compile and build fine, however when running scope.py I get the following error, and the app never loads:
$ python2.7 ./scope.py --args “hackrf” -f 502.9125e6 -S 8000000 -T trunk.tsv -2
Mac OS; Clang version 7.0.0 (clang-700.0.72); Boost_105900; UHD_003.009.001-MacPorts-Release
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.8.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy
Using HackRF One with firmware git-44df9d1
gain: name: RF range: start 0 stop 14 step 14
gain: name: IF range: start 0 stop 40 step 8
gain: name: BB range: start 0 stop 62 step 2
supported sample rates 8000000-20000000 step 2000000
Traceback (most recent call last):
File "./scope.py", line 2817, in <module>
app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 46, in __init__
wx.App.__init__ (self, redirect=False)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py", line 8628, in __init__
self._BootstrapApp()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 49, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__
self.panel = stdpanel (self, self, top_block_maker)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/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 201, in __init__
self.__init_gui(frame, panel, vbox)
File "./scope.py", line 537, in __init_gui
self.frame.CreateStatusBar()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_windows.py", line 615, in CreateStatusBar
return _windows_.Frame_CreateStatusBar(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "!m_frameStatusBar" failed at ../src/common/framecmn.cpp(381) in CreateStatusBar(): recreating status bar in wxFrame
When I try to run scope after running the env command this is what i get-what am i doing wrong?
root@kali:~# cd pybombs
root@kali:~/pybombs# ./pybombs env -v
Settled on prefix: /root/target
Initializing environmental variables...
Loading recipes ...
Writing out env...:
PyBombs.sysutils - INFO - To set up your environment (in bash) run: "source /root/target/setup_env.sh"
root@kali:~/pybombs# source /root/target/setup_env.sh
root@kali:~/pybombs# cd src
root@kali:~/pybombs/src# cd gr-op25
root@kali:~/pybombs/src/gr-op25# cd op25
root@kali:~/pybombs/src/gr-op25/op25# cd gr-op25_repeater
root@kali:~/pybombs/src/gr-op25/op25/gr-op25_repeater# cd apps
root@kali:~/pybombs/src/gr-op25/op25/gr-op25_repeater/apps# ./scope.py
linux; GNU C++ version 4.9.2; Boost_105500; UHD_003.010.git-119-g42a3eeb6
gr-osmosdr v0.1.4-67-gac15e789 (0.1.5git) gnuradio 3.7.10git-47-gbd69c31e
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy redpitaya
FATAL: No supported devices found to pick from.
Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.
Traceback (most recent call last):
File "./scope.py", line 2751, in <module>
app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
File "/root/target/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 46, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/root/target/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 49, in OnInit
Ok I ran the source command , in the target folder where setup env.sg was,but I still get the import error when I try to run scope
Any else I should do.
--------------------------------------------
On Sun, 1/31/16, russ.innes(a)gmail.com [op25-dev] <op25-dev(a)yahoogroups.com> wrote:
Subject: Re: [op25-dev] Re: op25
To: op25-dev(a)yahoogroups.com
Received: Sunday, January 31, 2016, 8:15 PM
Assuming you built it
with all the defaults from pybombs, look for the ~/target
directory in your home folder. Specifically, a file names
setup_env.sh . type this first (when you find it)
"source ~/target/setup_env.sh" (assuming it's
in the "target" directory)
Is anyone else having issues with the wireshark output while using scope.py? Im not getting any UDP packets out, -w is specified and have tried a variety of options using -W xx.xx.xx.xx
Ok thanks ill give it a try again tonight, im using rtl usb-dongle, when I tried to run scope.py it gve me an error, but I may have typed the run command wrong so ill try again with what you gave me
Worked awesome with sdr radio and dsd plus , I thought id give it a try with gnu radio and op25, what im finding is my linux skills are-um kinda lousy
--------------------------------------------
On Sun, 1/31/16, russ.innes(a)gmail.com [op25-dev] <op25-dev(a)yahoogroups.com> wrote:
Subject: [op25-dev] Re: op25
To: op25-dev(a)yahoogroups.com
Received: Sunday, January 31, 2016, 3:35 PM
~/pybombs/src/gr-op25/op25/gr-op25_repeater/apps/
run
scope.py (./scope.py)
You will have to pass
arguments - what are you using for a receiver?
ok , dumb question here, Ive successfully installed gr-op25 on kali linux, how do I actually run it now, I dont see an app anywhere, does it run in terminal? thankssean
Hi, thanks for letting me joinI successfully installed op25 via pybombs, but when I run the pybombs env command it doesnt give me a file to run the last step( source command)
it goessettled on prefix /root/tariniatializing environent variablesloading recipeswriting out env
then it just goes back to the command prompt(root@kali:~pybombs#) and nothing happensIs there a step Im missing? It should print me the name of the file right? and then I stream the files running the source command?
thanks
git clone git://github.com/pybombs/pybombs
cd pybombs
./pybombs install gr-op25 Just leaves me with python source to build.. if I build it - then try to install gr-op25 - no recipes found.
Am I missing something here?
Hi, Im using Gnu radio companion in kali sana, would anybody be kind enough to share some grc example files that use the rtl-sdr hardware and the op-25 decoder block, like the flow graph in you tube video "worlds cheapest scanner"thanks
op25_repeater_fsk4_slicer_fb.xml needs to have the ampersand as an html
entity
---------- Forwarded message ----------
From: "Chris Kuethe" <chris.kuethe(a)gmail.com>
Date: Dec 13, 2015 9:31 PM
Subject: fix parse error in grc
To: <op25-dev(a)yahoogroups.com>
Cc:
diff --git a/op25/gr-op25_repeater/grc/op25_repeater_fsk4_slicer_fb.xml
b/op25/gr-op25_repeater/grc/op25_repeater_fsk4_slicer_fb.xml
index 403e89e..8a393c5 100644
--- a/op25/gr-op25_repeater/grc/op25_repeater_fsk4_slicer_fb.xml
+++ b/op25/gr-op25_repeater/grc/op25_repeater_fsk4_slicer_fb.xml
@@ -4,7 +4,7 @@
<key>op25_repeater_fsk4_slicer_fb</key>
<category>op25_repeater</category>
<import>import op25_repeater</import>
- <make>op25_repeater.fsk4_slicer_fb($&slice_levels)</make>
+ <make>op25_repeater.fsk4_slicer_fb($&slice_levels)</make>
<!-- Make one 'param' node for every Parameter you want settable
from the GUI.
Sub-nodes:
* name
--
GDB has a 'break' feature; why doesn't it have 'fix' too?