Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-20 Thread Robert Stanford
 I received saying that gnuradio-stable has been changed.  I did not
receive a reply when I asked how to use this with pybombs.  Is it master?
I still experience the issue with master.  Here's the relevant section of
the Dockerfile that I'm building to try and abstract all this away for
people (Fedora 27 doesn't work at all while Fedora 25 does; but that's a
bug for another time):

RUN pybombs
auto-config

RUN pybombs recipes
add-defaults


RUN pybombs config --package gnuradio gitrev
master


RUN pybombs prefix init ~/prefix -a
myprefix



RUN pybombs install gr-osmosdr
gr-inspector

RUN dnf install -y
xterm

RUN echo "xterm_executable = /usr/bin/xterm" >>
/root/prefix/etc/gnuradio/conf.d/grc.conf

RUN ldconfig

=

Generating:
'/root/prefix/src/gr-inspector/examples/live_signal_detection.py'


Executing: /usr/bin/python2 -u
/root/prefix/src/gr-inspector/examples/live_signal_detection.py


  File "/root/prefix/src/gr-inspector/examples/live_signal_detection.py",
line 90
self.inspector_qtgui_sink_vf_0 = Template error: #set $win =
'self._%s_win'%$id
  ^
SyntaxError: invalid syntax

On Wed, Apr 18, 2018 at 2:45 PM, Robert Stanford 
wrote:

>
>  I have tried to install with pybombs prefix init ~/prefix -a myprefix -R
> gnuradio-stable, where I read 'gnuradio-stable' refers to the maint
> branch.  I had the same error.  If I'm not running it correctly to get to
> the branch you'd like, let me know, and I'll try your way.
>
>  Thanks
>
> On Wed, Apr 18, 2018 at 12:28 PM, Müller, Marcus (CEL) 
> wrote:
>
>> Hm, it's surprising it works for Sebastian but not for you, but:
>>
>> This might be a bug we've introduced in 3.7.12.0. I have a commit on
>> GNU Radio maint-3.7 (and I think master) that's supposed to fix that.
>>
>> If someone could try whether the issue is fixed at the current head of
>> maint-3.7, I'd be very thankful – because if it is, I can release
>> 3.7.12.1, with that fix included.
>>
>> A bit of pointless maintainer lamentation: I was the one who let that
>> bug creep into a release. But I really couldn't get any code review for
>> that pull request. So, if someone adds a PR, or feels like he wants to
>> contribute to the project, but doesn't know how, please watch out for
>> the PR queue on github [1]: Every bit of code that anyone reviews does
>> help. Be critical; most people enjoy getting constructive feedback on
>> the code they're writing.
>>
>> Best regards,
>> Marcus
>>
>> [1]https://github.com/gnuradio/gnuradio/pulls
>> On Wed, 2018-04-18 at 11:54 -0500, Robert Stanford wrote:
>> >
>> >  Using Fedora25 and GNU Radio 3.7.12, installing from PyBombs.  Now I
>> get a new error in the Docker container, is this one known?
>> >
>> > Generating: '/tmp/gr-inspector/examples/live_signal_detection.py'
>> >
>> > Executing: /usr/bin/python2 -u /tmp/gr-inspector/examples/liv
>> e_signal_detection.py
>> >
>> >   File "/tmp/gr-inspector/examples/live_signal_detection.py", line 90
>> > self.inspector_qtgui_sink_vf_0 = Template error: #set $win =
>> 'self._%s_win'%$id
>> >
>> >
>> >
>> > On Sat, Apr 14, 2018 at 11:43 AM, Robert Stanford <
>> rstanford8...@gmail.com> wrote:
>> > >  Sabastian -
>> > >
>> > >  Thanks for the screenshots.  I'll keep hammering at it.  If I do
>> eventually get a Docker environment working, I'll send it your way in case
>> you'd like to include it.
>> > >
>> > >  Thanks again
>> > >
>> > >
>> > > On Sat, Apr 14, 2018 at 11:19 AM, Sebastian Müller 
>> wrote:
>> > > > Robert,
>> > > >
>> > > > I’m sorry you’re having difficulties with gr-inspector. I have just
>> tried to clone, compile and install gr-inspector on Fedora 25 with GNU
>> Radio 3.7.12 and it worked. Please see the attached screenshot [1] from
>> today as proof.
>> > > > I have seen gr-inspector run on various setups and distros,
>> including Fedora, Ubuntu and Arch Linux. However, I cannot provide support
>> for setting up specific operating systems to meet the dependencies for
>> gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as
>> reference for you [2]. Feel free to compare with your output and I’m sure
>> you’ll be able to track down the issue. Just from skimming I’ve noticed
>> that there is no line in your cmake output telling that Qt4 was found.
>> > > >
>> > > > [1] https://imgur.com/a/Tm6Ag
>> > > > [2] https://pastebin.com/M1hmA05a
>> > > >
>> > > > Regards,
>> > > >
>> > > > Sebastian Müller
>> > > > gse...@gmail.com
>> > > > PGP ID DC2AA3EE
>> > > >
>> > > > Am 14. April 2018 um 04:08:43, Robert Stanford (
>> rstanford8...@gmail.com) schrieb:
>> > > > >  If anyone's interested or having the same issue: I've tried to
>> run the gr-inspector example in a Docker container (seen below) and
>> received the same error message.  So the issue doesn't seem to be limited
>> to Ubuntu 17.10.
>> > > > >
>> > > > > ===
>> > > > > FROM fedora:27
>> > > 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-18 Thread Robert Stanford
 I have tried to install with pybombs prefix init ~/prefix -a myprefix -R
gnuradio-stable, where I read 'gnuradio-stable' refers to the maint
branch.  I had the same error.  If I'm not running it correctly to get to
the branch you'd like, let me know, and I'll try your way.

 Thanks

On Wed, Apr 18, 2018 at 12:28 PM, Müller, Marcus (CEL) 
wrote:

