[op25-dev] Re: "Could not find a decoder to use"

Matt D md123 at nycap.rr.com
Thu Apr 4 11:34:55 UTC 2013


-----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"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRXWVfAAoJEIC13XTKWhPPcRcIAIpdoe+rVjLVX7g7c9eX8Y7Y
6YnPrUJhvm3lPShlCW2d64/ivbpD+OdRYgXWsLQLDAnIV0CmzZE7v41CCw+tvIWH
fnslU1riVCxjFRk0lqqdaTeazJjPyU5cs2KpXy5AOpTR03hvnKoB9oC6LAktVAgq
GOEBHz9PoKnPq93j6ytoGgNw7ICxV+bsQCSaS+riCapVlECAWrz6PZZ7/Vf9a3Rt
EsrmqiXEm2AeMmGdgsDP+DAeZoeWhcCgmFBBJHaaaTypfYT7vL0awRxpcSaPKArM
WhiqkP6Jl7AGkxQ5hvOlFM7CZCoB0a6ZWKO2zm/VOGP9TXtNXvS4qstq1MBaHio=
=Xh51
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20130404/f4076cf1/attachment.html>


More information about the op25-dev mailing list