On Fri, Jan 13, 2017 at 3:40 PM, Jacqueline.Walker <jacqueline.wal...@ul.ie>
wrote:

> Hi Sreeraj,
>
>
>
> Ok, thanks, trying that – it tells me no apparently  and is offering to
> upgrade a heap of stuff – including some stuff I only just installed a
> couple of hours ago (!) – and I also – to fill you in – removed my gnuradio
> installation and re-did by installing gnuradio-companion package – which
> has helped a bit (some errors I had before at the initial installation
> didn’t re-occur as you might imagine).
>
> It wants to upgrade stuff including :  boost, various libraries including
> libvolk and python stuff including python-lxml… I can go ahead and let it
> do this?
>

It is always best to keep these libs updated to match your gnuradio build
in Arch. Make sure that you read [1].

[1]
https://wiki.archlinux.org/index.php/System_maintenance#Upgrading_the_system

-Sreeraj


>
>
> Thanks
>
> Jacqueline
>
>
>
> *From:* sreeraj r [mailto:rsree...@gmail.com]
> *Sent:* 13 January 2017 14:35
> *To:* Jacqueline.Walker
> *Cc:* Martin Braun; discuss-gnuradio@gnu.org
>
> *Subject:* Re: [Discuss-gnuradio] guided tutorials - problem with
> tutorial 3
>
>
>
> Hi Jacqueline,
>
>
>
> I tested your files (if_else_mod.py and mod_org.py) on Archlinux with
> gnuradio versions 3.7.10.1-3 and  3.7.10.1-1, but couldn't reproduce the
> error.  Can you make sure that all your libs are up to date by running
> "pacman -Syu".
>
>
>
> -Sreeraj
>
>
>
> On Fri, Jan 13, 2017 at 12:01 PM, Jacqueline.Walker <
> jacqueline.wal...@ul.ie> wrote:
>
> Hi Martin,
>
> Sorry, I did forget to put all that in, still learning including how to
> use a list for help.
> Right - I have it on a VM running Archlinux (4.8.13-1 - I only started a
> week ago) and I used pacman to install the package gnuradio 3.7.10.1-3.
> At that point after installing the gnuradio package I had to go and fetch
> extra packages (gtk2, gtk3, python-lxml and python2-cheetah) to make the
> grc work. I am not sure if maybe I should have explicitly installed
> gnuradio-companion? But once I'd installed the extra packages it worked
> fine - until I started the python programming part.
>
> Thanks,
> Jacqueline
>
>
>
>
>
>
> -----Original Message-----
> From: Discuss-gnuradio [mailto:discuss-gnuradio-bounces+jacqueline.walker=
> ul...@gnu.org] On Behalf Of Martin Braun
> Sent: 13 January 2017 01:59
> To: discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] guided tutorials - problem with tutorial 3
>
> Which platform are you running on?
>
> -- M
>
> On 01/12/2017 06:55 AM, Jacqueline.Walker wrote:
> > Hi Kartik,
> >
> >
> >
> > Well, no I would think there ought not be an error in the tutorial,
> > but the fact remains that if I run the 'if_else_mod.py' from the
> > ~/solutions/gr-tutorial/examples/tutorial3/python/ folder I get the
> > exact same runtime errors, so it might be something in the build.  I
> > attach my own if_else_mod.py file which has been produced by my
> > firstly generating if_else.py from the flowgraph which I have built as
> > instructed in the tutorial and then doing exactly as instructed in the
> > tutorial the modifications to the def _variable_function_probe_0_
> probe():.
> >
> > I also attach the 'solutions' version of the if_else_mod.py (called
> > if_else_mod_orig.py) and a file which summarises investigations made
> > so far and the results of Kompare to discover the differences in the
> code.
> > Clearly the grc generates code which differs somewhat from the samples
> > in the ~/python directory (which are from an older version, clearly).
> >
> > I don't know if it is anything to do with the 'tb = if_else' line - I
> > am about to test that out.
> >
> >
> >
> > Thanks
> >
> > Regards
> >
> > Jacqueline
> >
> >
> >
> >
> >
> > *From:*Kartik Patel [mailto:kartikpatel1...@gmail.com]
> > *Sent:* 11 January 2017 21:32
> > *To:* Jacqueline.Walker; discuss-gnuradio@gnu.org
> > *Subject:* Re: [Discuss-gnuradio] guided tutorials - problem with
> > tutorial 3
> >
> >
> >
> > Hi Jacqueline,
> >
> > I don't think there's error in the tutorial. Please send your GRC or
> > Python file.
> >
> > Thank you.
> >
> > Regards,
> > Kartik Patel
> >
> >
> >
> > On 10:54PM, Wed, Jan 11, 2017 Jacqueline.Walker
> > <jacqueline.wal...@ul.ie <mailto:jacqueline.wal...@ul.ie>> wrote:
> >
> >     Hello,
> >
> >
> >
> >     Trying the tutorial three - python in gnu radio and the 'if_else'
> >     mod file. I get this run-time error even with the tutorial/solutions
> >     file so it might be a build thing.
> >
> >
> >
> >     Basically when it runs with the added if val == 1: block it raises
> > an
> >
> >     Attribute error top_block_sptr has no attribute named analog_sig
> >     _/x1/_source block - (sorry not correctly copied but you get the
> >     idea hopefully) - in other words it does not recognise the analog
>
> >     signal source that you have and that you are trying to modify the
> >     freq and/or amplitude of under control of the simple if/else using
> >     the probe_signal variable as outlined in the tutorial.
> >
> >     Is there something missing in the build or is it some error in the
> >     file/instructions in the tutorial?
> >
> >
> >
> >     Thanks
> >
> >     Jacqueline
> >
> >     _______________________________________________
> >     Discuss-gnuradio mailing list
> >     Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
> >     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
> > --
> >
> > Regards,
> > Kartik Patel
> > B.Tech. Final Year
> > Electronics and Communication Engineering Indian Institute of
> > Technology, Roorkee
> >
> >
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to