> Hm, it's surprising it works for Sebastian but not for you, but:
>
> This might be a bug we've introduced in 3.7.12.0. I have a commit on
> GNU Radio maint-3.7 (and I think master) that's supposed to fix that.
>
> If someone could try whether the issue is fixed at the current head of
> maint-3.7, I'd be very thankful – because if it is, I can release
> 3.7.12.1, with that fix included.
>
> A bit of pointless maintainer lamentation: I was the one who let that
> bug creep into a release. But I really couldn't get any code review for
> that pull request. So, if someone adds a PR, or feels like he wants to
> contribute to the project, but doesn't know how, please watch out for
> the PR queue on github [1]: Every bit of code that anyone reviews does
> help. Be critical; most people enjoy getting constructive feedback on
> the code they're writing.
>
> Best regards,
> Marcus
>
> [1]https://github.com/gnuradio/gnuradio/pulls
> On Wed, 2018-04-18 at 11:54 -0500, Robert Stanford wrote:
> >
> >  Using Fedora25 and GNU Radio 3.7.12, installing from PyBombs.  Now I
> get a new error in the Docker container, is this one known?
> >
> > Generating: '/tmp/gr-inspector/examples/live_signal_detection.py'
> >
> > Executing: /usr/bin/python2 -u /tmp/gr-inspector/examples/
> live_signal_detection.py
> >
> >   File "/tmp/gr-inspector/examples/live_signal_detection.py", line 90
> > self.inspector_qtgui_sink_vf_0 = Template error: #set $win =
> 'self._%s_win'%$id
> >
> >
> >
> > On Sat, Apr 14, 2018 at 11:43 AM, Robert Stanford <
> rstanford8...@gmail.com> wrote:
> > >  Sabastian -
> > >
> > >  Thanks for the screenshots.  I'll keep hammering at it.  If I do
> eventually get a Docker environment working, I'll send it your way in case
> you'd like to include it.
> > >
> > >  Thanks again
> > >
> > >
> > > On Sat, Apr 14, 2018 at 11:19 AM, Sebastian Müller 
> wrote:
> > > > Robert,
> > > >
> > > > I’m sorry you’re having difficulties with gr-inspector. I have just
> tried to clone, compile and install gr-inspector on Fedora 25 with GNU
> Radio 3.7.12 and it worked. Please see the attached screenshot [1] from
> today as proof.
> > > > I have seen gr-inspector run on various setups and distros,
> including Fedora, Ubuntu and Arch Linux. However, I cannot provide support
> for setting up specific operating systems to meet the dependencies for
> gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as
> reference for you [2]. Feel free to compare with your output and I’m sure
> you’ll be able to track down the issue. Just from skimming I’ve noticed
> that there is no line in your cmake output telling that Qt4 was found.
> > > >
> > > > [1] https://imgur.com/a/Tm6Ag
> > > > [2] https://pastebin.com/M1hmA05a
> > > >
> > > > Regards,
> > > >
> > > > Sebastian Müller
> > > > gse...@gmail.com
> > > > PGP ID DC2AA3EE
> > > >
> > > > Am 14. April 2018 um 04:08:43, Robert Stanford (
> rstanford8...@gmail.com) schrieb:
> > > > >  If anyone's interested or having the same issue: I've tried to
> run the gr-inspector example in a Docker container (seen below) and
> received the same error message.  So the issue doesn't seem to be limited
> to Ubuntu 17.10.
> > > > >
> > > > > ===
> > > > > FROM fedora:27
> > > > >
> > > > > RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt
> qwt-devel gcc gcc-c++ make cmake python python-devel python-pip
> qwtplot3d-qt4 qwtplot3d-qt4-devel cppunit-devel
> > > > > RUN yum install -y rtl-sdr xterm gr-osmosdr
> > > > > RUN pip install tensorflow
> > > > >
> > > > > # gr-inspector
> > > > > RUN echo "xterm_executable = /usr/bin/xterm" >>
> /etc/gnuradio/conf.d/grc.conf
> > > > > RUN git clone https://github.com/gnuradio/gr-inspector
> /tmp/gr-inspector
> > > > > RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build;
> cmake ..; make -j4; make install
> > > > >
> > > > > ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/
> python2.7/site-packages
> > > > > CMD /bin/bash
> > > > > ===
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford <
> rstanford8...@gmail.com> wrote:
> > > > > >  I've found and installed the necessary package.  It still has
> the same error when running the example graph.  Like many GNURadio things,
> this seems not entirely portable.  Has anyone been able to get gr-inspector
> to run in a certain Docker environment?
> > > > > >
> > > > > > On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller <
> gse...@gmail.com> wrote:
> > > > > > > Hello Robert,
> > > > > > >
> > > > > > > please use the homepage I referenced to find the packages you
> 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-18 Thread Sebastian Müller
Sorry for the confusion, I used karel’s fixed branch for my testing.
Under 3.7.12 I get the exact same error on the gr-inspector master branch.
I will try to have a look soon but won’t be available in the next days.

Regards,

Sebastian Müller
gse...@gmail.com
PGP ID DC2AA3EE


Am 18. April 2018 um 19:28:05, Müller, Marcus (CEL) (muel...@kit.edu)
schrieb:

Hm, it's surprising it works for Sebastian but not for you, but:

This might be a bug we've introduced in 3.7.12.0. I have a commit on
GNU Radio maint-3.7 (and I think master) that's supposed to fix that.

If someone could try whether the issue is fixed at the current head of
maint-3.7, I'd be very thankful – because if it is, I can release
3.7.12.1, with that fix included.

A bit of pointless maintainer lamentation: I was the one who let that
bug creep into a release. But I really couldn't get any code review for
that pull request. So, if someone adds a PR, or feels like he wants to
contribute to the project, but doesn't know how, please watch out for
the PR queue on github [1]: Every bit of code that anyone reviews does
help. Be critical; most people enjoy getting constructive feedback on
the code they're writing.

Best regards,
Marcus

[1]https://github.com/gnuradio/gnuradio/pulls
On Wed, 2018-04-18 at 11:54 -0500, Robert Stanford wrote:
>
> Using Fedora25 and GNU Radio 3.7.12, installing from PyBombs. Now I get a
new error in the Docker container, is this one known?
>
> Generating: '/tmp/gr-inspector/examples/live_signal_detection.py'
>
> Executing: /usr/bin/python2 -u
/tmp/gr-inspector/examples/live_signal_detection.py
>
> File "/tmp/gr-inspector/examples/live_signal_detection.py", line 90
> self.inspector_qtgui_sink_vf_0 = Template error: #set $win =
'self._%s_win'%$id
>
>
>
> On Sat, Apr 14, 2018 at 11:43 AM, Robert Stanford 
wrote:
> > Sabastian -
> >
> > Thanks for the screenshots. I'll keep hammering at it. If I do
eventually get a Docker environment working, I'll send it your way in case
you'd like to include it.
> >
> > Thanks again
> >
> >
> > On Sat, Apr 14, 2018 at 11:19 AM, Sebastian Müller 
wrote:
> > > Robert,
> > >
> > > I’m sorry you’re having difficulties with gr-inspector. I have just
tried to clone, compile and install gr-inspector on Fedora 25 with GNU
Radio 3.7.12 and it worked. Please see the attached screenshot [1] from
today as proof.
> > > I have seen gr-inspector run on various setups and distros, including
Fedora, Ubuntu and Arch Linux. However, I cannot provide support for
setting up specific operating systems to meet the dependencies for
gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as
reference for you [2]. Feel free to compare with your output and I’m sure
you’ll be able to track down the issue. Just from skimming I’ve noticed
that there is no line in your cmake output telling that Qt4 was found.
> > >
> > > [1] https://imgur.com/a/Tm6Ag
> > > [2] https://pastebin.com/M1hmA05a
> > >
> > > Regards,
> > >
> > > Sebastian Müller
> > > gse...@gmail.com
> > > PGP ID DC2AA3EE
> > >
> > > Am 14. April 2018 um 04:08:43, Robert Stanford (
rstanford8...@gmail.com) schrieb:
> > > > If anyone's interested or having the same issue: I've tried to run
the gr-inspector example in a Docker container (seen below) and received
the same error message. So the issue doesn't seem to be limited to Ubuntu
17.10.
> > > >
> > > > ===
> > > > FROM fedora:27
> > > >
> > > > RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt
qwt-devel gcc gcc-c++ make cmake python python-devel python-pip
qwtplot3d-qt4 qwtplot3d-qt4-devel cppunit-devel
> > > > RUN yum install -y rtl-sdr xterm gr-osmosdr
> > > > RUN pip install tensorflow
> > > >
> > > > # gr-inspector
> > > > RUN echo "xterm_executable = /usr/bin/xterm" >>
/etc/gnuradio/conf.d/grc.conf
> > > > RUN git clone https://github.com/gnuradio/gr-inspector
/tmp/gr-inspector
> > > > RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build;
cmake ..; make -j4; make install
> > > >
> > > > ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/python2.7/site-packages
> > > > CMD /bin/bash
> > > > ===
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford <
rstanford8...@gmail.com> wrote:
> > > > > I've found and installed the necessary package. It still has the
same error when running the example graph. Like many GNURadio things, this
seems not entirely portable. Has anyone been able to get gr-inspector to
run in a certain Docker environment?
> > > > >
> > > > > On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller <
gse...@gmail.com> wrote:
> > > > > > Hello Robert,
> > > > > >
> > > > > > please use the homepage I referenced to find the packages you
need. I searched for you last mail but I’m sure you’ll find the packages
that provide the headers as well after a little time of searching. Each OS
is different and I cannot support users in setting up 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-18 Thread CEL
Hm, it's surprising it works for Sebastian but not for you, but:

This might be a bug we've introduced in 3.7.12.0. I have a commit on
GNU Radio maint-3.7 (and I think master) that's supposed to fix that.

If someone could try whether the issue is fixed at the current head of
maint-3.7, I'd be very thankful – because if it is, I can release
3.7.12.1, with that fix included.

