[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Installing gnuradio on docker
From: |
CEL |
Subject: |
Re: [Discuss-gnuradio] Installing gnuradio on docker |
Date: |
Thu, 9 May 2019 15:59:10 +0000 |
That is a very generic problem: Programs from your docker container
can't connect to the host's X server. Google that error – there's
plenty of articles on how to make X programs work within a docker
container.
Again, I'd strongly advise you to use something less ancient than
Ubuntu 16.04.
Best regards,
Marcus
On Thu, 2019-05-09 at 11:41 -0400, amani alshawabkeh wrote:
> Hi, and thanks a lot for your reply,
>
> please find below two of the errors I am getting:
> 1- dpsk_loopback.py example used and I got:
> dpsk_loopback.py: cannot connect to X server
>
> 2- I used one of the modified codes that uses gr-ieee802.11 I got something
> like
> File "/wifi_rx.py", line 79, in __init__
> self.connect((self.ieee802_11_sync_short_0, 1), (self.blocks_delay_1, 0))
> File
> "/root/gnuradio/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line
> 47, in wrapped
> func(self, src, src_port, dst, dst_port)
> File
> "/root/gnuradio/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line
> 110, in connect
> self.primitive_connect(*args)
> File
> "/root/gnuradio/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py",
> line 5336, in primitive_connect
> return _runtime_swig.top_block_sptr_primitive_connect(self, *args)
> ValueError: port number 1 exceeds max of 0
>
> thanks a lot for your help
> amani
>
>
>
> On Thu, May 9, 2019 at 11:19 AM Müller, Marcus (CEL) <address@hidden> wrote:
> > Since the whole purpose of using a docker container is to isolate the
> > contents of the container:
> > Please use something less ancient than Ubuntu 16.04.
> >
> > Best regards,
> > Marcus Müller
> >
> > PS: "I get errors" is probably not a sufficient description to help you
> > in any way! Please be more verbose :)
> >
> > On Thu, 2019-05-09 at 11:03 -0400, amani alshawabkeh wrote:
> > > > Hi all,
> > > >
> > > > I am trying to install and run latest Gnuradio version (3.7.13.4) on
> > > > Ubuntu 16.04 docker. I tried using pybombs and from source installation
> > > > but after the installing gnuradio and trying to run any example I am
> > > > getting errors.
> > > >
> > > > Any suggestions? Is there any dependency that I need to install other
> > > > than the ones mentioned in gnuradio page.
> > > >
> > > > Thanks,
> > > > Amani
> > > > **************************
> > > >
> > >
> > > _______________________________________________
> > > Discuss-gnuradio mailing list
> > > address@hidden
> > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
smime.p7s
Description: S/MIME cryptographic signature