[op25-dev] Re: GRC blocks for OP25 and 4FSK missing

Chris Svendsen csvendsen2143 at gmail.com
Wed May 16 01:42:56 UTC 2012


Update: when running cd ~/src/op25/python       ./audio_p25_rx.py -a  I was
getting this error

AttributeError: 'fft_window' object has no attribute 'plot'

FIX was to edit  gr-wxgui.conf   in the directory
/usr/local/etc/gnuradio/conf.d
and change the line style = auto to style = nongl

Now im getting this error when running cd ~/src/op25/python
./audio_p25_rx.py -a
Error reads "NameError: global name 'msgq' is not defined"

On Tue, May 15, 2012 at 8:20 PM, Chris Svendsen <csvendsen2143 at gmail.com>wrote:

>
> Hello group
>
> Working on an install on Ubuntu 12.04 I realize there are some problems
> with 12.04 but would like to help fix these issues as they occur. These are
> some issues I have had so far with a fresh install of Ubuntu 12.04 and GNU
> radio 3.6.0.
> GNU radio was built from source code not from the install script.
> Had to run sudo ldconfig after GNU radio install that I did not see
> anywhere in there install directions. Anyway on to OP25
>
> OP25
>
> Number 1
> Running ./configure in /op25/block
> Configure could not find gruel_common.i in /usr/local/include/gnuradio/swig
> Assuming this is due to GNU radios new location for file is
> /usr/local/include/gruel/swig/
> FIX was to link the directories.
>  sudo ln -s /usr/local/include/gruel/swig/*
> /usr/local/include/gnuradio/swig/
>
> Number 2
> Using the lattes version of gcc 4.6 to compile ran into and error trying
> to make the install of the op24/block.
> FIX was to add
> #include <cstddef>
> To the file op25.cc located in op25/block/src/lib/
> make and make install now worked without any errors for the /op25/block
> section.
>
> Another error I ran into was installing gr-fsk4 I realize this is not an
> op25 issue but thought is was mentioning. This error was again in the
> "make" section of the stall and was fixed by adding
> #include <stdio.h>
> to several files in the src/lib directory.
>
> After that all the installs completed without errors however I am still
> having the following issues.
> 1) There is no op25 decode block in GNU Radio.
> 2) When running
>
> cd ~/src/op25/python
> ./audio_p25_rx.py -a
>
> I get the following error
> AttributeError: 'fft_window' object has no attribute 'plot'
>
> Hope this info helps some devs and if there is any info anybody needs let
> me know. In the mean time ill be working on getting this install working.
>
> Thanks
>       Chris
>
>
>
>
>
> On Mon, May 14, 2012 at 9:11 PM, markop25 <cottrell.m.a at gmail.com> wrote:
>
>> **
>>
>>
>>
>>
>> Hi Steve,
>>
>> I have been playing around for a while now using a few different ubuntu
>> and debian distributions. So far I've only had success with my 11.04
>> virtual machines. I took some wireshark captures of some P25 samples
>> running through Bob's flowgraph in both debian wheezy and ubuntu 11.04, the
>> "good" capture (
>> https://docs.google.com/open?id=0B8J3fNC5VR23akJ1Zl9xNkNHeHM) contains
>> exactly what I would expect with correct NIDs, while the "bad" capture (
>> https://docs.google.com/open?id=0B8J3fNC5VR23NlA2aGdWVDlHYUE) has
>> packets with NIDs that are all zero with the occasional 1 in the LSB. From
>> the packets I glanced at, the data after the NID is the same in each
>> capture.
>>
>> I have no idea what the differences are in the dependencies between my
>> debian setup and ubuntu vm, but I have tried building in debian with
>> gcc-4.5 and boost 1.46 (instead of gcc-4.6 and boost 1.49) and have not had
>> any luck. I have also tried a few versions of gnuradio (3.4.2, 3.5.3 and
>> 3.6.1) without any luck. Any other ideas to help get it working or figure
>> out the cause of the problem would be welcome.
>>
>> Thanks,
>> Mark
>>
>>
>> --- In op25-dev at yahoogroups.com, Steve Glass <stevie.glass at ...> wrote:
>> >
>> >
>> > -----BEGIN PGP SIGNED MESSAGE-----
>> > Hash: SHA1
>> >
>> > On 14/05/12 13:25, Richard Clarke wrote:
>> > >
>> > > A colleague of mine here has noted that op25 decoder seems to produce
>> > no audio when compiled and run on anything later than Ubuntu 11.04 for
>> > as yet undetermined reasons. Building and running on 11.10 or later
>> > (other mods required for 12.04) and you end up with the no audio
>> > problem. I've suggested that he post here with any more details he may
>> have
>> >
>> > I've used OP25 in different Ubuntu VMs and not had any problem in 11.10.
>> > Shall try 12.04 tonight. I think that I'll set the software decoder to
>> > be the default and that might help. There is a huge todo around the IMBE
>> > vocoder which I've been postponing but I'll start taking a look at that
>> > ASAP.
>> >
>> >
>> > -----BEGIN PGP SIGNATURE-----
>> > Version: GnuPG v1.4.12 (GNU/Linux)
>> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>> >
>> > iEYEARECAAYFAk+wf6wACgkQW7aAm65EWy4m9ACfeKcxeKLzlAttUm/btm5gICT0
>> > OdwAoNgc8sOx+KDvK1JSpf7PQmWMyLfQ
>> > =MufF
>> > -----END PGP SIGNATURE-----
>> >
>>
>>  
>>
>
>
>
> --
>



-- 
Chris Svendsen
*Phone:* 407 694 7282
*Email:* csvendsen2143 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20120515/820ae827/attachment.html>


More information about the op25-dev mailing list