A bit of pointless maintainer lamentation: I was the one who let that
bug creep into a release. But I really couldn't get any code review for
that pull request. So, if someone adds a PR, or feels like he wants to
contribute to the project, but doesn't know how, please watch out for
the PR queue on github [1]: Every bit of code that anyone reviews does
help. Be critical; most people enjoy getting constructive feedback on
the code they're writing.

Best regards,
Marcus

[1]https://github.com/gnuradio/gnuradio/pulls
On Wed, 2018-04-18 at 11:54 -0500, Robert Stanford wrote:
> 
>  Using Fedora25 and GNU Radio 3.7.12, installing from PyBombs.  Now I get a 
> new error in the Docker container, is this one known?
> 
> Generating: '/tmp/gr-inspector/examples/live_signal_detection.py'
> 
> Executing: /usr/bin/python2 -u 
> /tmp/gr-inspector/examples/live_signal_detection.py
> 
>   File "/tmp/gr-inspector/examples/live_signal_detection.py", line 90
> self.inspector_qtgui_sink_vf_0 = Template error: #set $win = 
> 'self._%s_win'%$id
> 
> 
> 
> On Sat, Apr 14, 2018 at 11:43 AM, Robert Stanford  
> wrote:
> >  Sabastian -
> > 
> >  Thanks for the screenshots.  I'll keep hammering at it.  If I do 
> > eventually get a Docker environment working, I'll send it your way in case 
> > you'd like to include it.
> > 
> >  Thanks again
> > 
> > 
> > On Sat, Apr 14, 2018 at 11:19 AM, Sebastian Müller  wrote:
> > > Robert,
> > > 
> > > I’m sorry you’re having difficulties with gr-inspector. I have just tried 
> > > to clone, compile and install gr-inspector on Fedora 25 with GNU Radio 
> > > 3.7.12 and it worked. Please see the attached screenshot [1] from today 
> > > as proof.
> > > I have seen gr-inspector run on various setups and distros, including 
> > > Fedora, Ubuntu and Arch Linux. However, I cannot provide support for 
> > > setting up specific operating systems to meet the dependencies for 
> > > gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as 
> > > reference for you [2]. Feel free to compare with your output and I’m sure 
> > > you’ll be able to track down the issue. Just from skimming I’ve noticed 
> > > that there is no line in your cmake output telling that Qt4 was found.
> > > 
> > > [1] https://imgur.com/a/Tm6Ag
> > > [2] https://pastebin.com/M1hmA05a
> > > 
> > > Regards,
> > > 
> > > Sebastian Müller
> > > gse...@gmail.com
> > > PGP ID DC2AA3EE
> > > 
> > > Am 14. April 2018 um 04:08:43, Robert Stanford (rstanford8...@gmail.com) 
> > > schrieb:
> > > >  If anyone's interested or having the same issue: I've tried to run the 
> > > > gr-inspector example in a Docker container (seen below) and received 
> > > > the same error message.  So the issue doesn't seem to be limited to 
> > > > Ubuntu 17.10.
> > > > 
> > > > ===
> > > > FROM fedora:27
> > > > 
> > > > RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt 
> > > > qwt-devel gcc gcc-c++ make cmake python python-devel python-pip 
> > > > qwtplot3d-qt4 qwtplot3d-qt4-devel cppunit-devel
> > > > RUN yum install -y rtl-sdr xterm gr-osmosdr
> > > > RUN pip install tensorflow
> > > > 
> > > > # gr-inspector
> > > > RUN echo "xterm_executable = /usr/bin/xterm" >> 
> > > > /etc/gnuradio/conf.d/grc.conf
> > > > RUN git clone https://github.com/gnuradio/gr-inspector /tmp/gr-inspector
> > > > RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build; cmake 
> > > > ..; make -j4; make install
> > > > 
> > > > ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/python2.7/site-packages
> > > > CMD /bin/bash
> > > > ===
> > > > 
> > > > 
> > > > 
> > > > 
> > > > On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford 
> > > >  wrote:
> > > > >  I've found and installed the necessary package.  It still has the 
> > > > > same error when running the example graph.  Like many GNURadio 
> > > > > things, this seems not entirely portable.  Has anyone been able to 
> > > > > get gr-inspector to run in a certain Docker environment?
> > > > > 
> > > > > On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller  
> > > > > wrote:
> > > > > > Hello Robert,
> > > > > > 
> > > > > > please use the homepage I referenced to find the packages you need. 
> > > > > > I searched for you last mail but I’m sure you’ll find the packages 
> > > > > > that provide the headers as well after a little time of searching. 
> > > > > > Each OS is different and I cannot support users in setting up their 
> > > > > > system to meet the requirements for gr-inspector.
> > > > > > 
> > > > > > Thanks,
> > > > > > 
> > > > > > 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-18 Thread Robert Stanford
 Using Fedora25 and GNU Radio 3.7.12, installing from PyBombs.  Now I get a
new error in the Docker container, is this one known?

Generating: '/tmp/gr-inspector/examples/live_signal_detection.py'

Executing: /usr/bin/python2 -u
/tmp/gr-inspector/examples/live_signal_detection.py

  File "/tmp/gr-inspector/examples/live_signal_detection.py", line 90
self.inspector_qtgui_sink_vf_0 = Template error: #set $win =
'self._%s_win'%$id



On Sat, Apr 14, 2018 at 11:43 AM, Robert Stanford 
wrote:

>
>  Sabastian -
>
>  Thanks for the screenshots.  I'll keep hammering at it.  If I do
> eventually get a Docker environment working, I'll send it your way in case
> you'd like to include it.
>
>  Thanks again
>
>
> On Sat, Apr 14, 2018 at 11:19 AM, Sebastian Müller 
> wrote:
>
>> Robert,
>>
>> I’m sorry you’re having difficulties with gr-inspector. I have just tried
>> to clone, compile and install gr-inspector on Fedora 25 with GNU Radio
>> 3.7.12 and it worked. Please see the attached screenshot [1] from today as
>> proof.
>> I have seen gr-inspector run on various setups and distros, including
>> Fedora, Ubuntu and Arch Linux. However, I cannot provide support for
>> setting up specific operating systems to meet the dependencies for
>> gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as
>> reference for you [2]. Feel free to compare with your output and I’m sure
>> you’ll be able to track down the issue. Just from skimming I’ve noticed
>> that there is no line in your cmake output telling that Qt4 was found.
>>
>> [1] https://imgur.com/a/Tm6Ag
>> [2] https://pastebin.com/M1hmA05a
>>
>> Regards,
>>
>> Sebastian Müller
>> gse...@gmail.com
>> PGP ID DC2AA3EE
>> 
>>
>> Am 14. April 2018 um 04:08:43, Robert Stanford (rstanford8...@gmail.com)
>> schrieb:
>>
>>
>>  If anyone's interested or having the same issue: I've tried to run the
>> gr-inspector example in a Docker container (seen below) and received the
>> same error message.  So the issue doesn't seem to be limited to Ubuntu
>> 17.10.
>>
>> ===
>> FROM fedora:27
>>
>> RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt qwt-devel
>> gcc gcc-c++ make cmake python python-devel python-pip qwtplot3d-qt4
>> qwtplot3d-qt4-devel cppunit-devel
>> RUN yum install -y rtl-sdr xterm gr-osmosdr
>> RUN pip install tensorflow
>>
>> # gr-inspector
>> RUN echo "xterm_executable = /usr/bin/xterm" >>
>> /etc/gnuradio/conf.d/grc.conf
>> RUN git clone https://github.com/gnuradio/gr-inspector /tmp/gr-inspector
>> RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build; cmake ..;
>> make -j4; make install
>>
>> ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/python2.7/site-packages
>> CMD /bin/bash
>> ===
>>
>>
>>
>>
>> On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford > > wrote:
>>
>>>
>>>  I've found and installed the necessary package.  It still has the same
>>> error when running the example graph.  Like many GNURadio things, this
>>> seems not entirely portable.  Has anyone been able to get gr-inspector to
>>> run in a certain Docker environment?
>>>
>>> On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller 
>>> wrote:
>>>
 Hello Robert,

 please use the homepage I referenced to find the packages you need. I
 searched for you last mail but I’m sure you’ll find the packages that
 provide the headers as well after a little time of searching. Each OS is
 different and I cannot support users in setting up their system to meet the
 requirements for gr-inspector.

 Thanks,

 Sebastian Müller
 gse...@gmail.com
 PGP ID DC2AA3EE
 

 Am 10. April 2018 um 22:25:19, Robert Stanford (rstanford8...@gmail.com)
 schrieb:


  Sebastian -

  I have uninstalled qwt and qwtplot3d, and manually verified that no
 files matching their name exists on the fs.  I have installed the two
 packages you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).

  I have two new errors when running cmake, including a missing qwt
 header file (though as I mentioned, I installed the -dev package).  Please
 see https://pastebin.com/ruz43yTu

  The header file that is missing is not included in the file list of
 the packages you linked.

  Thank you for your patience




 On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller 
 wrote:

