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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/op25-dev@lists.osmocom.org/.

souf308 souf308 at yahoo.com
Thu Apr 4 08:24:56 UTC 2013



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")

----------------------------------------------------

I've spent many hours on it. Any hint or idea please...? 

Thanks

Souf



--- In op25-dev at yahoogroups.com, Matt D <md123 at ...> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 04/03/2013 10:28 AM, Souf Hadoken wrote:
> > Hi Matt,
> > 
> > Yea when I open gnuradio I see on the right "op25 demodulator"". I
> > also have op25.grc and when I open it I see the op25 decoder
> > block.
> > 
> And you get that error in terminal when you run the flow graph?
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with undefined - http://www.enigmail.net/
> 
> iQEcBAEBAgAGBQJRXHQaAAoJEIC13XTKWhPPW28H/3/nEZn/KKrW0LVEf1LgOIah
> HUUlxXJ5Ch6rbdX6qIZpwyDyyaoUctxSZqMSmX80uyVw7w6/ZeeN2ol0sZ4V5zwW
> 8oTqaf/Q0N2Orgwau6TqrzodwCVFaqYwkiRZyKWNLorA/NNDibd5PcO1VDgEH1L1
> 66n/lSyQ8ML/EmMWJC7RcUmm7a/vFsgBzoCZFPnTALMguZwmOBtMOU8Cv0B5Vz9Q
> 2VjYgy067DVr0QnK/RSepuHt9ocHlWzUxNx5V+lawWoRRAmnT++jFE9AeGvh4BgU
> HRpP68zC4OejbdzhQUIpfk8xVzd3APNuwJThz1TVExE+JJCxakWkktZWE62/Ubk=
> =Nmb5
> -----END PGP SIGNATURE-----
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20130404/bdf413c6/attachment.htm>


More information about the op25-dev mailing list