-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 04/04/2013 04:24 AM, souf308 wrote:
Hi,
So I reinstaled OP25 and had everything get configured with almost any error. I also applied the patch I still have the same error message: ---------------------------------------------------- File "/home/souf/gr-baz-master/samples/op25_grc.py", line 243, in __init__ self.op25_decoder_0.create() File "/usr/local/lib/python2.7/dist-packages/baz/op25.py", line 88, in create raise Exception("Could not find a decoder to use")
So I tried to understand the op25.py file and copied more files in the OP25 PYTHON directorie in case something was missing in the 'import' but it did not work.
Here is a part of the op25.py where the problem occurs:
------------------------------------------------------ def create(self): self.op25_msgq = gr.msg_queue(2) self.slicer = None try: levels = [ -2.0, 0.0, 2.0, 4.0 ] self.slicer = _op25.fsk4_slicer_fb(levels) self.p25_decoder = _op25.decoder_bf() # FIXME: Message queue? if _verbose: print "Using new decoder_bf" except: try: self.p25_decoder = _op25.decoder_ff(self.op25_msgq) # LEGACY if _verbose: print "Using legacy decoder_ff" except: raise Exception("Could not find a decoder to use")
It is unlikely that the code is broken. How do you start the program? always start in terminal "sudo gnuradio-comapanion"