> Hi Robert,
>
> I’m pretty sure you have a corrupt qwt installation on your machine
> (which is also 90% the issues users have with gr-inspector).
> The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
> build, but from the debian package 'libqwt5-qt4‘.
> If you just use a symbolic link and trick cmake into finding this
> file, 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-14 Thread Robert Stanford
 Sabastian -

 Thanks for the screenshots.  I'll keep hammering at it.  If I do
eventually get a Docker environment working, I'll send it your way in case
you'd like to include it.

 Thanks again


On Sat, Apr 14, 2018 at 11:19 AM, Sebastian Müller  wrote:

> Robert,
>
> I’m sorry you’re having difficulties with gr-inspector. I have just tried
> to clone, compile and install gr-inspector on Fedora 25 with GNU Radio
> 3.7.12 and it worked. Please see the attached screenshot [1] from today as
> proof.
> I have seen gr-inspector run on various setups and distros, including
> Fedora, Ubuntu and Arch Linux. However, I cannot provide support for
> setting up specific operating systems to meet the dependencies for
> gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as
> reference for you [2]. Feel free to compare with your output and I’m sure
> you’ll be able to track down the issue. Just from skimming I’ve noticed
> that there is no line in your cmake output telling that Qt4 was found.
>
> [1] https://imgur.com/a/Tm6Ag
> [2] https://pastebin.com/M1hmA05a
>
> Regards,
>
> Sebastian Müller
> gse...@gmail.com
> PGP ID DC2AA3EE
> 
>
> Am 14. April 2018 um 04:08:43, Robert Stanford (rstanford8...@gmail.com)
> schrieb:
>
>
>  If anyone's interested or having the same issue: I've tried to run the
> gr-inspector example in a Docker container (seen below) and received the
> same error message.  So the issue doesn't seem to be limited to Ubuntu
> 17.10.
>
> ===
> FROM fedora:27
>
> RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt qwt-devel
> gcc gcc-c++ make cmake python python-devel python-pip qwtplot3d-qt4
> qwtplot3d-qt4-devel cppunit-devel
> RUN yum install -y rtl-sdr xterm gr-osmosdr
> RUN pip install tensorflow
>
> # gr-inspector
> RUN echo "xterm_executable = /usr/bin/xterm" >>
> /etc/gnuradio/conf.d/grc.conf
> RUN git clone https://github.com/gnuradio/gr-inspector /tmp/gr-inspector
> RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build; cmake ..;
> make -j4; make install
>
> ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/python2.7/site-packages
> CMD /bin/bash
> ===
>
>
>
>
> On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford 
> wrote:
>
>>
>>  I've found and installed the necessary package.  It still has the same
>> error when running the example graph.  Like many GNURadio things, this
>> seems not entirely portable.  Has anyone been able to get gr-inspector to
>> run in a certain Docker environment?
>>
>> On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller 
>> wrote:
>>
>>> Hello Robert,
>>>
>>> please use the homepage I referenced to find the packages you need. I
>>> searched for you last mail but I’m sure you’ll find the packages that
>>> provide the headers as well after a little time of searching. Each OS is
>>> different and I cannot support users in setting up their system to meet the
>>> requirements for gr-inspector.
>>>
>>> Thanks,
>>>
>>> Sebastian Müller
>>> gse...@gmail.com
>>> PGP ID DC2AA3EE
>>> 
>>>
>>> Am 10. April 2018 um 22:25:19, Robert Stanford (rstanford8...@gmail.com)
>>> schrieb:
>>>
>>>
>>>  Sebastian -
>>>
>>>  I have uninstalled qwt and qwtplot3d, and manually verified that no
>>> files matching their name exists on the fs.  I have installed the two
>>> packages you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).
>>>
>>>  I have two new errors when running cmake, including a missing qwt
>>> header file (though as I mentioned, I installed the -dev package).  Please
>>> see https://pastebin.com/ruz43yTu
>>>
>>>  The header file that is missing is not included in the file list of the
>>> packages you linked.
>>>
>>>  Thank you for your patience
>>>
>>>
>>>
>>>
>>> On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller 
>>> wrote:
>>>
 Hi Robert,

 I’m pretty sure you have a corrupt qwt installation on your machine
 (which is also 90% the issues users have with gr-inspector).
 The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
 build, but from the debian package 'libqwt5-qt4‘.
 If you just use a symbolic link and trick cmake into finding this file,
 things might go wrong down the road since this is a qwt 5 library! I would
 avoid using symlinks for this purpose at all. See my other comments below.

 Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
 schrieb:


  Thanks for getting back to me.  The packages I installed were:

  - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
  - qwt-6.1.0 (not the most recent, but what the page recommends), from
 source.  I'd previously tried installing the most recent from the repos
 (apt), but had the same error I mentioned above so uninstalled and
 installed this recommended 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-14 Thread Sebastian Müller
Robert,

I’m sorry you’re having difficulties with gr-inspector. I have just tried
to clone, compile and install gr-inspector on Fedora 25 with GNU Radio
3.7.12 and it worked. Please see the attached screenshot [1] from today as
proof.
I have seen gr-inspector run on various setups and distros, including
Fedora, Ubuntu and Arch Linux. However, I cannot provide support for
setting up specific operating systems to meet the dependencies for
gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as
reference for you [2]. Feel free to compare with your output and I’m sure
you’ll be able to track down the issue. Just from skimming I’ve noticed
that there is no line in your cmake output telling that Qt4 was found.

[1] https://imgur.com/a/Tm6Ag
[2] https://pastebin.com/M1hmA05a

Regards,

Sebastian Müller
gse...@gmail.com
PGP ID DC2AA3EE


Am 14. April 2018 um 04:08:43, Robert Stanford (rstanford8...@gmail.com)
schrieb:


 If anyone's interested or having the same issue: I've tried to run the
gr-inspector example in a Docker container (seen below) and received the
same error message.  So the issue doesn't seem to be limited to Ubuntu
17.10.

===
FROM fedora:27

RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt qwt-devel
gcc gcc-c++ make cmake python python-devel python-pip qwtplot3d-qt4
qwtplot3d-qt4-devel cppunit-devel
RUN yum install -y rtl-sdr xterm gr-osmosdr
RUN pip install tensorflow

# gr-inspector
RUN echo "xterm_executable = /usr/bin/xterm" >>
/etc/gnuradio/conf.d/grc.conf
RUN git clone https://github.com/gnuradio/gr-inspector /tmp/gr-inspector
RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build; cmake ..;
make -j4; make install

ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/python2.7/site-packages
CMD /bin/bash
===




On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford 
wrote:

>
>  I've found and installed the necessary package.  It still has the same
> error when running the example graph.  Like many GNURadio things, this
> seems not entirely portable.  Has anyone been able to get gr-inspector to
> run in a certain Docker environment?
>
> On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller 
> wrote:
>
>> Hello Robert,
>>
>> please use the homepage I referenced to find the packages you need. I
>> searched for you last mail but I’m sure you’ll find the packages that
>> provide the headers as well after a little time of searching. Each OS is
>> different and I cannot support users in setting up their system to meet the
>> requirements for gr-inspector.
>>
>> Thanks,
>>
>> Sebastian Müller
>> gse...@gmail.com
>> PGP ID DC2AA3EE
>> 
>>
>> Am 10. April 2018 um 22:25:19, Robert Stanford (rstanford8...@gmail.com)
>> schrieb:
>>
>>
>>  Sebastian -
>>
>>  I have uninstalled qwt and qwtplot3d, and manually verified that no
>> files matching their name exists on the fs.  I have installed the two
>> packages you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).
>>
>>  I have two new errors when running cmake, including a missing qwt header
>> file (though as I mentioned, I installed the -dev package).  Please see
>> https://pastebin.com/ruz43yTu
>>
>>  The header file that is missing is not included in the file list of the
>> packages you linked.
>>
>>  Thank you for your patience
>>
>>
>>
>>
>> On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller 
>> wrote:
>>
>>> Hi Robert,
>>>
>>> I’m pretty sure you have a corrupt qwt installation on your machine
>>> (which is also 90% the issues users have with gr-inspector).
>>> The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
>>> build, but from the debian package 'libqwt5-qt4‘.
>>> If you just use a symbolic link and trick cmake into finding this file,
>>> things might go wrong down the road since this is a qwt 5 library! I would
>>> avoid using symlinks for this purpose at all. See my other comments below.
>>>
>>> Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
>>> schrieb:
>>>
>>>
>>>  Thanks for getting back to me.  The packages I installed were:
>>>
>>>  - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
>>>  - qwt-6.1.0 (not the most recent, but what the page recommends), from
>>> source.  I'd previously tried installing the most recent from the repos
>>> (apt), but had the same error I mentioned above so uninstalled and
>>> installed this recommended version from source.
>>>- I installed this using these instructions: http://qwt.sourc
>>> eforge.net/qwtinstall.html
>>>
>>> Please uninstall all qwt related packages and files from your machine.
>>> As mentioned above, there seems to be other (broken) qwt installations.
>>> This is not an easy task, so please take some time to clean everything up!
>>>
>>>
>>>
>>>  gr-inspector (cmake) had errors until I did these three things:
>>>   - apt 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-13 Thread Robert Stanford
 If anyone's interested or having the same issue: I've tried to run the
gr-inspector example in a Docker container (seen below) and received the
same error message.  So the issue doesn't seem to be limited to Ubuntu
17.10.

===
FROM fedora:27

RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt qwt-devel
gcc gcc-c++ make cmake python python-devel python-pip qwtplot3d-qt4
qwtplot3d-qt4-devel cppunit-devel
RUN yum install -y rtl-sdr xterm gr-osmosdr
RUN pip install tensorflow

# gr-inspector
RUN echo "xterm_executable = /usr/bin/xterm" >>
/etc/gnuradio/conf.d/grc.conf
RUN git clone https://github.com/gnuradio/gr-inspector /tmp/gr-inspector
RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build; cmake ..;
make -j4; make install

ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/python2.7/site-packages
CMD /bin/bash
===




On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford 
wrote:

>
>  I've found and installed the necessary package.  It still has the same
> error when running the example graph.  Like many GNURadio things, this
> seems not entirely portable.  Has anyone been able to get gr-inspector to
> run in a certain Docker environment?
>
> On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller 
> wrote:
>
>> Hello Robert,
>>
>> please use the homepage I referenced to find the packages you need. I
>> searched for you last mail but I’m sure you’ll find the packages that
>> provide the headers as well after a little time of searching. Each OS is
>> different and I cannot support users in setting up their system to meet the
>> requirements for gr-inspector.
>>
>> Thanks,
>>
>> Sebastian Müller
>> gse...@gmail.com
>> PGP ID DC2AA3EE
>> 
>>
>> Am 10. April 2018 um 22:25:19, Robert Stanford (rstanford8...@gmail.com)
>> schrieb:
>>
>>
>>  Sebastian -
>>
>>  I have uninstalled qwt and qwtplot3d, and manually verified that no
>> files matching their name exists on the fs.  I have installed the two
>> packages you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).
>>
>>  I have two new errors when running cmake, including a missing qwt header
>> file (though as I mentioned, I installed the -dev package).  Please see
>> https://pastebin.com/ruz43yTu
>>
>>  The header file that is missing is not included in the file list of the
>> packages you linked.
>>
>>  Thank you for your patience
>>
>>
>>
>>
>> On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller 
>> wrote:
>>
>>> Hi Robert,
>>>
>>> I’m pretty sure you have a corrupt qwt installation on your machine
>>> (which is also 90% the issues users have with gr-inspector).
>>> The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
>>> build, but from the debian package 'libqwt5-qt4‘.
>>> If you just use a symbolic link and trick cmake into finding this file,
>>> things might go wrong down the road since this is a qwt 5 library! I would
>>> avoid using symlinks for this purpose at all. See my other comments below.
>>>
>>> Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
>>> schrieb:
>>>
>>>
>>>  Thanks for getting back to me.  The packages I installed were:
>>>
>>>  - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
>>>  - qwt-6.1.0 (not the most recent, but what the page recommends), from
>>> source.  I'd previously tried installing the most recent from the repos
>>> (apt), but had the same error I mentioned above so uninstalled and
>>> installed this recommended version from source.
>>>- I installed this using these instructions: http://qwt.sourc
>>> eforge.net/qwtinstall.html
>>>
>>> Please uninstall all qwt related packages and files from your machine.
>>> As mentioned above, there seems to be other (broken) qwt installations.
>>> This is not an easy task, so please take some time to clean everything up!
>>>
>>>
>>>
>>>  gr-inspector (cmake) had errors until I did these three things:
>>>   - apt install gnuradio-dev
>>>
>>> This is normal if you didn’t build GNU Radio from source.
>>>
>>>
>>>   - ln -s /usr/include/qwt /usr/include/qwtplot3d-qt4
>>>
>>> You are symlinking a qwt directory to a qwtplot3d directory. This does
>>> not make sense to me and will most likely cause problems. All the files you
>>> need should be in /usr/include/qwtplot3d-qt4 and be provided by
>>> ‚libqwtplot3d-qt4-dev‘ [1]. If they are not there, something is wrong with
>>> your system.
>>>
>>> If the files are there, please share the output of cmake without
>>> symlinking beforehand.
>>>
>>>
>>>   - ln -s /usr/lib/libqwt-qt4.so.5 /usr/lib/libqwt-qt4.so
>>>
>>> Same thing here libqwt-qt5.so.5 is most likely no file from qwt-6.1.0.
>>> The library that you need is in /usr/lib/libqwt.so and is provided by
>>> ‚libqwt-dev‘ [2]. If not, again, something is wrong with your system.
>>>
>>>   - I found that I had to do this: export 
>>> CMAKE_MODULE_PATH=/home/rs/devel/gr-inspector/cmake/Modules;
>>> cmake ..
>>>

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-11 Thread Robert Stanford
 I've found and installed the necessary package.  It still has the same
error when running the example graph.  Like many GNURadio things, this
seems not entirely portable.  Has anyone been able to get gr-inspector to
run in a certain Docker environment?

On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller  wrote:

> Hello Robert,
>
> please use the homepage I referenced to find the packages you need. I
> searched for you last mail but I’m sure you’ll find the packages that
> provide the headers as well after a little time of searching. Each OS is
> different and I cannot support users in setting up their system to meet the
> requirements for gr-inspector.
>
> Thanks,
>
> Sebastian Müller
> gse...@gmail.com
> PGP ID DC2AA3EE
> 
>
> Am 10. April 2018 um 22:25:19, Robert Stanford (rstanford8...@gmail.com)
> schrieb:
>
>
>  Sebastian -
>
>  I have uninstalled qwt and qwtplot3d, and manually verified that no files
> matching their name exists on the fs.  I have installed the two packages
> you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).
>
>  I have two new errors when running cmake, including a missing qwt header
> file (though as I mentioned, I installed the -dev package).  Please see
> https://pastebin.com/ruz43yTu
>
>  The header file that is missing is not included in the file list of the
> packages you linked.
>
>  Thank you for your patience
>
>
>
>
> On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller 
> wrote:
>
>> Hi Robert,
>>
>> I’m pretty sure you have a corrupt qwt installation on your machine
>> (which is also 90% the issues users have with gr-inspector).
>> The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
>> build, but from the debian package 'libqwt5-qt4‘.
>> If you just use a symbolic link and trick cmake into finding this file,
>> things might go wrong down the road since this is a qwt 5 library! I would
>> avoid using symlinks for this purpose at all. See my other comments below.
>>
>> Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
>> schrieb:
>>
>>
>>  Thanks for getting back to me.  The packages I installed were:
>>
>>  - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
>>  - qwt-6.1.0 (not the most recent, but what the page recommends), from
>> source.  I'd previously tried installing the most recent from the repos
>> (apt), but had the same error I mentioned above so uninstalled and
>> installed this recommended version from source.
>>- I installed this using these instructions: http://qwt.sourc
>> eforge.net/qwtinstall.html
>>
>> Please uninstall all qwt related packages and files from your machine. As
>> mentioned above, there seems to be other (broken) qwt installations. This
>> is not an easy task, so please take some time to clean everything up!
>>
>>
>>
>>  gr-inspector (cmake) had errors until I did these three things:
>>   - apt install gnuradio-dev
>>
>> This is normal if you didn’t build GNU Radio from source.
>>
>>
>>   - ln -s /usr/include/qwt /usr/include/qwtplot3d-qt4
>>
>> You are symlinking a qwt directory to a qwtplot3d directory. This does
>> not make sense to me and will most likely cause problems. All the files you
>> need should be in /usr/include/qwtplot3d-qt4 and be provided by
>> ‚libqwtplot3d-qt4-dev‘ [1]. If they are not there, something is wrong with
>> your system.
>>
>> If the files are there, please share the output of cmake without
>> symlinking beforehand.
>>
>>
>>   - ln -s /usr/lib/libqwt-qt4.so.5 /usr/lib/libqwt-qt4.so
>>
>> Same thing here libqwt-qt5.so.5 is most likely no file from qwt-6.1.0.
>> The library that you need is in /usr/lib/libqwt.so and is provided by
>> ‚libqwt-dev‘ [2]. If not, again, something is wrong with your system.
>>
>>   - I found that I had to do this: export 
>> CMAKE_MODULE_PATH=/home/rs/devel/gr-inspector/cmake/Modules;
>> cmake ..
>>
>> This should also not be necessary. What is the error if you don’t do this?
>>
>>
>>
>> So, either I am doing something wrong by this point, or there are four
>> extra steps (above) that are required to get gr-inspector working on my
>> system (Ubuntu 17.10, gnuradio 3.7.10)
>>
>> Yes, from the points I mentioned above I don’t think you’re getting a
>> successful build from here on.
>>
>>
>>
>>  I've cleaned and built again to show the output.  Here is the output of
>> 'cmake ..': https://pastebin.com/c3hnmNDx
>>
>>  Here is the output of 'make -j4': https://pastebin.com/zHUAZGn3
>>
>>  I load the sample graph into gnuradio-companion, and get the error again:
>>  https://pastebin.com/DFGAtmGz
>>
>>  As for the PLL error (while tuning the rtl-sdr), that's something I
>> normally experience.  It's never been a show-stopper and I think it can be
>> ignored in this case.  I am not tuning to 2.4MHz but am using a 2.4MS/s
>> sample rate.
>>
>>  Thank you again
>>
>>
>> [1] 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-11 Thread Sebastian Müller
Hello Robert,

please use the homepage I referenced to find the packages you need. I
searched for you last mail but I’m sure you’ll find the packages that
provide the headers as well after a little time of searching. Each OS is
different and I cannot support users in setting up their system to meet the
requirements for gr-inspector.

Thanks,

Sebastian Müller
gse...@gmail.com
PGP ID DC2AA3EE


Am 10. April 2018 um 22:25:19, Robert Stanford (rstanford8...@gmail.com)
schrieb:


 Sebastian -

 I have uninstalled qwt and qwtplot3d, and manually verified that no files
matching their name exists on the fs.  I have installed the two packages
you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).

 I have two new errors when running cmake, including a missing qwt header
file (though as I mentioned, I installed the -dev package).  Please see
https://pastebin.com/ruz43yTu

 The header file that is missing is not included in the file list of the
packages you linked.

 Thank you for your patience




On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller  wrote:

> Hi Robert,
>
> I’m pretty sure you have a corrupt qwt installation on your machine (which
> is also 90% the issues users have with gr-inspector).
> The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
> build, but from the debian package 'libqwt5-qt4‘.
> If you just use a symbolic link and trick cmake into finding this file,
> things might go wrong down the road since this is a qwt 5 library! I would
> avoid using symlinks for this purpose at all. See my other comments below.
>
> Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
> schrieb:
>
>
>  Thanks for getting back to me.  The packages I installed were:
>
>  - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
>  - qwt-6.1.0 (not the most recent, but what the page recommends), from
> source.  I'd previously tried installing the most recent from the repos
> (apt), but had the same error I mentioned above so uninstalled and
> installed this recommended version from source.
>- I installed this using these instructions: http://qwt.
> sourceforge.net/qwtinstall.html
>
> Please uninstall all qwt related packages and files from your machine. As
> mentioned above, there seems to be other (broken) qwt installations. This
> is not an easy task, so please take some time to clean everything up!
>
>
>
>  gr-inspector (cmake) had errors until I did these three things:
>   - apt install gnuradio-dev
>
> This is normal if you didn’t build GNU Radio from source.
>
>
>   - ln -s /usr/include/qwt /usr/include/qwtplot3d-qt4
>
> You are symlinking a qwt directory to a qwtplot3d directory. This does not
> make sense to me and will most likely cause problems. All the files you
> need should be in /usr/include/qwtplot3d-qt4 and be provided by
> ‚libqwtplot3d-qt4-dev‘ [1]. If they are not there, something is wrong with
> your system.
>
> If the files are there, please share the output of cmake without
> symlinking beforehand.
>
>
>   - ln -s /usr/lib/libqwt-qt4.so.5 /usr/lib/libqwt-qt4.so
>
> Same thing here libqwt-qt5.so.5 is most likely no file from qwt-6.1.0. The
> library that you need is in /usr/lib/libqwt.so and is provided by
> ‚libqwt-dev‘ [2]. If not, again, something is wrong with your system.
>
>   - I found that I had to do this: export CMAKE_MODULE_PATH=/home/rs/
> devel/gr-inspector/cmake/Modules; cmake ..
>
> This should also not be necessary. What is the error if you don’t do this?
>
>
>
> So, either I am doing something wrong by this point, or there are four
> extra steps (above) that are required to get gr-inspector working on my
> system (Ubuntu 17.10, gnuradio 3.7.10)
>
> Yes, from the points I mentioned above I don’t think you’re getting a
> successful build from here on.
>
>
>
>  I've cleaned and built again to show the output.  Here is the output of
> 'cmake ..': https://pastebin.com/c3hnmNDx
>
>  Here is the output of 'make -j4': https://pastebin.com/zHUAZGn3
>
>  I load the sample graph into gnuradio-companion, and get the error again:
>  https://pastebin.com/DFGAtmGz
>
>  As for the PLL error (while tuning the rtl-sdr), that's something I
> normally experience.  It's never been a show-stopper and I think it can be
> ignored in this case.  I am not tuning to 2.4MHz but am using a 2.4MS/s
> sample rate.
>
>  Thank you again
>
>
> [1] https://packages.ubuntu.com/artful/amd64/libqwtplot3d-qt4-dev/filelist
>
> [2] https://packages.ubuntu.com/artful/amd64/libqwt-dev/filelist
>
>
> Sebastian Müller
> gse...@gmail.com
> PGP ID DC2AA3EE
> 
>
>
>
>
> On Mon, Apr 9, 2018 at 12:40 PM, Sebastian Müller  wrot
> e:
>
>> Hi Robert,
>>
>> Am 9. April 2018 um 01:31:42, Robert Stanford (rstanford8...@gmail.com)
>> schrieb:
>>
>>
>>  I have cloned and installed gr-inspector using the instructions on the
>> 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-10 Thread Robert Stanford
 Sebastian -

 I have uninstalled qwt and qwtplot3d, and manually verified that no files
matching their name exists on the fs.  I have installed the two packages
you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).

 I have two new errors when running cmake, including a missing qwt header
file (though as I mentioned, I installed the -dev package).  Please see
https://pastebin.com/ruz43yTu

 The header file that is missing is not included in the file list of the
packages you linked.

 Thank you for your patience




On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller  wrote:

> Hi Robert,
>
> I’m pretty sure you have a corrupt qwt installation on your machine (which
> is also 90% the issues users have with gr-inspector).
> The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
> build, but from the debian package 'libqwt5-qt4‘.
> If you just use a symbolic link and trick cmake into finding this file,
> things might go wrong down the road since this is a qwt 5 library! I would
> avoid using symlinks for this purpose at all. See my other comments below.
>
> Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
> schrieb:
>
>
>  Thanks for getting back to me.  The packages I installed were:
>
>  - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
>  - qwt-6.1.0 (not the most recent, but what the page recommends), from
> source.  I'd previously tried installing the most recent from the repos
> (apt), but had the same error I mentioned above so uninstalled and
> installed this recommended version from source.
>- I installed this using these instructions: http://qwt.
> sourceforge.net/qwtinstall.html
>
> Please uninstall all qwt related packages and files from your machine. As
> mentioned above, there seems to be other (broken) qwt installations. This
> is not an easy task, so please take some time to clean everything up!
>
>
>
>  gr-inspector (cmake) had errors until I did these three things:
>   - apt install gnuradio-dev
>
> This is normal if you didn’t build GNU Radio from source.
>
>
>   - ln -s /usr/include/qwt /usr/include/qwtplot3d-qt4
>
> You are symlinking a qwt directory to a qwtplot3d directory. This does not
> make sense to me and will most likely cause problems. All the files you
> need should be in /usr/include/qwtplot3d-qt4 and be provided by
> ‚libqwtplot3d-qt4-dev‘ [1]. If they are not there, something is wrong with
> your system.
>
> If the files are there, please share the output of cmake without
> symlinking beforehand.
>
>
>   - ln -s /usr/lib/libqwt-qt4.so.5 /usr/lib/libqwt-qt4.so
>
> Same thing here libqwt-qt5.so.5 is most likely no file from qwt-6.1.0. The
> library that you need is in /usr/lib/libqwt.so and is provided by
> ‚libqwt-dev‘ [2]. If not, again, something is wrong with your system.
>
>   - I found that I had to do this: export CMAKE_MODULE_PATH=/home/rs/
> devel/gr-inspector/cmake/Modules; cmake ..
>
> This should also not be necessary. What is the error if you don’t do this?
>
>
>
> So, either I am doing something wrong by this point, or there are four
> extra steps (above) that are required to get gr-inspector working on my
> system (Ubuntu 17.10, gnuradio 3.7.10)
>
> Yes, from the points I mentioned above I don’t think you’re getting a
> successful build from here on.
>
>
>
>  I've cleaned and built again to show the output.  Here is the output of
> 'cmake ..': https://pastebin.com/c3hnmNDx
>
>  Here is the output of 'make -j4': https://pastebin.com/zHUAZGn3
>
>  I load the sample graph into gnuradio-companion, and get the error again:
>  https://pastebin.com/DFGAtmGz
>
>  As for the PLL error (while tuning the rtl-sdr), that's something I
> normally experience.  It's never been a show-stopper and I think it can be
> ignored in this case.  I am not tuning to 2.4MHz but am using a 2.4MS/s
> sample rate.
>
>  Thank you again
>
>
> [1] https://packages.ubuntu.com/artful/amd64/libqwtplot3d-qt4-dev/filelist
>
> [2] https://packages.ubuntu.com/artful/amd64/libqwt-dev/filelist
>
>
> Sebastian Müller
> gse...@gmail.com
> PGP ID DC2AA3EE
> 
>
>
>
>
> On Mon, Apr 9, 2018 at 12:40 PM, Sebastian Müller  wrot
> e:
>
>> Hi Robert,
>>
>> Am 9. April 2018 um 01:31:42, Robert Stanford (rstanford8...@gmail.com)
>> schrieb:
>>
>>
>>  I have cloned and installed gr-inspector using the instructions on the
>> webpage.  One change (addition) necessary to get gr-inspector to install on
>> my system (Ubuntu 17.10) was to run ln -s /usr/lib/libqwt-qt4.so.5
>> /usr/lib/libqwt-qt4.so ; otherwise cmake failed, unable to find
>> libqwt-qt4.so.
>>
>> Can you please provide a *complete* list of qwt packages you installed as
>> well as the version?  (For instance with `dpkg -s [package]`)
>>
>> Also, please provide the output of cmake when before and after the `ln
>> -s` command you mention.
>>
>> Lastly, I’d like to see the output of `make` after a 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-10 Thread Sebastian Müller
Hi Robert,

I’m pretty sure you have a corrupt qwt installation on your machine (which
is also 90% the issues users have with gr-inspector).
The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source build,
but from the debian package 'libqwt5-qt4‘.
If you just use a symbolic link and trick cmake into finding this file,
things might go wrong down the road since this is a qwt 5 library! I would
avoid using symlinks for this purpose at all. See my other comments below.

Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
schrieb:


 Thanks for getting back to me.  The packages I installed were:

 - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
 - qwt-6.1.0 (not the most recent, but what the page recommends), from
source.  I'd previously tried installing the most recent from the repos
(apt), but had the same error I mentioned above so uninstalled and
installed this recommended version from source.
   - I installed this using these instructions:
http://qwt.sourceforge.net/qwtinstall.html

Please uninstall all qwt related packages and files from your machine. As
mentioned above, there seems to be other (broken) qwt installations. This
is not an easy task, so please take some time to clean everything up!



 gr-inspector (cmake) had errors until I did these three things:
  - apt install gnuradio-dev

This is normal if you didn’t build GNU Radio from source.


  - ln -s /usr/include/qwt /usr/include/qwtplot3d-qt4

You are symlinking a qwt directory to a qwtplot3d directory. This does not
make sense to me and will most likely cause problems. All the files you
need should be in /usr/include/qwtplot3d-qt4 and be provided by
‚libqwtplot3d-qt4-dev‘ [1]. If they are not there, something is wrong with
your system.

If the files are there, please share the output of cmake without symlinking
beforehand.


  - ln -s /usr/lib/libqwt-qt4.so.5 /usr/lib/libqwt-qt4.so

Same thing here libqwt-qt5.so.5 is most likely no file from qwt-6.1.0. The
library that you need is in /usr/lib/libqwt.so and is provided by
‚libqwt-dev‘ [2]. If not, again, something is wrong with your system.

  - I found that I had to do this: export
CMAKE_MODULE_PATH=/home/rs/devel/gr-inspector/cmake/Modules; cmake ..

This should also not be necessary. What is the error if you don’t do this?



So, either I am doing something wrong by this point, or there are four
extra steps (above) that are required to get gr-inspector working on my
system (Ubuntu 17.10, gnuradio 3.7.10)

Yes, from the points I mentioned above I don’t think you’re getting a
successful build from here on.



 I've cleaned and built again to show the output.  Here is the output of
'cmake ..': https://pastebin.com/c3hnmNDx

 Here is the output of 'make -j4': https://pastebin.com/zHUAZGn3

 I load the sample graph into gnuradio-companion, and get the error again:
https://pastebin.com/DFGAtmGz

 As for the PLL error (while tuning the rtl-sdr), that's something I
normally experience.  It's never been a show-stopper and I think it can be
ignored in this case.  I am not tuning to 2.4MHz but am using a 2.4MS/s
sample rate.

 Thank you again


[1] https://packages.ubuntu.com/artful/amd64/libqwtplot3d-qt4-dev/filelist

[2] https://packages.ubuntu.com/artful/amd64/libqwt-dev/filelist


Sebastian Müller
gse...@gmail.com
PGP ID DC2AA3EE





On Mon, Apr 9, 2018 at 12:40 PM, Sebastian Müller  wrote:

> Hi Robert,
>
> Am 9. April 2018 um 01:31:42, Robert Stanford (rstanford8...@gmail.com)
> schrieb:
>
>
>  I have cloned and installed gr-inspector using the instructions on the
> webpage.  One change (addition) necessary to get gr-inspector to install on
> my system (Ubuntu 17.10) was to run ln -s /usr/lib/libqwt-qt4.so.5
> /usr/lib/libqwt-qt4.so ; otherwise cmake failed, unable to find
> libqwt-qt4.so.
>
> Can you please provide a *complete* list of qwt packages you installed as
> well as the version?  (For instance with `dpkg -s [package]`)
>
> Also, please provide the output of cmake when before and after the `ln -s`
> command you mention.
>
> Lastly, I’d like to see the output of `make` after a successful cmake run.
> You can use pastebin or something similar since this all is a lot of output.
>
>  I have started gnuradio companion and loaded an example from gr-inspector
> (live_signal_detection.grc).  I adjust the sample rate, since I am using an
> RTL-SDR (adjust to 2.4e6).  The graph comes up, and I press 'play' (execute
> the flow graph).  I get this error:
>
> Found Rafael Micro R820T tuner
> [R82XX] PLL not locked!
> [R82XX] PLL not locked!
>
> I’m not aware of any RTL SDRs that can be tuned to 2.4 MHz (correct me if
> I’m wrong). That’s probably why you get the PLL error here.
>
>
> Traceback (most recent call last):
>   File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py",
> line 142, in 
> main()
>   File 

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-09 Thread Robert Stanford
 Thanks for getting back to me.  The packages I installed were:

 - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
 - qwt-6.1.0 (not the most recent, but what the page recommends), from
source.  I'd previously tried installing the most recent from the repos
(apt), but had the same error I mentioned above so uninstalled and
installed this recommended version from source.
   - I installed this using these instructions:
http://qwt.sourceforge.net/qwtinstall.html

 gr-inspector (cmake) had errors until I did these three things:
  - apt install gnuradio-dev
  - ln -s /usr/include/qwt /usr/include/qwtplot3d-qt4
  - ln -s /usr/lib/libqwt-qt4.so.5 /usr/lib/libqwt-qt4.so
  - I found that I had to do this: export
CMAKE_MODULE_PATH=/home/rs/devel/gr-inspector/cmake/Modules; cmake ..

So, either I am doing something wrong by this point, or there are four
extra steps (above) that are required to get gr-inspector working on my
system (Ubuntu 17.10, gnuradio 3.7.10)

 I've cleaned and built again to show the output.  Here is the output of
'cmake ..': https://pastebin.com/c3hnmNDx

 Here is the output of 'make -j4': https://pastebin.com/zHUAZGn3

 I load the sample graph into gnuradio-companion, and get the error again:
https://pastebin.com/DFGAtmGz

 As for the PLL error (while tuning the rtl-sdr), that's something I
normally experience.  It's never been a show-stopper and I think it can be
ignored in this case.  I am not tuning to 2.4MHz but am using a 2.4MS/s
sample rate.

 Thank you again


On Mon, Apr 9, 2018 at 12:40 PM, Sebastian Müller  wrote:

> Hi Robert,
>
> Am 9. April 2018 um 01:31:42, Robert Stanford (rstanford8...@gmail.com)
> schrieb:
>
>
>  I have cloned and installed gr-inspector using the instructions on the
> webpage.  One change (addition) necessary to get gr-inspector to install on
> my system (Ubuntu 17.10) was to run ln -s /usr/lib/libqwt-qt4.so.5
> /usr/lib/libqwt-qt4.so ; otherwise cmake failed, unable to find
> libqwt-qt4.so.
>
> Can you please provide a *complete* list of qwt packages you installed as
> well as the version?  (For instance with `dpkg -s [package]`)
>
> Also, please provide the output of cmake when before and after the `ln -s`
> command you mention.
>
> Lastly, I’d like to see the output of `make` after a successful cmake run.
> You can use pastebin or something similar since this all is a lot of output.
>
>  I have started gnuradio companion and loaded an example from gr-inspector
> (live_signal_detection.grc).  I adjust the sample rate, since I am using an
> RTL-SDR (adjust to 2.4e6).  The graph comes up, and I press 'play' (execute
> the flow graph).  I get this error:
>
> Found Rafael Micro R820T tuner
> [R82XX] PLL not locked!
> [R82XX] PLL not locked!
>
> I’m not aware of any RTL SDRs that can be tuned to 2.4 MHz (correct me if
> I’m wrong). That’s probably why you get the PLL error here.
>
>
> Traceback (most recent call last):
>   File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py",
> line 142, in 
> main()
>   File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py",
> line 130, in main
> tb = top_block_cls()
>   File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py",
> line 85, in __init__
> self.inspector_signal_detector_cvf_0 = 
> inspector.signal_detector_cvf(samp_rate,
> 4096, firdes.WIN_BLACKMAN_hARRIS,
> AttributeError: 'module' object has no attribute 'signal_detector_cvf'
>
> This just means gr-inspector was not installed correctly. To investigate,
> please provide the outputs I mentioned above.
>
>
>
>  GNUradio (3.7.10) executes other graphs fine (that is, non-gr-inspector
> graphs).  Why am I getting this error with gr-inspector?
>
>  Thank you
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
> Cheers,
>
> Sebastian Müller
> gse...@gmail.com
> PGP ID DC2AA3EE
> 
>
> ___
> 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


Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-09 Thread Sebastian Müller
Hi Robert,

Am 9. April 2018 um 01:31:42, Robert Stanford (rstanford8...@gmail.com)
schrieb:


 I have cloned and installed gr-inspector using the instructions on the
webpage.  One change (addition) necessary to get gr-inspector to install on
my system (Ubuntu 17.10) was to run ln -s /usr/lib/libqwt-qt4.so.5
/usr/lib/libqwt-qt4.so ; otherwise cmake failed, unable to find
libqwt-qt4.so.

Can you please provide a *complete* list of qwt packages you installed as
well as the version?  (For instance with `dpkg -s [package]`)

Also, please provide the output of cmake when before and after the `ln -s`
command you mention.

Lastly, I’d like to see the output of `make` after a successful cmake run.
You can use pastebin or something similar since this all is a lot of output.

 I have started gnuradio companion and loaded an example from gr-inspector
(live_signal_detection.grc).  I adjust the sample rate, since I am using an
RTL-SDR (adjust to 2.4e6).  The graph comes up, and I press 'play' (execute
the flow graph).  I get this error:

Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!

I’m not aware of any RTL SDRs that can be tuned to 2.4 MHz (correct me if
I’m wrong). That’s probably why you get the PLL error here.


Traceback (most recent call last):
  File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py",
line 142, in 
main()
  File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py",
line 130, in main
tb = top_block_cls()
  File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py",
line 85, in __init__
self.inspector_signal_detector_cvf_0 =
inspector.signal_detector_cvf(samp_rate, 4096, firdes.WIN_BLACKMAN_hARRIS,
AttributeError: 'module' object has no attribute 'signal_detector_cvf'

This just means gr-inspector was not installed correctly. To investigate,
please provide the outputs I mentioned above.



 GNUradio (3.7.10) executes other graphs fine (that is, non-gr-inspector
graphs).  Why am I getting this error with gr-inspector?

 Thank you
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



Cheers,

Sebastian Müller
gse...@gmail.com
PGP ID DC2AA3EE

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio