Re: [Discuss-gnuradio] PyBOMBS documentation recommendations

2019-11-19 Thread Barry Duggan
I have pushed my latest (final?) revision of the PyBOMBS README.md to 
https://github.com/duggabe/pybombs#pybombs


I will appreciate all comments, suggestions, and technical corrections 
from the community.


---
Barry Duggan KV4FV



Re: [Discuss-gnuradio] PyBOMBS documentation recommendations

2019-11-13 Thread Barry Duggan

Hi Marc,

I just created a pull request: 
https://github.com/gnuradio/pybombs/pull/558 . My version of README.md 
can be seen at https://github.com/duggabe/pybombs#pybombs


I will appreciate all comments, suggestions, and technical corrections 
from the community.


Thank you for your support in this effort.
---
Barry Duggan KV4FV


On 2019-11-11 12:47, Marc Lichtman wrote:
The way we would do that is for you to make a fork of PyBOMBS and to 
just
edit your fork with your draft.  That way it renders the same way it 
will
in the real version.  And you can edit it all day long without 
impacting

the actual code.





Re: [Discuss-gnuradio] PyBOMBS documentation recommendations

2019-11-10 Thread Barry Duggan

Hi Marc,

As I begin to dig into the PyBOMBS docs, I will have lots of questions.

-   Who best can answer those questions?

-   What media should we use for the questions: email, Slack #docs, 
Discuss-gnuradio?


-   How would I propose changes to the pybombs/README.md? With a pull 
request? If that is the case, it would make more sense to me to work on 
the InstallingGR#Using_PyBOMBS page first, and then get it into the 
pybombs/README.md.


Do you have other thoughts or suggestions as I get started?

Thanks,
---
Barry Duggan KV4FV


On 2019-11-07 22:50, Marc Lichtman wrote:
I 100% agree, and I also think the PyBOMBS' github page's README would 
be

the logical place to put it.

-Marc

On Thu, Nov 7, 2019 at 10:12 PM Barry Duggan  wrote:


Greetings,

I have found four URLs giving instructions on using PyBOMBS:

https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS
https://github.com/gnuradio/pybombs/README.md
https://github.com/gnuradio/gnuradio/README.md

https://www.gnuradio.org/blog/2016-06-19-pybombs-the-what-the-how-and-the-why/


In various comments in Discuss-gnuradio, I have concluded that most of
the PyBOMBS users who have failed were due to using old or incomplete
instructions. Also I think that most new users read the
InstallingGR#Using_PyBOMBS instructions only.

As an advocate of having a single place to document instructions, I
highly recommend picking one site for those instructions, and then
having links to that page from all others. From what I see, the
https://github.com/gnuradio/pybombs/README.md page seems to be the
logical choice since it is revised as PyBOMBS is revised.

If you choose to have the
https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS page
contain the current instructions as well, I can convert the
pybombs/README.md instructions to Mediawiki and put them in
InstallingGR#Using_PyBOMBS.

Once you have decided what you want done, I can take care of the 
edits,

if you would like.

Best regards,
--
Barry Duggan KV4FV





Re: [Discuss-gnuradio] PyBOMBS documentation recommendations

2019-11-08 Thread Barry Duggan

Hi Glen,

You're welcome. It's a much needed area.

I am including comments from Mike Piscopo via Slack #docs with his 
permission:


I had an issue a year or two ago where my pybombs install got messed 
up between python2 and python3.  I had to make sure it was removed with 
both pip and pip3, then installed specifically with pip3 to bind to 
python3.  Given that GR is moving away from python2, do we want to 
update the docs to specifically use pip3 and python3-pip?  Also it may 
be worth recommending anyone upgrading to pip remove pybombs and pip3 
install pybombs to make sure they're using the correct versions?  
Thoughts?



--
Barry Duggan KV4FV

On Fri, 8 Nov 2019 08:43:10 -0500 Glen Langston wrote:

Thanks for all your documentation efforts!



Re: [Discuss-gnuradio] PyBOMBS documentation recommendations

2019-11-08 Thread Glen Langston


Thanks for all your documentation efforts!

> On Nov 8, 2019, at 8:27 AM, Müller, Marcus (CEL)  wrote:
> 
> Hi Hans,
> 
> I like that idea, but revision dates are a central feature of what a
> Wiki like ours offers: you can click on "Versions" and see when the
> current version was last edited.
> 
> Sure, that might have just been a typo fix, but whether or not to
> update the "state of" written statement is still as subjective, so I'd
> argue: We've got an automatism for that that's just as good as the
> human hand, so save the time of the human hand :)


> What IS very helpful, especially in the context of installations, is
> stating the platforms and versions of these used: they are not part of
> what a Wiki can automatically track.

I very much agree that the documentation is much more helpful if it
includes a reference to the software revision number that is being
described, along with the OS environment being used.   

> Best regards,
> Marcus
> 
> On Fri, 2019-11-08 at 13:31 +0800, HansFong wrote:
>> Adding to this, please always add a revision date to any documentation, 
>> preferably at the top. It is so difficult to guess if documentation is 
>> current or not. Thank you --Hans (BX2ABT)
>> 
>> On 11/8/19 11:12 AM, Barry Duggan wrote:
>>> Greetings,
>>> 
>>> I have found four URLs giving instructions on using PyBOMBS:
>>> 
>>> https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS
>>> https://github.com/gnuradio/pybombs/README.md
>>> https://github.com/gnuradio/gnuradio/README.md
>>> https://www.gnuradio.org/blog/2016-06-19-pybombs-the-what-the-how-and-the-why/
>>>  
>>> 
>>> 
>>> 
>>> In various comments in Discuss-gnuradio, I have concluded that most of 
>>> the PyBOMBS users who have failed were due to using old or incomplete 
>>> instructions. Also I think that most new users read the 
>>> InstallingGR#Using_PyBOMBS instructions only.
>>> 
>>> As an advocate of having a single place to document instructions, I 
>>> highly recommend picking one site for those instructions, and then 
>>> having links to that page from all others. From what I see, the 
>>> https://github.com/gnuradio/pybombs/README.md page seems to be the 
>>> logical choice since it is revised as PyBOMBS is revised.
>>> 
>>> If you choose to have the 
>>> https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS page 
>>> contain the current instructions as well, I can convert the 
>>> pybombs/README.md instructions to Mediawiki and put them in 
>>> InstallingGR#Using_PyBOMBS.
>>> 
>>> Once you have decided what you want done, I can take care of the 
>>> edits, if you would like.
>>> 
>>> Best regards,




Re: [Discuss-gnuradio] PyBOMBS documentation recommendations

2019-11-08 Thread CEL
Hi Hans,

I like that idea, but revision dates are a central feature of what a
Wiki like ours offers: you can click on "Versions" and see when the
current version was last edited.

Sure, that might have just been a typo fix, but whether or not to
update the "state of" written statement is still as subjective, so I'd
argue: We've got an automatism for that that's just as good as the
human hand, so save the time of the human hand :)

What IS very helpful, especially in the context of installations, is
stating the platforms and versions of these used: they are not part of
what a Wiki can automatically track.

Best regards,
Marcus

On Fri, 2019-11-08 at 13:31 +0800, HansFong wrote:
> Adding to this, please always add a revision date to any documentation, 
> preferably at the top. It is so difficult to guess if documentation is 
> current or not. Thank you --Hans (BX2ABT)
> 
> On 11/8/19 11:12 AM, Barry Duggan wrote:
> > Greetings,
> > 
> > I have found four URLs giving instructions on using PyBOMBS:
> > 
> > https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS
> > https://github.com/gnuradio/pybombs/README.md
> > https://github.com/gnuradio/gnuradio/README.md
> > https://www.gnuradio.org/blog/2016-06-19-pybombs-the-what-the-how-and-the-why/
> >  
> > 
> > 
> > 
> > In various comments in Discuss-gnuradio, I have concluded that most of 
> > the PyBOMBS users who have failed were due to using old or incomplete 
> > instructions. Also I think that most new users read the 
> > InstallingGR#Using_PyBOMBS instructions only.
> > 
> > As an advocate of having a single place to document instructions, I 
> > highly recommend picking one site for those instructions, and then 
> > having links to that page from all others. From what I see, the 
> > https://github.com/gnuradio/pybombs/README.md page seems to be the 
> > logical choice since it is revised as PyBOMBS is revised.
> > 
> > If you choose to have the 
> > https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS page 
> > contain the current instructions as well, I can convert the 
> > pybombs/README.md instructions to Mediawiki and put them in 
> > InstallingGR#Using_PyBOMBS.
> > 
> > Once you have decided what you want done, I can take care of the 
> > edits, if you would like.
> > 
> > Best regards,


smime.p7s
Description: S/MIME cryptographic signature


Re: [Discuss-gnuradio] PyBOMBS documentation recommendations

2019-11-07 Thread HansFong
Adding to this, please always add a revision date to any documentation, 
preferably at the top. It is so difficult to guess if documentation is 
current or not. Thank you --Hans (BX2ABT)


On 11/8/19 11:12 AM, Barry Duggan wrote:

Greetings,

I have found four URLs giving instructions on using PyBOMBS:

https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS
https://github.com/gnuradio/pybombs/README.md
https://github.com/gnuradio/gnuradio/README.md
https://www.gnuradio.org/blog/2016-06-19-pybombs-the-what-the-how-and-the-why/ 




In various comments in Discuss-gnuradio, I have concluded that most of 
the PyBOMBS users who have failed were due to using old or incomplete 
instructions. Also I think that most new users read the 
InstallingGR#Using_PyBOMBS instructions only.


As an advocate of having a single place to document instructions, I 
highly recommend picking one site for those instructions, and then 
having links to that page from all others. From what I see, the 
https://github.com/gnuradio/pybombs/README.md page seems to be the 
logical choice since it is revised as PyBOMBS is revised.


If you choose to have the 
https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS page 
contain the current instructions as well, I can convert the 
pybombs/README.md instructions to Mediawiki and put them in 
InstallingGR#Using_PyBOMBS.


Once you have decided what you want done, I can take care of the 
edits, if you would like.


Best regards,




[Discuss-gnuradio] PyBOMBS documentation recommendations

2019-11-07 Thread Barry Duggan

Greetings,

I have found four URLs giving instructions on using PyBOMBS:

https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS
https://github.com/gnuradio/pybombs/README.md
https://github.com/gnuradio/gnuradio/README.md
https://www.gnuradio.org/blog/2016-06-19-pybombs-the-what-the-how-and-the-why/


In various comments in Discuss-gnuradio, I have concluded that most of 
the PyBOMBS users who have failed were due to using old or incomplete 
instructions. Also I think that most new users read the 
InstallingGR#Using_PyBOMBS instructions only.


As an advocate of having a single place to document instructions, I 
highly recommend picking one site for those instructions, and then 
having links to that page from all others. From what I see, the 
https://github.com/gnuradio/pybombs/README.md page seems to be the 
logical choice since it is revised as PyBOMBS is revised.


If you choose to have the 
https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS page 
contain the current instructions as well, I can convert the 
pybombs/README.md instructions to Mediawiki and put them in 
InstallingGR#Using_PyBOMBS.


Once you have decided what you want done, I can take care of the edits, 
if you would like.


Best regards,
--
Barry Duggan KV4FV



Re: [Discuss-gnuradio] Pybombs broken?

2019-11-02 Thread Barry Duggan

Hi Mike,

Just FYI, I tried the following:

install GR with PyBOMBS on Raspbian Buster (a Debian derivative):
using https://github.com/gnuradio/pybombs Quickstart

sudo pip install --upgrade git+https://github.com/gnuradio/pybombs.git
  Version 2.3.4a0
pybombs auto-config
pybombs recipes add-defaults
pybombs prefix init ~/prefix -a myprefix -R gnuradio-default
Install tree:
|
\- gnuradio
   |
   +- uhd
   |
   +- qt5
   |
   +- zeromq
   |
   \- qwt6
  |
  \- qt5
[INFO] Phase 1 complete: All binary dependencies installed.
[INFO] Phase 2: Recursively installing source packages to prefix:
[INFO] Installing package: qt5
[WARNING] Cannot find a source URI for package qt5
[ERROR] Error installing package qt5. Aborting.


Is there anything you would like for me to try?

Cheers,
---
Barry Duggan KV4FV


On 2019-11-01 18:38, Michael Kacher wrote:

Barry,
Don't wait for me, I am continuing to use the final release of 3.7 for 
my
current projects. I don't have a firm timeline for kicking off a 3.8 
based

project.
Mike

On Fri, Nov 1, 2019 at 12:18 PM Barry Duggan  wrote:


Hi Mike,

I am working on documentation for
https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS, and 
have

found differences between that one,
https://github.com/gnuradio/gnuradio/README.md, and
https://github.com/gnuradio/pybombs/README.md. Based on your last post
here, should I wait on any revisions until you have looked at 3.8 some
more?

Thanks,
--
Barry Duggan KV4FV

On Thu, 17 Oct 2019 15:52:59 -0400, Michael Kacher wrote

Sorry, I haven't had a chance to shake out 3.8 with pybombs yet. I'll
provide an update if I get to look into it.
-Mike





Re: [Discuss-gnuradio] Pybombs broken?

2019-11-01 Thread Barry Duggan

Hi Mike,

I am working on documentation for 
https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS, and have 
found differences between that one, 
https://github.com/gnuradio/gnuradio/README.md, and 
https://github.com/gnuradio/pybombs/README.md. Based on your last post 
here, should I wait on any revisions until you have looked at 3.8 some 
more?


Thanks,
--
Barry Duggan KV4FV

On Thu, 17 Oct 2019 15:52:59 -0400, Michael Kacher wrote

Sorry, I haven't had a chance to shake out 3.8 with pybombs yet. I'll 
provide an update if I get to look into it.

-Mike



Re: [Discuss-gnuradio] Pybombs broken?

2019-10-17 Thread Michael Kacher
Sorry, I haven't had a chance to shake out 3.8 with pybombs yet. I'll
provide an update if I get to look into it.
-Mike

On Thu, Oct 17, 2019 at 3:05 PM Richard Bell 
wrote:

> I should have added that when I try and mimic the way that worked for
> gnuradio37 that you gave above, replacing it with the gnuradio38 recipe, I
> get the following error:
>
> rbell@rbell:~$ pybombs install gnuradio38
> [INFO] Prefix Python version is: 2.7.15
> [INFO] PyBOMBS Version 2.3.4a0
> [INFO] Phase 1: Creating install tree and installing binary packages:
> Install tree:
> |
> \- gnuradio38
> [INFO] Phase 1 complete: All binary dependencies installed.
> [INFO] Phase 2: Recursively installing source packages to prefix:
> [INFO] Installing package: gnuradio38
> fatal: No such remote or remote group: gnuradio38
> [ERROR] Unexpected error while fetching git+
> https://github.com/gnuradio/gnuradio.git.
> [ERROR] Command '['git', 'remote', 'update', 'gnuradio38']' returned
> non-zero exit status 1
> [ERROR] Problem occurred while building package gnuradio38:
> Unable to fetch recipe gnuradio38
> [ERROR] Error installing package gnuradio38. Aborting.
>
> On Thu, Oct 17, 2019 at 11:26 AM Richard Bell 
> wrote:
>
>> Michael,
>>
>> I can confirm this worked for me without any issues. Now if I want to
>> install the latest version of gnuradio next to this one in a new prefix, do
>> you know what set of commands would work?
>>
>> On Wed, Oct 16, 2019 at 11:45 AM Michael Kacher 
>> wrote:
>>
>>> Hi Richard,
>>> The following steps have been successful in building v3.7.13.5 in my
>>> 18.04 docker. Give this a shot.
>>>
>>> -Mike
>>>
>>> $ pip install pybombs
>>> $ pybombs auto-config
>>> $ pybombs recipes add-defaults
>>> $ pybombs config --package gnuradio gitrev v3.7.13.5
>>> $ pybombs config --package uhd gitrev v3.14.1.0
>>> $ pybombs prefix init -a {MyAlias} {MyPrefixPath}
>>> $ pybombs config --package uhd forcebuild true
>>> $ pybombs install gnuradio37
>>>
>>> On Wed, Oct 16, 2019 at 2:22 PM Chris Kuethe 
>>> wrote:
>>>
 On the upside, this is fantastic opportunity to figure out a
 framework/process for the 3.8-3.9 upgrade.

 On Wed, Oct 16, 2019, 11:18 Martin Braun 
 wrote:

> Hey Richard,
>
> PyBOMBS is having a hard time dealing with 3.7 vs. 3.8. Use the
> PyBOMBS master branch for any hope of it working.
>
> -- M
>
> On Tue, Oct 15, 2019 at 5:00 PM Richard Bell 
> wrote:
>
>> Hello,
>>
>> I'm using pybombs to install gnuradio 3.7.13.5 onto ubuntu 18.04.
>> Pybombs seems to be unable to install dependencies anymore. Each time I 
>> run
>>
>> pybombs prefix init ~/Documents/gnuradio/gr37 -a gr37 -R
>> gnuradio-default
>>
>> it goes for a while until it finds software that is missing and
>> errors out. I then manually install the software and rerun the above
>> command. I've had to do this for several dependencies now, including:
>>
>> mako, cppunit, pyqt4, cheetah, thrift, numpy and more.
>>
>> Did something change recently that broke pybombs? About a year ago I
>> was using it without much problem, it installed everything for me.
>>
>> v/r,
>>
>> Rich
>> ___
>> 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


Re: [Discuss-gnuradio] Pybombs broken?

2019-10-17 Thread Richard Bell
I should have added that when I try and mimic the way that worked for
gnuradio37 that you gave above, replacing it with the gnuradio38 recipe, I
get the following error:

rbell@rbell:~$ pybombs install gnuradio38
[INFO] Prefix Python version is: 2.7.15
[INFO] PyBOMBS Version 2.3.4a0
[INFO] Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gnuradio38
[INFO] Phase 1 complete: All binary dependencies installed.
[INFO] Phase 2: Recursively installing source packages to prefix:
[INFO] Installing package: gnuradio38
fatal: No such remote or remote group: gnuradio38
[ERROR] Unexpected error while fetching git+
https://github.com/gnuradio/gnuradio.git.
[ERROR] Command '['git', 'remote', 'update', 'gnuradio38']' returned
non-zero exit status 1
[ERROR] Problem occurred while building package gnuradio38:
Unable to fetch recipe gnuradio38
[ERROR] Error installing package gnuradio38. Aborting.

On Thu, Oct 17, 2019 at 11:26 AM Richard Bell 
wrote:

> Michael,
>
> I can confirm this worked for me without any issues. Now if I want to
> install the latest version of gnuradio next to this one in a new prefix, do
> you know what set of commands would work?
>
> On Wed, Oct 16, 2019 at 11:45 AM Michael Kacher  wrote:
>
>> Hi Richard,
>> The following steps have been successful in building v3.7.13.5 in my
>> 18.04 docker. Give this a shot.
>>
>> -Mike
>>
>> $ pip install pybombs
>> $ pybombs auto-config
>> $ pybombs recipes add-defaults
>> $ pybombs config --package gnuradio gitrev v3.7.13.5
>> $ pybombs config --package uhd gitrev v3.14.1.0
>> $ pybombs prefix init -a {MyAlias} {MyPrefixPath}
>> $ pybombs config --package uhd forcebuild true
>> $ pybombs install gnuradio37
>>
>> On Wed, Oct 16, 2019 at 2:22 PM Chris Kuethe 
>> wrote:
>>
>>> On the upside, this is fantastic opportunity to figure out a
>>> framework/process for the 3.8-3.9 upgrade.
>>>
>>> On Wed, Oct 16, 2019, 11:18 Martin Braun  wrote:
>>>
 Hey Richard,

 PyBOMBS is having a hard time dealing with 3.7 vs. 3.8. Use the PyBOMBS
 master branch for any hope of it working.

 -- M

 On Tue, Oct 15, 2019 at 5:00 PM Richard Bell 
 wrote:

> Hello,
>
> I'm using pybombs to install gnuradio 3.7.13.5 onto ubuntu 18.04.
> Pybombs seems to be unable to install dependencies anymore. Each time I 
> run
>
> pybombs prefix init ~/Documents/gnuradio/gr37 -a gr37 -R
> gnuradio-default
>
> it goes for a while until it finds software that is missing and errors
> out. I then manually install the software and rerun the above command. 
> I've
> had to do this for several dependencies now, including:
>
> mako, cppunit, pyqt4, cheetah, thrift, numpy and more.
>
> Did something change recently that broke pybombs? About a year ago I
> was using it without much problem, it installed everything for me.
>
> v/r,
>
> Rich
> ___
> 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


Re: [Discuss-gnuradio] Pybombs broken?

2019-10-17 Thread Richard Bell
Michael,

I can confirm this worked for me without any issues. Now if I want to
install the latest version of gnuradio next to this one in a new prefix, do
you know what set of commands would work?

On Wed, Oct 16, 2019 at 11:45 AM Michael Kacher  wrote:

> Hi Richard,
> The following steps have been successful in building v3.7.13.5 in my 18.04
> docker. Give this a shot.
>
> -Mike
>
> $ pip install pybombs
> $ pybombs auto-config
> $ pybombs recipes add-defaults
> $ pybombs config --package gnuradio gitrev v3.7.13.5
> $ pybombs config --package uhd gitrev v3.14.1.0
> $ pybombs prefix init -a {MyAlias} {MyPrefixPath}
> $ pybombs config --package uhd forcebuild true
> $ pybombs install gnuradio37
>
> On Wed, Oct 16, 2019 at 2:22 PM Chris Kuethe 
> wrote:
>
>> On the upside, this is fantastic opportunity to figure out a
>> framework/process for the 3.8-3.9 upgrade.
>>
>> On Wed, Oct 16, 2019, 11:18 Martin Braun  wrote:
>>
>>> Hey Richard,
>>>
>>> PyBOMBS is having a hard time dealing with 3.7 vs. 3.8. Use the PyBOMBS
>>> master branch for any hope of it working.
>>>
>>> -- M
>>>
>>> On Tue, Oct 15, 2019 at 5:00 PM Richard Bell 
>>> wrote:
>>>
 Hello,

 I'm using pybombs to install gnuradio 3.7.13.5 onto ubuntu 18.04.
 Pybombs seems to be unable to install dependencies anymore. Each time I run

 pybombs prefix init ~/Documents/gnuradio/gr37 -a gr37 -R
 gnuradio-default

 it goes for a while until it finds software that is missing and errors
 out. I then manually install the software and rerun the above command. I've
 had to do this for several dependencies now, including:

 mako, cppunit, pyqt4, cheetah, thrift, numpy and more.

 Did something change recently that broke pybombs? About a year ago I
 was using it without much problem, it installed everything for me.

 v/r,

 Rich
 ___
 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


Re: [Discuss-gnuradio] Pybombs broken?

2019-10-16 Thread Michael Kacher
Hi Richard,
The following steps have been successful in building v3.7.13.5 in my 18.04
docker. Give this a shot.

-Mike

$ pip install pybombs
$ pybombs auto-config
$ pybombs recipes add-defaults
$ pybombs config --package gnuradio gitrev v3.7.13.5
$ pybombs config --package uhd gitrev v3.14.1.0
$ pybombs prefix init -a {MyAlias} {MyPrefixPath}
$ pybombs config --package uhd forcebuild true
$ pybombs install gnuradio37

On Wed, Oct 16, 2019 at 2:22 PM Chris Kuethe  wrote:

> On the upside, this is fantastic opportunity to figure out a
> framework/process for the 3.8-3.9 upgrade.
>
> On Wed, Oct 16, 2019, 11:18 Martin Braun  wrote:
>
>> Hey Richard,
>>
>> PyBOMBS is having a hard time dealing with 3.7 vs. 3.8. Use the PyBOMBS
>> master branch for any hope of it working.
>>
>> -- M
>>
>> On Tue, Oct 15, 2019 at 5:00 PM Richard Bell 
>> wrote:
>>
>>> Hello,
>>>
>>> I'm using pybombs to install gnuradio 3.7.13.5 onto ubuntu 18.04.
>>> Pybombs seems to be unable to install dependencies anymore. Each time I run
>>>
>>> pybombs prefix init ~/Documents/gnuradio/gr37 -a gr37 -R gnuradio-default
>>>
>>> it goes for a while until it finds software that is missing and errors
>>> out. I then manually install the software and rerun the above command. I've
>>> had to do this for several dependencies now, including:
>>>
>>> mako, cppunit, pyqt4, cheetah, thrift, numpy and more.
>>>
>>> Did something change recently that broke pybombs? About a year ago I was
>>> using it without much problem, it installed everything for me.
>>>
>>> v/r,
>>>
>>> Rich
>>> ___
>>> 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


Re: [Discuss-gnuradio] Pybombs broken?

2019-10-16 Thread Chris Kuethe
On the upside, this is fantastic opportunity to figure out a
framework/process for the 3.8-3.9 upgrade.

On Wed, Oct 16, 2019, 11:18 Martin Braun  wrote:

> Hey Richard,
>
> PyBOMBS is having a hard time dealing with 3.7 vs. 3.8. Use the PyBOMBS
> master branch for any hope of it working.
>
> -- M
>
> On Tue, Oct 15, 2019 at 5:00 PM Richard Bell 
> wrote:
>
>> Hello,
>>
>> I'm using pybombs to install gnuradio 3.7.13.5 onto ubuntu 18.04. Pybombs
>> seems to be unable to install dependencies anymore. Each time I run
>>
>> pybombs prefix init ~/Documents/gnuradio/gr37 -a gr37 -R gnuradio-default
>>
>> it goes for a while until it finds software that is missing and errors
>> out. I then manually install the software and rerun the above command. I've
>> had to do this for several dependencies now, including:
>>
>> mako, cppunit, pyqt4, cheetah, thrift, numpy and more.
>>
>> Did something change recently that broke pybombs? About a year ago I was
>> using it without much problem, it installed everything for me.
>>
>> v/r,
>>
>> Rich
>> ___
>> 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


Re: [Discuss-gnuradio] Pybombs broken?

2019-10-16 Thread Martin Braun
Hey Richard,

PyBOMBS is having a hard time dealing with 3.7 vs. 3.8. Use the PyBOMBS
master branch for any hope of it working.

-- M

On Tue, Oct 15, 2019 at 5:00 PM Richard Bell 
wrote:

> Hello,
>
> I'm using pybombs to install gnuradio 3.7.13.5 onto ubuntu 18.04. Pybombs
> seems to be unable to install dependencies anymore. Each time I run
>
> pybombs prefix init ~/Documents/gnuradio/gr37 -a gr37 -R gnuradio-default
>
> it goes for a while until it finds software that is missing and errors
> out. I then manually install the software and rerun the above command. I've
> had to do this for several dependencies now, including:
>
> mako, cppunit, pyqt4, cheetah, thrift, numpy and more.
>
> Did something change recently that broke pybombs? About a year ago I was
> using it without much problem, it installed everything for me.
>
> v/r,
>
> Rich
> ___
> 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] Pybombs broken?

2019-10-15 Thread Richard Bell
Hello,

I'm using pybombs to install gnuradio 3.7.13.5 onto ubuntu 18.04. Pybombs
seems to be unable to install dependencies anymore. Each time I run

pybombs prefix init ~/Documents/gnuradio/gr37 -a gr37 -R gnuradio-default

it goes for a while until it finds software that is missing and errors out.
I then manually install the software and rerun the above command. I've had
to do this for several dependencies now, including:

mako, cppunit, pyqt4, cheetah, thrift, numpy and more.

Did something change recently that broke pybombs? About a year ago I was
using it without much problem, it installed everything for me.

v/r,

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


Re: [Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread Marcus D Leech
Because your PYTHONPATH and other environment variables aren’t inherited by a 
sudo shell by default. 

Use the -E option to sudo. 



Sent from my iPhone

> On Jul 22, 2019, at 11:54 AM, Müller, Marcus (CEL)  wrote:
> 
> Your sudo call resets the environment, and that includes things like
> PYTHONPATH, PATH and LD_LIBRARY_PATH.
> 
> You need to add the right options to sudo.
> 
> I'll carefully point out that the code in tuntap_pdu isn't really safe
> by any means. You generally should probably avoid running GNU Radio as
> root.
> 
> The easiest whilst-still-safe way forward:
> 
> just run `sudo ip tuntap add grtunnel mode tun user  sumit` (assuming
> sumit is your unprivileged user) and then, run your program as normal
> user.
> 
> Sadly, haven't tested that.
> 
> Best regards,
> Marcus
> 
>> On Mon, 2019-07-22 at 16:55 +0200, sumit kumar wrote:
>> Hi, 
>> When I try to run any gnuradio program with sudo (inside pybombs 
>> environment), it simply throws the error 
>> 
>> ImportError: No module named gnuradio
>> 
>> For example when I try to run tunnel based programs, which need ioctl calls 
>> and hence sudo or root. 
>> 
>> Without sudo it says operation not permitted and with sudo it says 
>> ImportError: No module named gnuradio
>> 
>> Solution ? :-/ 
>> 
>> 
>> 
>> 
>> ___
>> 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


Re: [Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread CEL
Your sudo call resets the environment, and that includes things like
PYTHONPATH, PATH and LD_LIBRARY_PATH.

You need to add the right options to sudo.

I'll carefully point out that the code in tuntap_pdu isn't really safe
by any means. You generally should probably avoid running GNU Radio as
root.

The easiest whilst-still-safe way forward:

just run `sudo ip tuntap add grtunnel mode tun user  sumit` (assuming
sumit is your unprivileged user) and then, run your program as normal
user.

Sadly, haven't tested that.

Best regards,
Marcus

On Mon, 2019-07-22 at 16:55 +0200, sumit kumar wrote:
> Hi, 
> When I try to run any gnuradio program with sudo (inside pybombs 
> environment), it simply throws the error 
> 
> ImportError: No module named gnuradio
> 
> For example when I try to run tunnel based programs, which need ioctl calls 
> and hence sudo or root. 
> 
> Without sudo it says operation not permitted and with sudo it says 
> ImportError: No module named gnuradio
> 
> Solution ? :-/ 
> 
> 
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


smime.p7s
Description: S/MIME cryptographic signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread sumit kumar
Hi,
When I try to run any gnuradio program with sudo (inside pybombs
environment), it simply throws the error

*ImportError: No module named gnuradio*

For example when I try to run tunnel based programs, which need ioctl calls
and hence sudo or root.

Without sudo it says operation not permitted and with sudo it says
ImportError: No module named gnuradio

Solution ? :-/




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


[Discuss-gnuradio] PyBOMBS install GRC and UND errors on Ubuntu 18.04

2018-10-02 Thread John_w_g
I have installed GRC and UHD via PyBOMBS on Ubuntu 18.04.  I am working with a 
Ettus x310.  I cab successfully run uhd_usrp_probe launch GRC that finds the 
SDR correctly.  I wrote a simple GRC program that creates a tone, sends it to 
the transmitter ad then through a loopback to the receiver for display in the 
Qt display as an initial functional test.  When I launch GRC via

PyBOMBs run gnuradio-companion

I get the attached warnings and errors output in the console.

The system displays on the frequency plot only a small -100 dBm tone at 0-Hz no 
matter
what RX and Tx gain settings I use.  I assume this is LO leakage.  GRC 
continually outputs 'Gt" error codes in the console. When I attempt to end GRC 
it will hang and I have to force it to close.  I have attached the console 
output when I launch GRC

Any input on what I need to modify/change to get this working properly would be 
greatly appreciated.

John Garnham

Sent with [ProtonMail](https://protonmail.com) Secure Email.

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


[Discuss-gnuradio] Pybombs error due to "incorrect" pygtk version

2018-09-26 Thread Hoe-Phuan Ng
Hi All:

OS : Linux Mint 18.3, 64 bits.

A similar problem is here:
https://lists.gnu.org/archive/html/discuss-gnuradio/2017-01/msg00212.html

But there is no solution, yet.

Here are steps I used to install gnuradio using pybombs in Anaconda
environment
using guidance from
https://www.gnuradio.org/blog/pybombs-the-what-the-how-and-the-why and
https://github.com/gnuradio/pybombs/ :

# I am using python 2.7 since gnuradio is not available for python 3.

# create virtual env with packages pip, python27, ...
conda create -n gradiopy27 pip python=2.7

# To activate this environment, use
conda activate gradiopy27

#Now I am in gradiopy27 environment from hereon.
(gradiopy27) $ pip install --upgrade pip

(gradiopy27) $ pip install pybombs
# https://www.gnuradio.org/blog/pybombs-the-what-the-how-and-the-why


(gradiopy27) $ pybombs auto-config
(gradiopy27) $ pybombs recipes add-defaults

(gradiopy27) $ pybombs recipes add gr-recipes git+
https://github.com/gnuradio/gr-recipes.git

(gradiopy27) $ mkdir gr37prefix

#do these imports first to avoid failed import commands in pybombs
# See mako import error here:
https://github.com/gnuradio/pybombs/issues/341
(gradiopy27) $ conda install numpy
(gradiopy27) $ conda install mako
(gradiopy27) $ conda install cheetah
(gradiopy27) $ conda install -c ska pygtk  # But this does not work?
Explained below

# pybombs command below gave errror "-- Python checking for pygtk >= 2.10.0
- not found"
pybombs prefix init -a default gr37prefix/default/ -R gnuradio-default
#=
#Here is why:  pybombs looks for -- Python checking for pygtk >= 2.10.0 -
not found
# I now check for what is imported by Python 2
(gradiopy27) ~ $ python
Python 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 23:32:55)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk as pygtk

*# Here is a possible source of the problem*
>>> pygtk._get_available_versions()
{'2.0':
'/home/ml/anaconda3/envs/gradiopy27/lib/python2.7/site-packages/gtk-2.0'}

# However, I double check anaconda's installed pygtk like so:
(gradiopy27) ~ $ conda search -c ska pygtk
Loading channels: done
# Name  Version   Build  Channel
pygtk*2.16.0*   0  ska
pygtk*2.16.0*   1  ska
(gradiopy27) ~ $ conda install -c ska pygtk=2.16  # forcing version
Solving environment: done
# All requested packages already installed.

# I still get same errors when running pybombs like so:
#  pybombs prefix init -a default gr37prefix/default/ -R gnuradio-default

# Here us location of pygtk for python 2
(gradiopy27) ~ $ locate pygtk | grep python2
/usr/lib/python2.7/dist-packages/pygtk.pth
/usr/lib/python2.7/dist-packages/pygtk.py
/usr/lib/python2.7/dist-packages/pygtk.pyc
... ...
/usr/lib/python2.7/dist-packages/pygtkcompat/pygtkcompat.pyc

# As a result, I get this pybomb install errors:
... ...
-- Configuring incomplete, errors occurred!
See also
"/home/ml/gr37prefix/default/src/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also
"/home/ml/gr37prefix/default/src/gnuradio/build/CMakeFiles/CMakeError.log".
PyBOMBS.Packager.source - ERROR - Configuration failed after running at
least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package
gnuradio:
Configuration failed
PyBOMBS.install_manager - ERROR - Error installing package gnuradio.
*Aborting*.
#==
Summary of problem:
Installed latest pygtk version is 2.16,
but imported version inside python interpreter is 2.0.
Pybombs needs 2.10 or higher.
How do I fix this problem?
Thank you in advance

*  Signature:*
Live Long And Prosper,
"Hoe-Phuan" Ng
(First name is "Hoe-Phuan")
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] PyBOMBS install issues

2018-09-25 Thread John_w_g
Dave,

Thankyou.   I partially resolved this by uninstalling UHD and GRC, and using 
the latest PyBOMBS to compile from source both UHD and GRC.  The good news is 
that after installing the correct FPGA image, GRC runs.  Unfortunately it is 
not operating correctly.  GRC is throuwing codes Gt, the simple generate a 
cosine tone, send it to the Ettus X310, then loop it back to the receiver for 
display seems to only show LO leakage at 0 Hz.  Additionally GRC will not 
properly end, and I must force an exit.

Attached is the console output (text file).  It looks like I have some files 
from the old install that are interfering with the new GRC install.  I'm not 
sure where to look to erase them if so.  Any other idea's what is the issue?

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On Sunday, September 23, 2018 6:35 PM, Dave NotTelling  
wrote:

> John,
>
>  The issue you are having is that the version of the firmware on your 
> radio does not match the version of the UHD libraries that you have on your 
> system.  You need to either update your radios (uhd_image_loader) or change 
> your version of UHD to match what the radio has.  The former is the better 
> choice in my opinion.
>
>  I think that you need to add `--init-only` to the uhd_usrp_probe command 
> to tell if the versions line up.  I seem to recall not getting the version 
> error without it.
>
>  For the instructions on how to compile UHD from source: 
> https://files.ettus.com/manual/page_build_guide.html
>
>  Also, for GNU Radio: https://wiki.gnuradio.org/index.php/UbuntuInstall
>
>  You likely don't need to install from source.  As far as I know gr-uhd 
> just makes use of the system UHD install.  Perhaps you have two different 
> locations that UHD is installed to?  You could double check that you don't 
> have libuhd.so in /usr/local/lib and /usr/lib at the same time.  I'd suggest 
> updating the radios to the current firmware with uhd_image_loader, power 
> cycling them, and then trying again.
>
> Good luck!
>
> -Dave
>
> On Thu, Sep 20, 2018 at 5:36 PM John_w_g  wrote:
>
>> I am using Ubuntu 18.04 and the only listed GRC version in the ppa is 
>> version 3.13.0.1
>>
>> I have an Ettus x310 and have downloaded the correct FPGA image and verified 
>> correct operation with uhd_usrp_probe.
>>
>> I have GRC 3.7.11 installed and when I attempt to access the x310, I get an 
>> incompatible FPGA version.
>>
>> First question is what is the correct GRC version to work with this UHD 
>> version?
>>
>> Second question as a relatively new Linux user, I really don't want to 
>> compile source code. If that is necessary, where should I look for a 
>> detailed description of the correct process.
>>
>> John G
>>
>> Sent from ProtonMail mobile
>>
>> ___
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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


Re: [Discuss-gnuradio] pyBOMBS log/error --> how to troubleshoot

2018-08-07 Thread Hans BX2ABT
Sorry for the late reply and thanks for the response. The problem with 
libfec was that it needed root privileges to get installed. I should 
have thought of using the -v flag, but at the time I didn't. When I did 
the problem was apparent immediately. Everything is running fine now and 
kudos to the people who did such a fine job on PyBOMBS and GNUradio: 
they did an incredibly good job.



73 de Hans

BX2ABT


On 08/06/2018 04:08 AM, Chris Kuethe wrote:
To expand on this a little, you can add some '-v' flags, eg. `pybombs 
-v -v -v install gr-satellites` to see what's going wrong when a 
pybombs operation fails.


In general, if you have problems with a recipe, please file a bug. I 
was going to say that it sounds like the gr-satellites recipe is 
missing a dependency on libfec, but it's there... 
https://github.com/gnuradio/gr-etcetera/blob/master/gr-satellites.lwr#L23 
. So I would be curious to know why the libfec installation failed.


On Sun, Aug 5, 2018 at 5:22 AM Hans BX2ABT > wrote:


To answer my own question: "pybombs install libfec" needed to be
run as
root. After that gr-satellites installed fine.


On 08/05/2018 02:36 PM, Hans BX2ABT wrote:
> Hello all,
>
> I am trying to install gr-satellites, which depends on libfec. Both
> are in gr-etcetera and links to the Github repositories seem fine.
>
> When invoking "pybombs install libfec" or "pybombs install
> gr-satellites" I get the following error message:
>
> PyBOMBS.Packager.source - ERROR - Problem occured while building
> package libfec: Installation failed
>
> PyBOMBS.install_manager - ERROR - Error installing package libfec.
> Aborting.
>
> Where do I go from here? I can't find any pyBOMBS log or error
file,
> neither any source for the packager.
>
> Thanks for the help. 73 de Hans
>
> BX2ABT
>
>
>
> ___
> 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



--
GDB has a 'break' feature; why doesn't it have 'fix' too?


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


Re: [Discuss-gnuradio] pyBOMBS log/error --> how to troubleshoot

2018-08-05 Thread Chris Kuethe
To expand on this a little, you can add some '-v' flags, eg. `pybombs -v -v
-v install gr-satellites` to see what's going wrong when a pybombs
operation fails.

In general, if you have problems with a recipe, please file a bug. I was
going to say that it sounds like the gr-satellites recipe is missing a
dependency on libfec, but it's there...
https://github.com/gnuradio/gr-etcetera/blob/master/gr-satellites.lwr#L23 .
So I would be curious to know why the libfec installation failed.

On Sun, Aug 5, 2018 at 5:22 AM Hans BX2ABT 
wrote:

> To answer my own question: "pybombs install libfec" needed to be run as
> root. After that gr-satellites installed fine.
>
>
> On 08/05/2018 02:36 PM, Hans BX2ABT wrote:
> > Hello all,
> >
> > I am trying to install gr-satellites, which depends on libfec. Both
> > are in gr-etcetera and links to the Github repositories seem fine.
> >
> > When invoking "pybombs install libfec" or "pybombs install
> > gr-satellites" I get the following error message:
> >
> > PyBOMBS.Packager.source - ERROR - Problem occured while building
> > package libfec: Installation failed
> >
> > PyBOMBS.install_manager - ERROR - Error installing package libfec.
> > Aborting.
> >
> > Where do I go from here? I can't find any pyBOMBS log or error file,
> > neither any source for the packager.
> >
> > Thanks for the help. 73 de Hans
> >
> > BX2ABT
> >
> >
> >
> > ___
> > 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
>


-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] pyBOMBS log/error --> how to troubleshoot

2018-08-05 Thread Hans BX2ABT
To answer my own question: "pybombs install libfec" needed to be run as 
root. After that gr-satellites installed fine.



On 08/05/2018 02:36 PM, Hans BX2ABT wrote:

Hello all,

I am trying to install gr-satellites, which depends on libfec. Both 
are in gr-etcetera and links to the Github repositories seem fine.


When invoking "pybombs install libfec" or "pybombs install 
gr-satellites" I get the following error message:


PyBOMBS.Packager.source - ERROR - Problem occured while building 
package libfec: Installation failed


PyBOMBS.install_manager - ERROR - Error installing package libfec. 
Aborting.


Where do I go from here? I can't find any pyBOMBS log or error file, 
neither any source for the packager.


Thanks for the help. 73 de Hans

BX2ABT



___
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] pyBOMBS log/error --> how to troubleshoot

2018-08-05 Thread Hans BX2ABT

Hello all,

I am trying to install gr-satellites, which depends on libfec. Both are 
in gr-etcetera and links to the Github repositories seem fine.


When invoking "pybombs install libfec" or "pybombs install 
gr-satellites" I get the following error message:


PyBOMBS.Packager.source - ERROR - Problem occured while building package 
libfec: Installation failed


PyBOMBS.install_manager - ERROR - Error installing package libfec. Aborting.

Where do I go from here? I can't find any pyBOMBS log or error file, 
neither any source for the packager.


Thanks for the help. 73 de Hans

BX2ABT



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


Re: [Discuss-gnuradio] Pybombs Install Error

2018-05-23 Thread Nicolas Cuervo
Hello Vikenesh,

could you run PyBOMBS with a higher verbosity level and send us the output?
You can do so by adding the `-vv` flag just after `pybombs`.

Cheers,
- Nicolas


On Wed, May 23, 2018 at 2:49 PM, Coundjidapadame Vikenesh <
vikenesh.coundjidapad...@gmail.com> wrote:

> Hi everybody,
>
> I am currently trying to install Gnuradio using Pybombs. Initially, I was
> working with a classical gnuradio from a pacman installation (I am working
> with Arch Linux). I uninstall this gnuradio using the pacman -Rsc command
> to uninstall all dependencies associate to gnuradio. Now, I tried to follow
> the Pybombs Installation: I have successfully installed pybombs with pip (pip
> install PyBOMBS) but when it comes to gnuradio installation using pybombs
> it crashes...
> I use the following command to install gnuradio with pybombs "pybombs
> prefix init ~/prefix -a myprefix -R gnuradio-default" where prefix is a
> folder in my /home folder.
> Here is the output of my pybombs installation:
>
> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
> packages to prefix:
> PyBOMBS.install_manager - INFO - Installing package: lxml
> Installing:  (100%) [=
> ]
> PyBOMBS.Packager.source - ERROR - Problem occurred while building package
> lxml:
> Installation failed
> PyBOMBS.install_manager - ERROR - Error installing package lxml. Aborting.
>
> I tried to uninstall lxml using pip to let pybombs reinstall it but it
> crashes each time with this error even if lxml is already installed or
> not...Normally, if a dependency is already installed, Pybombs just passes
> to the next step.
> I don't know if I have messed up with the installation/uninstallation of
> python which leads to this problem.
> Does anyone have already dealt with this issue ?
>
> Thanks for your answer
>
> Best regards
>
> Vikenesh COUNDJIDAPADAME
>
> ___
> 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] Pybombs Install Error

2018-05-23 Thread Coundjidapadame Vikenesh
Hi everybody,

I am currently trying to install Gnuradio using Pybombs. Initially, I was
working with a classical gnuradio from a pacman installation (I am working
with Arch Linux). I uninstall this gnuradio using the pacman -Rsc command
to uninstall all dependencies associate to gnuradio. Now, I tried to follow
the Pybombs Installation: I have successfully installed pybombs with pip (pip
install PyBOMBS) but when it comes to gnuradio installation using pybombs
it crashes...
I use the following command to install gnuradio with pybombs "pybombs
prefix init ~/prefix -a myprefix -R gnuradio-default" where prefix is a
folder in my /home folder.
Here is the output of my pybombs installation:

PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: lxml
Installing:  (100%)
[=]
PyBOMBS.Packager.source - ERROR - Problem occurred while building package
lxml:
Installation failed
PyBOMBS.install_manager - ERROR - Error installing package lxml. Aborting.

I tried to uninstall lxml using pip to let pybombs reinstall it but it
crashes each time with this error even if lxml is already installed or
not...Normally, if a dependency is already installed, Pybombs just passes
to the next step.
I don't know if I have messed up with the installation/uninstallation of
python which leads to this problem.
Does anyone have already dealt with this issue ?

Thanks for your answer

Best regards

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


Re: [Discuss-gnuradio] [PyBOMBS] TypeError: cannot use a string pattern on a bytes-like object

2018-05-02 Thread Martin Braun
Are you using Python 3?

-- M

On 02/12/2018 03:46 PM, Álvaro Cebrián Juan wrote:
> Hello everyone,
> 
> I was following these instructions
> 
> to install some dependencies using PyBOMBS, but when I add a list of
> default recipes wit|h the command:
> 
> $ pybombs recipes add-defaults |
> 
> I get the following error:
> 
> star@galaxy:~$ pybombs recipes add-defaults
> PyBOMBS - INFO - PyBOMBS Version 2.3.3a0
> Traceback (most recent call last):
>   File "/usr/local/bin/pybombs", line 11, in 
>     load_entry_point('PyBOMBS==2.3.3a0', 'console_scripts', 'pybombs')()
>   File "/usr/local/lib/python3.5/dist-packages/pybombs/main.py", line
> 32, in main
>     return dispatch() or 0
>   File
> "/usr/local/lib/python3.5/dist-packages/pybombs/commands/base.py", line
> 194, in dispatch
>     return get_cmd_dict(cmd_list)[args.command](cmd=args.command,
> args=args).run()
>   File
> "/usr/local/lib/python3.5/dist-packages/pybombs/commands/base.py", line
> 120, in run
>     return self.subcommands[self.args.sub_command]['run'](self)()
>   File
> "/usr/local/lib/python3.5/dist-packages/pybombs/commands/recipes.py",
> line 180, in run_add_defaults
>     if not self.add_recipe_dir(alias, uri):
>   File
> "/usr/local/lib/python3.5/dist-packages/pybombs/commands/recipes.py",
> line 347, in add_recipe_dir
>     Fetcher().fetch_url(uri, recipe_cache_top_level, alias, {}) # No args
>   File "/usr/local/lib/python3.5/dist-packages/pybombs/fetcher.py", line
> 73, in fetch_url
>     result = fetcher.fetch_url(url, dest, dirname, args)
>   File "/usr/local/lib/python3.5/dist-packages/pybombs/fetchers/git.py",
> line 81, in fetch_url
>     git_version = get_git_version()
>   File "/usr/local/lib/python3.5/dist-packages/pybombs/fetchers/git.py",
> line 56, in get_git_version
>     subprocess.check_output(['git', '--version'])
>   File "/usr/lib/python3.5/re.py", line 173, in search
>     return _compile(pattern, flags).search(string)
> TypeError: cannot use a string pattern on a bytes-like object
> 
> I would be grateful if somebody can shed some light on the cause of this
> error and on its possible solutions.
> 
> Best regards,
> 
> Álvaro
> 
> 
> ___
> 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] PyBOMBS - TypeError when checking git version

2018-03-25 Thread Piotr Swiatkiewicz
Tried to set up PyBOMBS with Python 3.6 and got the following error:

[pswiatki@sdr_mobile ~]$ pybombs recipes add-defaults
PyBOMBS - INFO - PyBOMBS Version 2.3.3a0
Traceback (most recent call last):
  File "/usr/bin/pybombs", line 11, in 
load_entry_point('PyBOMBS==2.3.3a0', 'console_scripts', 'pybombs')()
  File "/usr/lib/python3.6/site-packages/pybombs/main.py", line 32, in main
return dispatch() or 0
  File "/usr/lib/python3.6/site-packages/pybombs/commands/base.py", line
194, in dispatch
return get_cmd_dict(cmd_list)[args.command](cmd=args.command,
args=args).run()
  File "/usr/lib/python3.6/site-packages/pybombs/commands/base.py", line
120, in run
return self.subcommands[self.args.sub_command]['run'](self)()
  File "/usr/lib/python3.6/site-packages/pybombs/commands/recipes.py", line
180, in run_add_defaults
if not self.add_recipe_dir(alias, uri):
  File "/usr/lib/python3.6/site-packages/pybombs/commands/recipes.py", line
347, in add_recipe_dir
Fetcher().fetch_url(uri, recipe_cache_top_level, alias, {}) # No args
  File "/usr/lib/python3.6/site-packages/pybombs/fetcher.py", line 73, in
fetch_url
result = fetcher.fetch_url(url, dest, dirname, args)
  File "/usr/lib/python3.6/site-packages/pybombs/fetchers/git.py", line 81,
in fetch_url
git_version = get_git_version()
  File "/usr/lib/python3.6/site-packages/pybombs/fetchers/git.py", line 56,
in get_git_version
subprocess.check_output(['git', '--version'])
  File "/usr/lib/python3.6/re.py", line 182, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object


so, I added the following in /usr/lib/python3.6/site-
packages/pybombs/fetchers/git.py, in get_git_version():

subprocess.check_output(['git', '--version'])*.decode('ascii')*



*TypeError is gone, but I am not sure if this is all it takes to make
PyBOMBS work properly on Python3.*
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] [PyBOMBS] TypeError: cannot use a string pattern on a bytes-like object

2018-02-12 Thread Álvaro Cebrián Juan
Hello everyone,

I was following these instructions

to install some dependencies using PyBOMBS, but when I add a list of
default recipes with the command:

$ pybombs recipes add-defaults

I get the following error:

star@galaxy:~$ pybombs recipes add-defaults
PyBOMBS - INFO - PyBOMBS Version 2.3.3a0
Traceback (most recent call last):
  File "/usr/local/bin/pybombs", line 11, in 
load_entry_point('PyBOMBS==2.3.3a0', 'console_scripts', 'pybombs')()
  File "/usr/local/lib/python3.5/dist-packages/pybombs/main.py", line 32,
in main
return dispatch() or 0
  File "/usr/local/lib/python3.5/dist-packages/pybombs/commands/base.py",
line 194, in dispatch
return get_cmd_dict(cmd_list)[args.command](cmd=args.command,
args=args).run()
  File "/usr/local/lib/python3.5/dist-packages/pybombs/commands/base.py",
line 120, in run
return self.subcommands[self.args.sub_command]['run'](self)()
  File
"/usr/local/lib/python3.5/dist-packages/pybombs/commands/recipes.py", line
180, in run_add_defaults
if not self.add_recipe_dir(alias, uri):
  File
"/usr/local/lib/python3.5/dist-packages/pybombs/commands/recipes.py", line
347, in add_recipe_dir
Fetcher().fetch_url(uri, recipe_cache_top_level, alias, {}) # No args
  File "/usr/local/lib/python3.5/dist-packages/pybombs/fetcher.py", line
73, in fetch_url
result = fetcher.fetch_url(url, dest, dirname, args)
  File "/usr/local/lib/python3.5/dist-packages/pybombs/fetchers/git.py",
line 81, in fetch_url
git_version = get_git_version()
  File "/usr/local/lib/python3.5/dist-packages/pybombs/fetchers/git.py",
line 56, in get_git_version
subprocess.check_output(['git', '--version'])
  File "/usr/lib/python3.5/re.py", line 173, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object

I would be grateful if somebody can shed some light on the cause of this
error and on its possible solutions.

Best regards,

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


Re: [Discuss-gnuradio] Pybombs or PyGTK problem?

2017-09-19 Thread Richard Bell
Ok you're probably right, it's something at the Cmake level that's broken.
Thanks for the feedback.

On Mon, Sep 18, 2017 at 5:21 PM, Cinaed Simson 
wrote:

> Okay, but just to be clear, I don't have python-gtk installed - only
> python-gtk2-dev.
>
> The dev version basically gives you the include files - which may be
> needed if you're building from source.
>
> Try
>
>   apt-get remove python-gtk
>   apt-get install python-gtk2-dev
>
> And then see if you can re-install python-gtk after you have rebuilt
> gnuradio.
>
> Then blow away the build directory - or move it and create a new build
> directory.
>
> In short, if cmake gets wedged you'll most likely never unwedge it - it
> typically has to be reconfigured - and the easy way to do that is blow
> away or move the build directory and start over.
>
> I don't know how to use pybombs, but if all else fails,  I would rename
> the current gnuradio to save it and re-install scratch.
>
> -- Cinaed
>
>
> On 09/18/2017 11:22 AM, Richard Bell wrote:
> > Yeah I've done that multiple times trying to debug it. gtk2 vs gtk2-dev
> > didn't make any difference when it came to gtk being found.
> >
> > On Sat, Sep 16, 2017 at 1:31 PM, Cinaed Simson  > > wrote:
> >
> > On 09/15/2017 09:07 AM, Richard Bell wrote:
> > > Hello all,
> > >
> > > I'm having a ridiculously annoying problem with either PyBOMBS or
> PyGTK
> > > right now. It prevents me from getting new prefixes of GNU Radio
> installed.
> > >
> > > I'm using Ubuntu 16.04 on VBox and I have a working version of GNU
> Radio
> > > already installed via PyBOMBS. I wanted to install a new prefix so
> I ran:
> > >
> > > pybombs -vv prefix init grcon/ -a grcon -R gnuradio-default
> > >
> > > I cannot get passed the installer thinking PyGTK is not installed,
> even
> > > though I have a version of GNU Radio working on this machine. I
> can't
> > > tell if PyGTK2 is supposed to cover the PyGTK dependecy either.
> From
> > > what I've been reading online I think it should, but I don't know
> for sure.
> > >
> > >
> > > Inline image 1
> > >
> > >
> > > Inline image 2
> > >
> > > I've tried installing pygtk using pip, but I get this error
> > >
> > >
> > > Inline image 2
> > >
> > > This is why I can't tell where the problem lies, with PyBOMBS or
> with
> > > PyGTK? How could I have a working install of GNU Radio without
> PyGTK?
> > > Any help is appreciated.
> >
> > Try
> >
> >   apt-get install python-gtk2-dev
> >
> > -- Cinaed
> >
> > >
> > >
> > > ___
> > > 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


Re: [Discuss-gnuradio] Pybombs or PyGTK problem?

2017-09-18 Thread Cinaed Simson
Okay, but just to be clear, I don't have python-gtk installed - only
python-gtk2-dev.

The dev version basically gives you the include files - which may be
needed if you're building from source.

Try

  apt-get remove python-gtk
  apt-get install python-gtk2-dev

And then see if you can re-install python-gtk after you have rebuilt
gnuradio.

Then blow away the build directory - or move it and create a new build
directory.

In short, if cmake gets wedged you'll most likely never unwedge it - it
typically has to be reconfigured - and the easy way to do that is blow
away or move the build directory and start over.

I don't know how to use pybombs, but if all else fails,  I would rename
the current gnuradio to save it and re-install scratch.

-- Cinaed


On 09/18/2017 11:22 AM, Richard Bell wrote:
> Yeah I've done that multiple times trying to debug it. gtk2 vs gtk2-dev
> didn't make any difference when it came to gtk being found.
> 
> On Sat, Sep 16, 2017 at 1:31 PM, Cinaed Simson  > wrote:
> 
> On 09/15/2017 09:07 AM, Richard Bell wrote:
> > Hello all,
> >
> > I'm having a ridiculously annoying problem with either PyBOMBS or PyGTK
> > right now. It prevents me from getting new prefixes of GNU Radio 
> installed.
> >
> > I'm using Ubuntu 16.04 on VBox and I have a working version of GNU Radio
> > already installed via PyBOMBS. I wanted to install a new prefix so I 
> ran:
> >
> > pybombs -vv prefix init grcon/ -a grcon -R gnuradio-default
> >
> > I cannot get passed the installer thinking PyGTK is not installed, even
> > though I have a version of GNU Radio working on this machine. I can't
> > tell if PyGTK2 is supposed to cover the PyGTK dependecy either. From
> > what I've been reading online I think it should, but I don't know for 
> sure.
> >
> >
> > Inline image 1
> >
> >
> > Inline image 2
> >
> > I've tried installing pygtk using pip, but I get this error
> >
> >
> > Inline image 2
> >
> > This is why I can't tell where the problem lies, with PyBOMBS or with
> > PyGTK? How could I have a working install of GNU Radio without PyGTK?
> > Any help is appreciated.
> 
> Try
> 
>   apt-get install python-gtk2-dev
> 
> -- Cinaed
> 
> >
> >
> > ___
> > 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


Re: [Discuss-gnuradio] Pybombs or PyGTK problem?

2017-09-18 Thread Richard Bell
Yeah I've done that multiple times trying to debug it. gtk2 vs gtk2-dev
didn't make any difference when it came to gtk being found.

On Sat, Sep 16, 2017 at 1:31 PM, Cinaed Simson 
wrote:

> On 09/15/2017 09:07 AM, Richard Bell wrote:
> > Hello all,
> >
> > I'm having a ridiculously annoying problem with either PyBOMBS or PyGTK
> > right now. It prevents me from getting new prefixes of GNU Radio
> installed.
> >
> > I'm using Ubuntu 16.04 on VBox and I have a working version of GNU Radio
> > already installed via PyBOMBS. I wanted to install a new prefix so I ran:
> >
> > pybombs -vv prefix init grcon/ -a grcon -R gnuradio-default
> >
> > I cannot get passed the installer thinking PyGTK is not installed, even
> > though I have a version of GNU Radio working on this machine. I can't
> > tell if PyGTK2 is supposed to cover the PyGTK dependecy either. From
> > what I've been reading online I think it should, but I don't know for
> sure.
> >
> >
> > Inline image 1
> >
> >
> > Inline image 2
> >
> > I've tried installing pygtk using pip, but I get this error
> >
> >
> > Inline image 2
> >
> > This is why I can't tell where the problem lies, with PyBOMBS or with
> > PyGTK? How could I have a working install of GNU Radio without PyGTK?
> > Any help is appreciated.
>
> Try
>
>   apt-get install python-gtk2-dev
>
> -- Cinaed
>
> >
> >
> > ___
> > 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


Re: [Discuss-gnuradio] Pybombs or PyGTK problem?

2017-09-16 Thread Cinaed Simson
On 09/15/2017 09:07 AM, Richard Bell wrote:
> Hello all,
> 
> I'm having a ridiculously annoying problem with either PyBOMBS or PyGTK
> right now. It prevents me from getting new prefixes of GNU Radio installed.
> 
> I'm using Ubuntu 16.04 on VBox and I have a working version of GNU Radio
> already installed via PyBOMBS. I wanted to install a new prefix so I ran:
> 
> pybombs -vv prefix init grcon/ -a grcon -R gnuradio-default
> 
> I cannot get passed the installer thinking PyGTK is not installed, even
> though I have a version of GNU Radio working on this machine. I can't
> tell if PyGTK2 is supposed to cover the PyGTK dependecy either. From
> what I've been reading online I think it should, but I don't know for sure.
> 
> 
> Inline image 1
> 
> 
> Inline image 2
> 
> I've tried installing pygtk using pip, but I get this error
> 
> 
> Inline image 2
> 
> This is why I can't tell where the problem lies, with PyBOMBS or with
> PyGTK? How could I have a working install of GNU Radio without PyGTK?
> Any help is appreciated. 

Try

  apt-get install python-gtk2-dev

-- Cinaed

> 
> 
> ___
> 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] pybombs gnuradio install error

2017-06-15 Thread Jason Matusiak
Tried to install gnuradio on a fresh Ubuntu 14.04 box today but ran into 
an error:


$ pybombs prefix init ~/SDR -a SDR -R gnuradio-default
Exception ruamel.yaml.constructor.ConstructorError: ConstructorError() 
in  ignored

Traceback (most recent call last):
  File "/usr/local/bin/pybombs", line 11, in 
load_entry_point('PyBOMBS==2.3.1a0', 'console_scripts', 'pybombs')()
  File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
561, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)
  File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2649, in load_entry_point

return ep.load()
  File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2303, in load

return self.resolve()
  File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2309, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/dist-packages/pybombs/main.py", line 
26, in 

from pybombs.commands import dispatch
  File 
"/usr/local/lib/python2.7/dist-packages/pybombs/commands/__init__.py", 
line 23, in 

from .base import CommandBase, SubCommandBase, dispatch
  File 
"/usr/local/lib/python2.7/dist-packages/pybombs/commands/base.py", line 
27, in 

from pybombs.config_manager import config_manager
  File 
"/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py", line 
654, in 

config_manager = ConfigManager()
  File 
"/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py", line 
330, in __init__

self.load(select_prefix)
  File 
"/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py", line 
370, in load

if self._append_cfg_from_file(self.local_cfg):
  File 
"/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py", line 
446, in _append_cfg_from_file

cfg_data = PBConfigFile(cfg_filename).get()
  File "/usr/local/lib/python2.7/dist-packages/pybombs/config_file.py", 
line 42, in __init__

raise PBException("Error loading {0}: {1}".format(filename, str(e)))
pybombs.pb_exception.PBException: Error loading 
/home/sidekiq/.pybombs/config.yml: could not determine a constructor for 
the tag '!!python/tuple'

  in "", line 3, column 3:
- !!python/tuple []
  ^ (line: 3)

Any idea what the issue is?  Seems like an issue with pybombs itself, 
but I am not sure how to fix it.


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


Re: [Discuss-gnuradio] pybombs install with a space in directory name

2017-04-26 Thread Jason Matusiak
OK, I see where things are bailing now (I added verbosity to the 
install).  It seems like the offending command is:

PyBOMBS.Inventory - DEBUG - Setting state to `fetched'
PyBOMBS.Inventory - DEBUG - Saving inventory to file 
/sharing/shared/Research 
Projects/Projects/projs/jmatus/prefixes/E310/.pybombs/inventory.yml...

PyBOMBS.prefix - INFO - Installing SDK `e3xx-release4-sdk'
PyBOMBS._process_thread() - DEBUG - Executing command `$ sh 
./oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh -y -d 
/sharing/shared/Research Projects/Projects/projs/jmatus/prefixes/E310'
You are about to install the SDK to "/sharing/shared/Research". 
Proceed[Y/n]?Y


And that is where it hangs (you'd notice the space in the directory is 
not longer escaped).  I might try to look into the underlying scripts to 
see if I can make a one-off change that can get me past this issue 
(unless someone has an environment variable or something like that I can 
run to make the command happy)



On 04/25/2017 01:05 PM, Jason Matusiak wrote:
Hey Nathan.  tried that as well (first actually since that is what 
tabbed out), no dice.  IT hangs right here:

PyBOMBS.prefix - INFO - Installing SDK `e3xx-release4-sdk'
You are about to install the SDK to "/sharing/shared/Research". 
Proceed[Y/n]?Y


I have a feeling that when I escape it the first time, it gets passed 
into pybombs correctly,  Then when something actually goes to use it, 
the escape sequence has been stripped and it sees the space and stops 
working.  That seem possible?



On 04/25/2017 12:56 PM, West, Nathan wrote:

Where do you actually get stuck? Try Research\ Projects

On Tue, Apr 25, 2017 at 12:20 PM, Jason Matusiak 
> wrote:


I am trying to do an install of gnuradio into a directory on my
company's share that I don't have the ability to change. I
thought it was working until it hung for a while.  After looking
at it a bit, I have a feeling that the issue is that there is a
folder called "Research Projects" in my directory structure.  I
am thinking that pybombs is having an issue with the space (which
I try to never use in Linux myself).  Is there a way to work
around that issue? (I tried putting the folder name in double
quotes, but that didn't helps any).

___
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] pybombs install with a space in directory name

2017-04-25 Thread Jason Matusiak
Hey Nathan.  tried that as well (first actually since that is what 
tabbed out), no dice.  IT hangs right here:

PyBOMBS.prefix - INFO - Installing SDK `e3xx-release4-sdk'
You are about to install the SDK to "/sharing/shared/Research". 
Proceed[Y/n]?Y


I have a feeling that when I escape it the first time, it gets passed 
into pybombs correctly,  Then when something actually goes to use it, 
the escape sequence has been stripped and it sees the space and stops 
working.  That seem possible?



On 04/25/2017 12:56 PM, West, Nathan wrote:

Where do you actually get stuck? Try Research\ Projects

On Tue, Apr 25, 2017 at 12:20 PM, Jason Matusiak 
> 
wrote:


I am trying to do an install of gnuradio into a directory on my
company's share that I don't have the ability to change.  I
thought it was working until it hung for a while.  After looking
at it a bit, I have a feeling that the issue is that there is a
folder called "Research Projects" in my directory structure.  I am
thinking that pybombs is having an issue with the space (which I
try to never use in Linux myself). Is there a way to work around
that issue? (I tried putting the folder name in double quotes, but
that didn't helps any).

___
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] pybombs install with a space in directory name

2017-04-25 Thread West, Nathan
Where do you actually get stuck? Try Research\ Projects

On Tue, Apr 25, 2017 at 12:20 PM, Jason Matusiak <
ja...@gardettoengineering.com> wrote:

> I am trying to do an install of gnuradio into a directory on my company's
> share that I don't have the ability to change.  I thought it was working
> until it hung for a while.  After looking at it a bit, I have a feeling
> that the issue is that there is a folder called "Research Projects" in my
> directory structure.  I am thinking that pybombs is having an issue with
> the space (which I try to never use in Linux myself).  Is there a way to
> work around that issue? (I tried putting the folder name in double quotes,
> but that didn't helps any).
>
> ___
> 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] pybombs install with a space in directory name

2017-04-25 Thread Jason Matusiak
I am trying to do an install of gnuradio into a directory on my 
company's share that I don't have the ability to change.  I thought it 
was working until it hung for a while.  After looking at it a bit, I 
have a feeling that the issue is that there is a folder called "Research 
Projects" in my directory structure.  I am thinking that pybombs is 
having an issue with the space (which I try to never use in Linux 
myself).  Is there a way to work around that issue? (I tried putting the 
folder name in double quotes, but that didn't helps any).


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


Re: [Discuss-gnuradio] Pybombs Install Issue

2017-03-10 Thread Richard Bell
Thanks Marcus. I confused gtk with gtk2. I can't import gtk through python
so I must not have it. I'll look into it more.

Rich

On Fri, Mar 10, 2017 at 1:51 AM, Marcus Müller 
wrote:

> Hi Cinaed, Hi Rich,
>
> I think we do support gnuradio-runtime with Python 2.5; back in the GNU
> Radio 3.3 days it was the only viable Python there was; you still can do
> some things with it (Redhat 6, if I remember correctly, still ships with
> Python 2.5), but most of the Python things in GR need 2.7, I think.
>
> Anyway, I'd assume you're probably breaking a lot of things if you're
> installing Python 2.5 on a modern Linux; however, I don't really see
> Python 2.5 happening in Rich's output.
>
> On my machine (Fedora), there's no pygtk2 python module, only pygtk. The
> check that I'd do here is in fact a different one:
> What does
>
> import gtk
> print gtk.pygtk_version
>
> say? That's what the build infrastructure checks.
>
> Cheers,
>
> Marcus
>
>
> On 03/10/2017 10:33 AM, Cinaed Simson wrote:
> > You're running Ubuntu 16 but you're using python 2.5?
> >
> > I didn't even think gnuradio was supported under python 2.5 - I thought
> > it was just versions 2.6 and 2.7.
> >
> > pygtk is probably installed under python2.7.
> >
> > Start an instance of python2.7 and the type
> >
> >   import pygtk2
> >
> > and see if it works.
> >
> > -- Cinaed
> >
> >
> >
> > On 03/09/2017 11:52 AM, Richard Bell wrote:
> >> Hello all,
> >>
> >> I'm attempting to use Pybombs to install gnuradio onto a Ubuntu 16.04
> >> virtualbox image I was given by someone else. The problem is that pygtk2
> >> is installed as verified by apt-get, but Pybombs cannot find it, as
> >> given by the below output. The image did not have any form of GNU Radio
> >> installed prior, it only had Jupyter and packages related to TensorFlow
> >> installed. How should I fix this problem?
> >>
> >> -- Configuring gr-blocks support...
> >> --   Dependency Boost_FOUND = 1
> >> --   Dependency ENABLE_GNURADIO_RUNTIME = ON
> >> --   Enabling gr-blocks support.
> >> --   Override with -DENABLE_GR_BLOCKS=ON/OFF
> >> --
> >> -- Python checking for python >= 2.5
> >> -- Python checking for python >= 2.5 - found
> >> --
> >> -- Python checking for Cheetah >= 2.0.0
> >> -- Python checking for Cheetah >= 2.0.0 - found
> >> --
> >> -- Python checking for lxml >= 1.3.6
> >> -- Python checking for lxml >= 1.3.6 - found
> >> --
> >> -- Python checking for pygtk >= 2.10.0
> >> -- Python checking for pygtk >= 2.10.0 - not found
> >> --
> >> -- Python checking for numpy
> >> -- Python checking for numpy - found
> >> --
> >> -- Configuring gnuradio-companion support...
> >> --   Dependency ENABLE_GNURADIO_RUNTIME = ON
> >> --   Dependency ENABLE_PYTHON = ON
> >> --   Dependency PYTHON_MIN_VER_FOUND = TRUE
> >> --   Dependency CHEETAH_FOUND = TRUE
> >> --   Dependency LXML_FOUND = TRUE
> >> --   Dependency PYGTK_FOUND = FALSE
> >> --   Dependency NUMPY_FOUND = TRUE
> >> CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
> >>   user force-enabled gnuradio-companion but configuration checked failed
> >> Call Stack (most recent call first):
> >>   grc/CMakeLists.txt:45 (GR_REGISTER_COMPONENT)
> >>
> >> -- Configuring incomplete, errors occurred!
> >> See also
> >> "/home/guest/Documents/prefix/src/gnuradio/build/CMakeFiles/
> CMakeOutput.log".
> >> See also
> >> "/home/guest/Documents/prefix/src/gnuradio/build/CMakeFiles/
> CMakeError.log".
> >> PyBOMBS.Packager.source - ERROR - Configuration failed after running at
> >> least twice.
> >> PyBOMBS.Packager.source - ERROR - Problem occurred while building
> >> package gnuradio:
> >> Configuration failed
> >> PyBOMBS.install_manager - ERROR - Error installing package gnuradio.
> >> Aborting.
> >> guest@guest-VirtualBox:~$
> >>
> >>
> >> ___
> >> 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


Re: [Discuss-gnuradio] Pybombs Install Issue

2017-03-10 Thread Marcus Müller
Hi Cinaed, Hi Rich,

I think we do support gnuradio-runtime with Python 2.5; back in the GNU
Radio 3.3 days it was the only viable Python there was; you still can do
some things with it (Redhat 6, if I remember correctly, still ships with
Python 2.5), but most of the Python things in GR need 2.7, I think.

Anyway, I'd assume you're probably breaking a lot of things if you're
installing Python 2.5 on a modern Linux; however, I don't really see
Python 2.5 happening in Rich's output.

On my machine (Fedora), there's no pygtk2 python module, only pygtk. The
check that I'd do here is in fact a different one:
What does

import gtk
print gtk.pygtk_version

say? That's what the build infrastructure checks.

Cheers,

Marcus


On 03/10/2017 10:33 AM, Cinaed Simson wrote:
> You're running Ubuntu 16 but you're using python 2.5?
>
> I didn't even think gnuradio was supported under python 2.5 - I thought
> it was just versions 2.6 and 2.7.
>
> pygtk is probably installed under python2.7.
>
> Start an instance of python2.7 and the type
>
>   import pygtk2
>
> and see if it works.
>
> -- Cinaed
>
>
>
> On 03/09/2017 11:52 AM, Richard Bell wrote:
>> Hello all,
>>
>> I'm attempting to use Pybombs to install gnuradio onto a Ubuntu 16.04
>> virtualbox image I was given by someone else. The problem is that pygtk2
>> is installed as verified by apt-get, but Pybombs cannot find it, as
>> given by the below output. The image did not have any form of GNU Radio
>> installed prior, it only had Jupyter and packages related to TensorFlow
>> installed. How should I fix this problem?
>>
>> -- Configuring gr-blocks support...
>> --   Dependency Boost_FOUND = 1
>> --   Dependency ENABLE_GNURADIO_RUNTIME = ON
>> --   Enabling gr-blocks support.
>> --   Override with -DENABLE_GR_BLOCKS=ON/OFF
>> -- 
>> -- Python checking for python >= 2.5
>> -- Python checking for python >= 2.5 - found
>> -- 
>> -- Python checking for Cheetah >= 2.0.0
>> -- Python checking for Cheetah >= 2.0.0 - found
>> -- 
>> -- Python checking for lxml >= 1.3.6
>> -- Python checking for lxml >= 1.3.6 - found
>> -- 
>> -- Python checking for pygtk >= 2.10.0
>> -- Python checking for pygtk >= 2.10.0 - not found
>> -- 
>> -- Python checking for numpy
>> -- Python checking for numpy - found
>> -- 
>> -- Configuring gnuradio-companion support...
>> --   Dependency ENABLE_GNURADIO_RUNTIME = ON
>> --   Dependency ENABLE_PYTHON = ON
>> --   Dependency PYTHON_MIN_VER_FOUND = TRUE
>> --   Dependency CHEETAH_FOUND = TRUE
>> --   Dependency LXML_FOUND = TRUE
>> --   Dependency PYGTK_FOUND = FALSE
>> --   Dependency NUMPY_FOUND = TRUE
>> CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
>>   user force-enabled gnuradio-companion but configuration checked failed
>> Call Stack (most recent call first):
>>   grc/CMakeLists.txt:45 (GR_REGISTER_COMPONENT)
>>
>> -- Configuring incomplete, errors occurred!
>> See also
>> "/home/guest/Documents/prefix/src/gnuradio/build/CMakeFiles/CMakeOutput.log".
>> See also
>> "/home/guest/Documents/prefix/src/gnuradio/build/CMakeFiles/CMakeError.log".
>> PyBOMBS.Packager.source - ERROR - Configuration failed after running at
>> least twice.
>> PyBOMBS.Packager.source - ERROR - Problem occurred while building
>> package gnuradio:
>> Configuration failed
>> PyBOMBS.install_manager - ERROR - Error installing package gnuradio.
>> Aborting.
>> guest@guest-VirtualBox:~$
>>
>>
>> ___
>> 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


Re: [Discuss-gnuradio] Pybombs Install Issue

2017-03-10 Thread Cinaed Simson
You're running Ubuntu 16 but you're using python 2.5?

I didn't even think gnuradio was supported under python 2.5 - I thought
it was just versions 2.6 and 2.7.

pygtk is probably installed under python2.7.

Start an instance of python2.7 and the type

  import pygtk2

and see if it works.

-- Cinaed



On 03/09/2017 11:52 AM, Richard Bell wrote:
> Hello all,
> 
> I'm attempting to use Pybombs to install gnuradio onto a Ubuntu 16.04
> virtualbox image I was given by someone else. The problem is that pygtk2
> is installed as verified by apt-get, but Pybombs cannot find it, as
> given by the below output. The image did not have any form of GNU Radio
> installed prior, it only had Jupyter and packages related to TensorFlow
> installed. How should I fix this problem?
> 
> -- Configuring gr-blocks support...
> --   Dependency Boost_FOUND = 1
> --   Dependency ENABLE_GNURADIO_RUNTIME = ON
> --   Enabling gr-blocks support.
> --   Override with -DENABLE_GR_BLOCKS=ON/OFF
> -- 
> -- Python checking for python >= 2.5
> -- Python checking for python >= 2.5 - found
> -- 
> -- Python checking for Cheetah >= 2.0.0
> -- Python checking for Cheetah >= 2.0.0 - found
> -- 
> -- Python checking for lxml >= 1.3.6
> -- Python checking for lxml >= 1.3.6 - found
> -- 
> -- Python checking for pygtk >= 2.10.0
> -- Python checking for pygtk >= 2.10.0 - not found
> -- 
> -- Python checking for numpy
> -- Python checking for numpy - found
> -- 
> -- Configuring gnuradio-companion support...
> --   Dependency ENABLE_GNURADIO_RUNTIME = ON
> --   Dependency ENABLE_PYTHON = ON
> --   Dependency PYTHON_MIN_VER_FOUND = TRUE
> --   Dependency CHEETAH_FOUND = TRUE
> --   Dependency LXML_FOUND = TRUE
> --   Dependency PYGTK_FOUND = FALSE
> --   Dependency NUMPY_FOUND = TRUE
> CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
>   user force-enabled gnuradio-companion but configuration checked failed
> Call Stack (most recent call first):
>   grc/CMakeLists.txt:45 (GR_REGISTER_COMPONENT)
> 
> -- Configuring incomplete, errors occurred!
> See also
> "/home/guest/Documents/prefix/src/gnuradio/build/CMakeFiles/CMakeOutput.log".
> See also
> "/home/guest/Documents/prefix/src/gnuradio/build/CMakeFiles/CMakeError.log".
> PyBOMBS.Packager.source - ERROR - Configuration failed after running at
> least twice.
> PyBOMBS.Packager.source - ERROR - Problem occurred while building
> package gnuradio:
> Configuration failed
> PyBOMBS.install_manager - ERROR - Error installing package gnuradio.
> Aborting.
> guest@guest-VirtualBox:~$
> 
> 
> ___
> 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] Pybombs Install Issue

2017-03-09 Thread Richard Bell
Hello all,

I'm attempting to use Pybombs to install gnuradio onto a Ubuntu 16.04
virtualbox image I was given by someone else. The problem is that pygtk2 is
installed as verified by apt-get, but Pybombs cannot find it, as given by
the below output. The image did not have any form of GNU Radio installed
prior, it only had Jupyter and packages related to TensorFlow installed.
How should I fix this problem?

-- Configuring gr-blocks support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-blocks support.
--   Override with -DENABLE_GR_BLOCKS=ON/OFF
-- 
-- Python checking for python >= 2.5
-- Python checking for python >= 2.5 - found
-- 
-- Python checking for Cheetah >= 2.0.0
-- Python checking for Cheetah >= 2.0.0 - found
-- 
-- Python checking for lxml >= 1.3.6
-- Python checking for lxml >= 1.3.6 - found
-- 
-- Python checking for pygtk >= 2.10.0
-- Python checking for pygtk >= 2.10.0 - not found
-- 
-- Python checking for numpy
-- Python checking for numpy - found
-- 
-- Configuring gnuradio-companion support...
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_PYTHON = ON
--   Dependency PYTHON_MIN_VER_FOUND = TRUE
--   Dependency CHEETAH_FOUND = TRUE
--   Dependency LXML_FOUND = TRUE
--   Dependency PYGTK_FOUND = FALSE
--   Dependency NUMPY_FOUND = TRUE
CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
  user force-enabled gnuradio-companion but configuration checked failed
Call Stack (most recent call first):
  grc/CMakeLists.txt:45 (GR_REGISTER_COMPONENT)

-- Configuring incomplete, errors occurred!
See also
"/home/guest/Documents/prefix/src/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also
"/home/guest/Documents/prefix/src/gnuradio/build/CMakeFiles/CMakeError.log".
PyBOMBS.Packager.source - ERROR - Configuration failed after running at
least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package
gnuradio:
Configuration failed
PyBOMBS.install_manager - ERROR - Error installing package gnuradio.
Aborting.
guest@guest-VirtualBox:~$
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] pybombs prefix update

2017-03-08 Thread Jason Matusiak
Stupid question.  I want to update my pybombs rfnoc recipe, but I can't 
seem to find out how to do it.


I know for things like uhd, you can type: pybombs update uhd.  But if I 
try that for rfnoc, I get: PyBOMBS.get_recipe - ERROR - Recipe for 
`rfnoc' found, but does not match request target type `package' (is 
`prefix').


What am i missing here?  I am wondering if my problem is that my root 
directory for all of this is called rfnoc (which is the same as the 
recipe name).  But my issue with that is it obviously had no problem 
installing it the first time.


Looking at my config.yml, it looks like this:
config:
  default_prefix: myprefix
prefix_aliases:
  RFNOC: /home/jmat/rfnoc
  myprefix: /home/jmat/prefix
recipes:
  ettus-pybombs: git+https://github.com/EttusResearch/ettus-pybombs.git
  gr-etcetera: git+https://github.com/gnuradio/gr-etcetera.git
  gr-recipes: git+https://github.com/gnuradio/gr-recipes.git


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


Re: [Discuss-gnuradio] Pybombs problem installing gnuradio dependencies

2017-02-10 Thread EJ Kreinar
Hi again,

Looks like my pip install was out of date. Apologies for the extra noise-
hope it helps someone :)

EJ

On Fri, Feb 10, 2017 at 3:41 PM, EJ Kreinar  wrote:

> Hi all,
>
> I'm not sure if I'm reporting on the same pybombs problem as others
> recently [1], but I just ran into a problem installing gnuradio
> dependencies with pybombs...
>
> Here's the situation:  I have a docker image which is attempting to
> install gnuradio via pybombs. I'm building pybombs from the github source
> so I can have get a few updates since the 2.3.0 pip release. I am not
> manually installing the required gnuradio dependencies such as boost, alsa
> (libasound2-dev), etc, ahead of time before running pybombs. When pybombs
> gets to some of the gnuradio dependencies -- I encountered this first with
> alsa-- pybombs does not install from the prebuilt packages, but tries to
> build from source, which may or may not fail for one reason or another. As
> it happens, alsa seems to have an invalid source URL in alsa.lwr that fails
> in my case.
>
> Resolution: I can revert to the pybombs source as of December 15, 2016
> (SHA: cfaaae10), which locates gnuradio dependencies without trying to
> build everything from source.  Looks like something in the Jan 4, 2017
> updates are causing problems locating dependencies.. ? Would this make
> sense?
>
> Thanks,
> EJ
>
> [1] http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg62392.html
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Pybombs problem installing gnuradio dependencies

2017-02-10 Thread EJ Kreinar
Hi all,

I'm not sure if I'm reporting on the same pybombs problem as others
recently [1], but I just ran into a problem installing gnuradio
dependencies with pybombs...

Here's the situation:  I have a docker image which is attempting to install
gnuradio via pybombs. I'm building pybombs from the github source so I can
have get a few updates since the 2.3.0 pip release. I am not manually
installing the required gnuradio dependencies such as boost, alsa
(libasound2-dev), etc, ahead of time before running pybombs. When pybombs
gets to some of the gnuradio dependencies -- I encountered this first with
alsa-- pybombs does not install from the prebuilt packages, but tries to
build from source, which may or may not fail for one reason or another. As
it happens, alsa seems to have an invalid source URL in alsa.lwr that fails
in my case.

Resolution: I can revert to the pybombs source as of December 15, 2016
(SHA: cfaaae10), which locates gnuradio dependencies without trying to
build everything from source.  Looks like something in the Jan 4, 2017
updates are causing problems locating dependencies.. ? Would this make
sense?

Thanks,
EJ

[1] http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg62392.html
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-26 Thread Martin Braun
You can add a gitrev or gitbranch value.

Example:

$ pybombs config --package uhd gitrev release_003_009_005

-- M


On 01/25/2017 08:42 AM, Usman Haider wrote:
> Hi Ben,
> 
> Thanks for your reply. Source build configured same components as
> PyBobms. I think PyBombs did not install all prerequisites. I installed
> all prerequisites using "build_gnuradio" script
> 
> $ ./build_gnuradio.sh -v prereqs
> 
> and then I ran following command
> 
> $  pybombs -vv rebuild gnuradio
> 
> Now I have a successful install of GNU Radio.  I wanted to try PyBombs
> that is why I did not install GNU Radio and other packagers from source.
> One question, how can I install a specific version of GNU Radio/UHD etc
> using PyBombs ?
> 
> 
> --
> Usman
> 
> 
> 
> On Tue, Jan 24, 2017 at 8:00 PM, Ben Hilburn  > wrote:
> 
> Hi Usman -
> 
> Give the source build
>  a
> shot and see what components it configures during the `cmake`
> process. Try to install the dependencies
> from your OS's
> package manager if you don't have them, yet.
> 
> Cheers,
> Ben
> 
> On Tue, Jan 24, 2017 at 1:02 AM, Usman Haider
> > wrote:
> 
> Hi,
> 
> What is recommend to fix the issue? Should I go for source
> install instead of PyBombs?
> 
> 
> --
> Usman
> 
> 
> On Fri, Jan 20, 2017 at 10:58 AM, Usman Haider
> > wrote:
> 
> Hi Martin,
> 
> I see from output of the command that a lot of components
> are disabled.
> 
> -- ##
> -- # Gnuradio disabled components
> -- ##
> --   * python-support
> --   * doxygen
> --   * sphinx
> --   * gr-ctrlport
> --   * gnuradio-companion
> --   * gr-comedi
> --   * gr-utils
> --   * gr-video-sdl
> --   * gr-wxgui
> 
> Looking further I found that PyBombs was unable to find SWIG
> as well. I remember that PyBombs install all the required
> dependencies itself? Do I have to reinstall everything from
> scratch? Following is the output of the command
> $ pybombs -vv rebuild gnuradio
> 
>  http://pasted.co/9ebaa709
> 
> Thanks.
> 
> --
> Usman
> 
> On Thu, Jan 19, 2017 at 10:25 PM, Martin Braun
> > wrote:
> 
> It did not install GRC, and no other graphical tools
> either. Rerun
> 
> $ pybombs -vv rebuild gnuradio
> 
> to see where it fails during cmake.
> 
> Cheers,
> Martin
> 
> On 01/18/2017 10:35 PM, Usman Haider wrote:
> > Hi Martin,
> >
> > Yeah. Please find below the output
> >
> > $ ls ~/rfnoc/bin
> >
> > gnuradio-config-info
> > uhd_cal_tx_iq_balance
> >  usrp2_card_burner
> > octoclock_firmware_burner
> > uhd_config_info
> >  usrp_n2xx_simple_net_burner
> > rfnocmodtool
> > uhd_find_devices
> >   usrp_x3xx_fpga_burner
> > thrift
> >  uhd_image_loader
> >  volk-config-info
> > uhd_cal_rx_iq_balance
> >   uhd_images_downloader
> > volk_modtool
> > uhd_cal_tx_dc_offset
> > uhd_usrp_probe
> >   volk_profile
> >
> > $ pybombs inv
> >
> > PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> > Showing package state:
> > uhd-fpga:   installed
> > uhd:installed
> > apache-thrift:  installed
> > gnuradio:   installed
> > gr-ettus:   installed
> >
> >
> > You get anything from this?  Thanks
> >
> > --
> > Usman
> >
> > On Thu, Jan 19, 2017 at 5:15 AM, Martin Braun
> 
> >  >>
> wrote:
>

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-24 Thread Usman Haider
Hi Ben,

Thanks for your reply. Source build configured same components as PyBobms.
I think PyBombs did not install all prerequisites. I installed all
prerequisites using "build_gnuradio" script

$ ./build_gnuradio.sh -v prereqs

and then I ran following command

$  pybombs -vv rebuild gnuradio

Now I have a successful install of GNU Radio.  I wanted to try PyBombs that
is why I did not install GNU Radio and other packagers from source. One
question, how can I install a specific version of GNU Radio/UHD etc using
PyBombs ?


--
Usman



On Tue, Jan 24, 2017 at 8:00 PM, Ben Hilburn  wrote:

> Hi Usman -
>
> Give the source build
>  a shot
> and see what components it configures during the `cmake` process. Try to
> install the dependencies
> from your OS's package
> manager if you don't have them, yet.
>
> Cheers,
> Ben
>
> On Tue, Jan 24, 2017 at 1:02 AM, Usman Haider 
> wrote:
>
>> Hi,
>>
>> What is recommend to fix the issue? Should I go for source install
>> instead of PyBombs?
>>
>>
>> --
>> Usman
>>
>>
>> On Fri, Jan 20, 2017 at 10:58 AM, Usman Haider 
>> wrote:
>>
>>> Hi Martin,
>>>
>>> I see from output of the command that a lot of components are disabled.
>>>
>>> -- ##
>>> -- # Gnuradio disabled components
>>> -- ##
>>> --   * python-support
>>> --   * doxygen
>>> --   * sphinx
>>> --   * gr-ctrlport
>>> --   * gnuradio-companion
>>> --   * gr-comedi
>>> --   * gr-utils
>>> --   * gr-video-sdl
>>> --   * gr-wxgui
>>>
>>> Looking further I found that PyBombs was unable to find SWIG as well. I
>>> remember that PyBombs install all the required dependencies itself? Do I
>>> have to reinstall everything from scratch? Following is the output of the
>>> command
>>> $ pybombs -vv rebuild gnuradio
>>>
>>>  http://pasted.co/9ebaa709
>>>
>>> Thanks.
>>>
>>> --
>>> Usman
>>>
>>> On Thu, Jan 19, 2017 at 10:25 PM, Martin Braun 
>>> wrote:
>>>
 It did not install GRC, and no other graphical tools either. Rerun

 $ pybombs -vv rebuild gnuradio

 to see where it fails during cmake.

 Cheers,
 Martin

 On 01/18/2017 10:35 PM, Usman Haider wrote:
 > Hi Martin,
 >
 > Yeah. Please find below the output
 >
 > $ ls ~/rfnoc/bin
 >
 > gnuradio-config-info
 > uhd_cal_tx_iq_balance
 >  usrp2_card_burner
 > octoclock_firmware_burner
 > uhd_config_info
 >  usrp_n2xx_simple_net_burner
 > rfnocmodtool
 > uhd_find_devices
 >   usrp_x3xx_fpga_burner
 > thrift
 >  uhd_image_loader
 >  volk-config-info
 > uhd_cal_rx_iq_balance
 >   uhd_images_downloader
 > volk_modtool
 > uhd_cal_tx_dc_offset
 > uhd_usrp_probe
 >   volk_profile
 >
 > $ pybombs inv
 >
 > PyBOMBS - INFO - PyBOMBS Version 2.3.1a
 > Showing package state:
 > uhd-fpga:   installed
 > uhd:installed
 > apache-thrift:  installed
 > gnuradio:   installed
 > gr-ettus:   installed
 >
 >
 > You get anything from this?  Thanks
 >
 > --
 > Usman
 >
 > On Thu, Jan 19, 2017 at 5:15 AM, Martin Braun  > wrote:
 >
 > It's almost as if UHD installed, but GNU Radio didn't, although
 your
 > output says otherwise.
 >
 > What does
 >
 > $ ls ~/rfnoc/bin
 >
 > look like?
 >
 > Or
 >
 > $ pybombs inv
 >
 > ?
 >
 > On 01/18/2017 02:10 AM, Usman Haider wrote:
 > > Hi Nicolas,
 > >
 > > Thanks for your time. I did that but the result is same. I can
 run
 > >
 > > |$|uhd_images_downloader
 > > but
 > > |$ gnuradio-companion
 > > |
 > >
 > > fails. Let me know if any further information is needed. Thanks
 > >
 > > --
 > > Usman
 > > On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo
 > > 
 > >>
 > wrote:
 > >
 > > Hello Usman,
 > >
 > > Did you set up your PyBOMBS environment?  If not, please do
 so. As
 > > long as I understand your prefix is at ~/rfnoc. Being that
 the case,
 > > please run:
 > >
 > > $ source ~/rfnoc/setup_env.sh
 > >
 > > After this your shell will have access to everything which
 has been
 > > installed in that prefix, and you should be able to start
 > >  

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-24 Thread Ben Hilburn
Hi Usman -

Give the source build
 a shot and
see what components it configures during the `cmake` process. Try to
install the dependencies from
your OS's package manager if you don't have them, yet.

Cheers,
Ben

On Tue, Jan 24, 2017 at 1:02 AM, Usman Haider 
wrote:

> Hi,
>
> What is recommend to fix the issue? Should I go for source install instead
> of PyBombs?
>
>
> --
> Usman
>
>
> On Fri, Jan 20, 2017 at 10:58 AM, Usman Haider 
> wrote:
>
>> Hi Martin,
>>
>> I see from output of the command that a lot of components are disabled.
>>
>> -- ##
>> -- # Gnuradio disabled components
>> -- ##
>> --   * python-support
>> --   * doxygen
>> --   * sphinx
>> --   * gr-ctrlport
>> --   * gnuradio-companion
>> --   * gr-comedi
>> --   * gr-utils
>> --   * gr-video-sdl
>> --   * gr-wxgui
>>
>> Looking further I found that PyBombs was unable to find SWIG as well. I
>> remember that PyBombs install all the required dependencies itself? Do I
>> have to reinstall everything from scratch? Following is the output of the
>> command
>> $ pybombs -vv rebuild gnuradio
>>
>>  http://pasted.co/9ebaa709
>>
>> Thanks.
>>
>> --
>> Usman
>>
>> On Thu, Jan 19, 2017 at 10:25 PM, Martin Braun 
>> wrote:
>>
>>> It did not install GRC, and no other graphical tools either. Rerun
>>>
>>> $ pybombs -vv rebuild gnuradio
>>>
>>> to see where it fails during cmake.
>>>
>>> Cheers,
>>> Martin
>>>
>>> On 01/18/2017 10:35 PM, Usman Haider wrote:
>>> > Hi Martin,
>>> >
>>> > Yeah. Please find below the output
>>> >
>>> > $ ls ~/rfnoc/bin
>>> >
>>> > gnuradio-config-info
>>> > uhd_cal_tx_iq_balance
>>> >  usrp2_card_burner
>>> > octoclock_firmware_burner
>>> > uhd_config_info
>>> >  usrp_n2xx_simple_net_burner
>>> > rfnocmodtool
>>> > uhd_find_devices
>>> >   usrp_x3xx_fpga_burner
>>> > thrift
>>> >  uhd_image_loader
>>> >  volk-config-info
>>> > uhd_cal_rx_iq_balance
>>> >   uhd_images_downloader
>>> > volk_modtool
>>> > uhd_cal_tx_dc_offset
>>> > uhd_usrp_probe
>>> >   volk_profile
>>> >
>>> > $ pybombs inv
>>> >
>>> > PyBOMBS - INFO - PyBOMBS Version 2.3.1a
>>> > Showing package state:
>>> > uhd-fpga:   installed
>>> > uhd:installed
>>> > apache-thrift:  installed
>>> > gnuradio:   installed
>>> > gr-ettus:   installed
>>> >
>>> >
>>> > You get anything from this?  Thanks
>>> >
>>> > --
>>> > Usman
>>> >
>>> > On Thu, Jan 19, 2017 at 5:15 AM, Martin Braun >> > > wrote:
>>> >
>>> > It's almost as if UHD installed, but GNU Radio didn't, although
>>> your
>>> > output says otherwise.
>>> >
>>> > What does
>>> >
>>> > $ ls ~/rfnoc/bin
>>> >
>>> > look like?
>>> >
>>> > Or
>>> >
>>> > $ pybombs inv
>>> >
>>> > ?
>>> >
>>> > On 01/18/2017 02:10 AM, Usman Haider wrote:
>>> > > Hi Nicolas,
>>> > >
>>> > > Thanks for your time. I did that but the result is same. I can
>>> run
>>> > >
>>> > > |$|uhd_images_downloader
>>> > > but
>>> > > |$ gnuradio-companion
>>> > > |
>>> > >
>>> > > fails. Let me know if any further information is needed. Thanks
>>> > >
>>> > > --
>>> > > Usman
>>> > > On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo
>>> > > 
>>> > >> >>>
>>> > wrote:
>>> > >
>>> > > Hello Usman,
>>> > >
>>> > > Did you set up your PyBOMBS environment?  If not, please do
>>> so. As
>>> > > long as I understand your prefix is at ~/rfnoc. Being that
>>> the case,
>>> > > please run:
>>> > >
>>> > > $ source ~/rfnoc/setup_env.sh
>>> > >
>>> > > After this your shell will have access to everything which
>>> has been
>>> > > installed in that prefix, and you should be able to start
>>> > > gnuradio-companion. Please have in mind that you have to set
>>> up this
>>> > > environment in every new shell you start.
>>> > >
>>> > > Please let us know if this doesn't work so that we can look
>>> further
>>> > > into it.
>>> > >
>>> > > Cheers,
>>> > >
>>> > > - Nicolas
>>> > >
>>> > > On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider
>>> > > 
>>> > >>
>>> > wrote:
>>> > >
>>> > > Yes, could be the cause.  After running the following
>>> commands
>>> > >
>>> > > $ cd ~/rfnoc
>>> > > $ source ./setup_env.sh
>>> > > $ 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-23 Thread Usman Haider
Hi,

What is recommend to fix the issue? Should I go for source install instead
of PyBombs?


--
Usman

On Fri, Jan 20, 2017 at 10:58 AM, Usman Haider 
wrote:

> Hi Martin,
>
> I see from output of the command that a lot of components are disabled.
>
> -- ##
> -- # Gnuradio disabled components
> -- ##
> --   * python-support
> --   * doxygen
> --   * sphinx
> --   * gr-ctrlport
> --   * gnuradio-companion
> --   * gr-comedi
> --   * gr-utils
> --   * gr-video-sdl
> --   * gr-wxgui
>
> Looking further I found that PyBombs was unable to find SWIG as well. I
> remember that PyBombs install all the required dependencies itself? Do I
> have to reinstall everything from scratch? Following is the output of the
> command
> $ pybombs -vv rebuild gnuradio
>
>  http://pasted.co/9ebaa709
>
> Thanks.
>
> --
> Usman
>
> On Thu, Jan 19, 2017 at 10:25 PM, Martin Braun 
> wrote:
>
>> It did not install GRC, and no other graphical tools either. Rerun
>>
>> $ pybombs -vv rebuild gnuradio
>>
>> to see where it fails during cmake.
>>
>> Cheers,
>> Martin
>>
>> On 01/18/2017 10:35 PM, Usman Haider wrote:
>> > Hi Martin,
>> >
>> > Yeah. Please find below the output
>> >
>> > $ ls ~/rfnoc/bin
>> >
>> > gnuradio-config-info
>> > uhd_cal_tx_iq_balance
>> >  usrp2_card_burner
>> > octoclock_firmware_burner
>> > uhd_config_info
>> >  usrp_n2xx_simple_net_burner
>> > rfnocmodtool
>> > uhd_find_devices
>> >   usrp_x3xx_fpga_burner
>> > thrift
>> >  uhd_image_loader
>> >  volk-config-info
>> > uhd_cal_rx_iq_balance
>> >   uhd_images_downloader
>> > volk_modtool
>> > uhd_cal_tx_dc_offset
>> > uhd_usrp_probe
>> >   volk_profile
>> >
>> > $ pybombs inv
>> >
>> > PyBOMBS - INFO - PyBOMBS Version 2.3.1a
>> > Showing package state:
>> > uhd-fpga:   installed
>> > uhd:installed
>> > apache-thrift:  installed
>> > gnuradio:   installed
>> > gr-ettus:   installed
>> >
>> >
>> > You get anything from this?  Thanks
>> >
>> > --
>> > Usman
>> >
>> > On Thu, Jan 19, 2017 at 5:15 AM, Martin Braun > > > wrote:
>> >
>> > It's almost as if UHD installed, but GNU Radio didn't, although your
>> > output says otherwise.
>> >
>> > What does
>> >
>> > $ ls ~/rfnoc/bin
>> >
>> > look like?
>> >
>> > Or
>> >
>> > $ pybombs inv
>> >
>> > ?
>> >
>> > On 01/18/2017 02:10 AM, Usman Haider wrote:
>> > > Hi Nicolas,
>> > >
>> > > Thanks for your time. I did that but the result is same. I can run
>> > >
>> > > |$|uhd_images_downloader
>> > > but
>> > > |$ gnuradio-companion
>> > > |
>> > >
>> > > fails. Let me know if any further information is needed. Thanks
>> > >
>> > > --
>> > > Usman
>> > > On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo
>> > > 
>> > > >>>
>> > wrote:
>> > >
>> > > Hello Usman,
>> > >
>> > > Did you set up your PyBOMBS environment?  If not, please do
>> so. As
>> > > long as I understand your prefix is at ~/rfnoc. Being that
>> the case,
>> > > please run:
>> > >
>> > > $ source ~/rfnoc/setup_env.sh
>> > >
>> > > After this your shell will have access to everything which
>> has been
>> > > installed in that prefix, and you should be able to start
>> > > gnuradio-companion. Please have in mind that you have to set
>> up this
>> > > environment in every new shell you start.
>> > >
>> > > Please let us know if this doesn't work so that we can look
>> further
>> > > into it.
>> > >
>> > > Cheers,
>> > >
>> > > - Nicolas
>> > >
>> > > On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider
>> > > 
>> > >>
>> > wrote:
>> > >
>> > > Yes, could be the cause.  After running the following
>> commands
>> > >
>> > > $ cd ~/rfnoc
>> > > $ source ./setup_env.sh
>> > > $ uhd_images_downloader
>> > >
>> > > I was able to download the images. But when I tried to run
>> > >
>> > > |$ gnuradio-companion|
>> > >
>> > > It failed giving "The program 'gnuradio-companion' is
>> > currently
>> > > not installed. You can install it by typing: sudo apt-get
>> > > install gnuradio". Although, I have
>> > >
>> > > $ gnuradio-config-info --v
>> > > v3.7.10.1-202-g6225e5d4
>> > >
>> > > $ gnuradio-config-info --prefix
>> > > /home/emb/rfnoc
>> > 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-19 Thread Usman Haider
Hi Martin,

I see from output of the command that a lot of components are disabled.

-- ##
-- # Gnuradio disabled components
-- ##
--   * python-support
--   * doxygen
--   * sphinx
--   * gr-ctrlport
--   * gnuradio-companion
--   * gr-comedi
--   * gr-utils
--   * gr-video-sdl
--   * gr-wxgui

Looking further I found that PyBombs was unable to find SWIG as well. I
remember that PyBombs install all the required dependencies itself? Do I
have to reinstall everything from scratch? Following is the output of the
command
$ pybombs -vv rebuild gnuradio

 http://pasted.co/9ebaa709

Thanks.

--
Usman

On Thu, Jan 19, 2017 at 10:25 PM, Martin Braun 
wrote:

> It did not install GRC, and no other graphical tools either. Rerun
>
> $ pybombs -vv rebuild gnuradio
>
> to see where it fails during cmake.
>
> Cheers,
> Martin
>
> On 01/18/2017 10:35 PM, Usman Haider wrote:
> > Hi Martin,
> >
> > Yeah. Please find below the output
> >
> > $ ls ~/rfnoc/bin
> >
> > gnuradio-config-info
> > uhd_cal_tx_iq_balance
> >  usrp2_card_burner
> > octoclock_firmware_burner
> > uhd_config_info
> >  usrp_n2xx_simple_net_burner
> > rfnocmodtool
> > uhd_find_devices
> >   usrp_x3xx_fpga_burner
> > thrift
> >  uhd_image_loader
> >  volk-config-info
> > uhd_cal_rx_iq_balance
> >   uhd_images_downloader
> > volk_modtool
> > uhd_cal_tx_dc_offset
> > uhd_usrp_probe
> >   volk_profile
> >
> > $ pybombs inv
> >
> > PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> > Showing package state:
> > uhd-fpga:   installed
> > uhd:installed
> > apache-thrift:  installed
> > gnuradio:   installed
> > gr-ettus:   installed
> >
> >
> > You get anything from this?  Thanks
> >
> > --
> > Usman
> >
> > On Thu, Jan 19, 2017 at 5:15 AM, Martin Braun  > > wrote:
> >
> > It's almost as if UHD installed, but GNU Radio didn't, although your
> > output says otherwise.
> >
> > What does
> >
> > $ ls ~/rfnoc/bin
> >
> > look like?
> >
> > Or
> >
> > $ pybombs inv
> >
> > ?
> >
> > On 01/18/2017 02:10 AM, Usman Haider wrote:
> > > Hi Nicolas,
> > >
> > > Thanks for your time. I did that but the result is same. I can run
> > >
> > > |$|uhd_images_downloader
> > > but
> > > |$ gnuradio-companion
> > > |
> > >
> > > fails. Let me know if any further information is needed. Thanks
> > >
> > > --
> > > Usman
> > > On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo
> > > 
> > >>
> > wrote:
> > >
> > > Hello Usman,
> > >
> > > Did you set up your PyBOMBS environment?  If not, please do
> so. As
> > > long as I understand your prefix is at ~/rfnoc. Being that the
> case,
> > > please run:
> > >
> > > $ source ~/rfnoc/setup_env.sh
> > >
> > > After this your shell will have access to everything which has
> been
> > > installed in that prefix, and you should be able to start
> > > gnuradio-companion. Please have in mind that you have to set
> up this
> > > environment in every new shell you start.
> > >
> > > Please let us know if this doesn't work so that we can look
> further
> > > into it.
> > >
> > > Cheers,
> > >
> > > - Nicolas
> > >
> > > On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider
> > > 
> > >>
> > wrote:
> > >
> > > Yes, could be the cause.  After running the following
> commands
> > >
> > > $ cd ~/rfnoc
> > > $ source ./setup_env.sh
> > > $ uhd_images_downloader
> > >
> > > I was able to download the images. But when I tried to run
> > >
> > > |$ gnuradio-companion|
> > >
> > > It failed giving "The program 'gnuradio-companion' is
> > currently
> > > not installed. You can install it by typing: sudo apt-get
> > > install gnuradio". Although, I have
> > >
> > > $ gnuradio-config-info --v
> > > v3.7.10.1-202-g6225e5d4
> > >
> > > $ gnuradio-config-info --prefix
> > > /home/emb/rfnoc
> > >
> > > Otuput of PyBOMBS is as under.
> > >
> > > $ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc
> > > PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> > > PyBOMBS.prefix - INFO - Creating directory
> `/home/emb/rfnoc'
> > > Alias `rfnoc' already exists, overwrite Y/[N]? y
> > > PyBOMBS.ConfigManager - INFO - 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-19 Thread Martin Braun
It did not install GRC, and no other graphical tools either. Rerun

$ pybombs -vv rebuild gnuradio

to see where it fails during cmake.

Cheers,
Martin

On 01/18/2017 10:35 PM, Usman Haider wrote:
> Hi Martin,
> 
> Yeah. Please find below the output
> 
> $ ls ~/rfnoc/bin
> 
> gnuradio-config-info  
> uhd_cal_tx_iq_balance
>  usrp2_card_burner
> octoclock_firmware_burner 
> uhd_config_info  
>  usrp_n2xx_simple_net_burner
> rfnocmodtool  
> uhd_find_devices
>   usrp_x3xx_fpga_burner
> thrift   
>  uhd_image_loader 
>  volk-config-info
> uhd_cal_rx_iq_balance   
>   uhd_images_downloader 
> volk_modtool
> uhd_cal_tx_dc_offset  
> uhd_usrp_probe  
>   volk_profile
> 
> $ pybombs inv
> 
> PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> Showing package state:
> uhd-fpga:   installed
> uhd:installed
> apache-thrift:  installed
> gnuradio:   installed
> gr-ettus:   installed
> 
> 
> You get anything from this?  Thanks
> 
> --
> Usman
> 
> On Thu, Jan 19, 2017 at 5:15 AM, Martin Braun  > wrote:
> 
> It's almost as if UHD installed, but GNU Radio didn't, although your
> output says otherwise.
> 
> What does
> 
> $ ls ~/rfnoc/bin
> 
> look like?
> 
> Or
> 
> $ pybombs inv
> 
> ?
> 
> On 01/18/2017 02:10 AM, Usman Haider wrote:
> > Hi Nicolas,
> >
> > Thanks for your time. I did that but the result is same. I can run
> >
> > |$|uhd_images_downloader
> > but
> > |$ gnuradio-companion
> > |
> >
> > fails. Let me know if any further information is needed. Thanks
> >
> > --
> > Usman
> > On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo
> > 
> >>
> wrote:
> >
> > Hello Usman,
> >
> > Did you set up your PyBOMBS environment?  If not, please do so. As
> > long as I understand your prefix is at ~/rfnoc. Being that the case,
> > please run:
> >
> > $ source ~/rfnoc/setup_env.sh
> >
> > After this your shell will have access to everything which has been
> > installed in that prefix, and you should be able to start
> > gnuradio-companion. Please have in mind that you have to set up this
> > environment in every new shell you start.
> >
> > Please let us know if this doesn't work so that we can look further
> > into it.
> >
> > Cheers,
> >
> > - Nicolas
> >
> > On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider
> > 
> >>
> wrote:
> >
> > Yes, could be the cause.  After running the following commands
> >
> > $ cd ~/rfnoc
> > $ source ./setup_env.sh
> > $ uhd_images_downloader
> >
> > I was able to download the images. But when I tried to run
> >
> > |$ gnuradio-companion|
> >
> > It failed giving "The program 'gnuradio-companion' is
> currently
> > not installed. You can install it by typing: sudo apt-get
> > install gnuradio". Although, I have
> >
> > $ gnuradio-config-info --v
> > v3.7.10.1-202-g6225e5d4
> >
> > $ gnuradio-config-info --prefix
> > /home/emb/rfnoc
> >
> > Otuput of PyBOMBS is as under.
> >
> > $ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc
> > PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> > PyBOMBS.prefix - INFO - Creating directory `/home/emb/rfnoc'
> > Alias `rfnoc' already exists, overwrite Y/[N]? y
> > PyBOMBS.ConfigManager - INFO - Creating new config file
> > /home/emb/rfnoc/.pybombs/config.yml
> > PyBOMBS.prefix - INFO - Installing default packages for
> prefix...
> > PyBOMBS.prefix - INFO -
> >   - gnuradio
> >   - uhd
> >   - gr-ettus
> >   - uhd-fpga
> > PyBOMBS.install_manager - INFO - Phase 1: Creating install
> tree
> > and installing binary packages:
> > DEPRECATION: The default format will switch to columns in the
> > future. You can use --format=(legacy|columns) (or define a
> > format=(legacy|columns) in your pip.conf under the [list]
> > section) to disable this warning.
> > Install tree:
> > |
> > +- uhd-fpga
> > |
> > \- gr-ettus
> >|
> >+- uhd
> >|
> >\- gnuradio
> >   |
> >   +- 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-18 Thread Usman Haider
Hi Martin,

Yeah. Please find below the output

$ ls ~/rfnoc/bin

gnuradio-config-info
uhd_cal_tx_iq_balance
 usrp2_card_burner
octoclock_firmware_burner
uhd_config_info
 usrp_n2xx_simple_net_burner
rfnocmodtool
uhd_find_devices
  usrp_x3xx_fpga_burner
thrift
 uhd_image_loader
 volk-config-info
uhd_cal_rx_iq_balance
  uhd_images_downloader
volk_modtool
uhd_cal_tx_dc_offset
uhd_usrp_probe
  volk_profile

$ pybombs inv

PyBOMBS - INFO - PyBOMBS Version 2.3.1a
Showing package state:
uhd-fpga:   installed
uhd:installed
apache-thrift:  installed
gnuradio:   installed
gr-ettus:   installed


You get anything from this?  Thanks

--
Usman

On Thu, Jan 19, 2017 at 5:15 AM, Martin Braun 
wrote:

> It's almost as if UHD installed, but GNU Radio didn't, although your
> output says otherwise.
>
> What does
>
> $ ls ~/rfnoc/bin
>
> look like?
>
> Or
>
> $ pybombs inv
>
> ?
>
> On 01/18/2017 02:10 AM, Usman Haider wrote:
> > Hi Nicolas,
> >
> > Thanks for your time. I did that but the result is same. I can run
> >
> > |$|uhd_images_downloader
> > but
> > |$ gnuradio-companion
> > |
> >
> > fails. Let me know if any further information is needed. Thanks
> >
> > --
> > Usman
> > On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo
> > > wrote:
> >
> > Hello Usman,
> >
> > Did you set up your PyBOMBS environment?  If not, please do so. As
> > long as I understand your prefix is at ~/rfnoc. Being that the case,
> > please run:
> >
> > $ source ~/rfnoc/setup_env.sh
> >
> > After this your shell will have access to everything which has been
> > installed in that prefix, and you should be able to start
> > gnuradio-companion. Please have in mind that you have to set up this
> > environment in every new shell you start.
> >
> > Please let us know if this doesn't work so that we can look further
> > into it.
> >
> > Cheers,
> >
> > - Nicolas
> >
> > On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider
> > > wrote:
> >
> > Yes, could be the cause.  After running the following commands
> >
> > $ cd ~/rfnoc
> > $ source ./setup_env.sh
> > $ uhd_images_downloader
> >
> > I was able to download the images. But when I tried to run
> >
> > |$ gnuradio-companion|
> >
> > It failed giving "The program 'gnuradio-companion' is currently
> > not installed. You can install it by typing: sudo apt-get
> > install gnuradio". Although, I have
> >
> > $ gnuradio-config-info --v
> > v3.7.10.1-202-g6225e5d4
> >
> > $ gnuradio-config-info --prefix
> > /home/emb/rfnoc
> >
> > Otuput of PyBOMBS is as under.
> >
> > $ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc
> > PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> > PyBOMBS.prefix - INFO - Creating directory `/home/emb/rfnoc'
> > Alias `rfnoc' already exists, overwrite Y/[N]? y
> > PyBOMBS.ConfigManager - INFO - Creating new config file
> > /home/emb/rfnoc/.pybombs/config.yml
> > PyBOMBS.prefix - INFO - Installing default packages for prefix...
> > PyBOMBS.prefix - INFO -
> >   - gnuradio
> >   - uhd
> >   - gr-ettus
> >   - uhd-fpga
> > PyBOMBS.install_manager - INFO - Phase 1: Creating install tree
> > and installing binary packages:
> > DEPRECATION: The default format will switch to columns in the
> > future. You can use --format=(legacy|columns) (or define a
> > format=(legacy|columns) in your pip.conf under the [list]
> > section) to disable this warning.
> > Install tree:
> > |
> > +- uhd-fpga
> > |
> > \- gr-ettus
> >|
> >+- uhd
> >|
> >\- gnuradio
> >   |
> >   +- uhd
> >   |
> >   \- apache-thrift
> > PyBOMBS.install_manager - INFO - Phase 2: Recursively installing
> > source packages to prefix:
> > PyBOMBS.install_manager - INFO - Installing package:
> apache-thrift
> > Cloning: (100%)
> > [=]]
> > Cloning: (100%)
> > [=]
> > Configuring: (100%)
> > [=]
> > Building:(100%)
> > [=]
> > Installing:  (100%)
> > [=]
> > PyBOMBS.install_manager - INFO - Installation successful.
> > PyBOMBS.install_manager - INFO - Installing package: uhd
> > Cloning: (100%)
> > 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-18 Thread Martin Braun
It's almost as if UHD installed, but GNU Radio didn't, although your
output says otherwise.

What does

$ ls ~/rfnoc/bin

look like?

Or

$ pybombs inv

?

On 01/18/2017 02:10 AM, Usman Haider wrote:
> Hi Nicolas,
> 
> Thanks for your time. I did that but the result is same. I can run
> 
> |$|uhd_images_downloader
> but 
> |$ gnuradio-companion
> |
> 
> fails. Let me know if any further information is needed. Thanks
> 
> --
> Usman
> On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo
> > wrote:
> 
> Hello Usman,
> 
> Did you set up your PyBOMBS environment?  If not, please do so. As
> long as I understand your prefix is at ~/rfnoc. Being that the case,
> please run:
> 
> $ source ~/rfnoc/setup_env.sh
> 
> After this your shell will have access to everything which has been
> installed in that prefix, and you should be able to start
> gnuradio-companion. Please have in mind that you have to set up this
> environment in every new shell you start.
> 
> Please let us know if this doesn't work so that we can look further
> into it.
> 
> Cheers,
> 
> - Nicolas
> 
> On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider
> > wrote:
> 
> Yes, could be the cause.  After running the following commands
> 
> $ cd ~/rfnoc
> $ source ./setup_env.sh
> $ uhd_images_downloader
> 
> I was able to download the images. But when I tried to run
> 
> |$ gnuradio-companion|
> 
> It failed giving "The program 'gnuradio-companion' is currently
> not installed. You can install it by typing: sudo apt-get
> install gnuradio". Although, I have
> 
> $ gnuradio-config-info --v
> v3.7.10.1-202-g6225e5d4
> 
> $ gnuradio-config-info --prefix
> /home/emb/rfnoc
> 
> Otuput of PyBOMBS is as under.
> 
> $ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc
> PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> PyBOMBS.prefix - INFO - Creating directory `/home/emb/rfnoc'
> Alias `rfnoc' already exists, overwrite Y/[N]? y
> PyBOMBS.ConfigManager - INFO - Creating new config file
> /home/emb/rfnoc/.pybombs/config.yml
> PyBOMBS.prefix - INFO - Installing default packages for prefix...
> PyBOMBS.prefix - INFO -
>   - gnuradio
>   - uhd
>   - gr-ettus
>   - uhd-fpga
> PyBOMBS.install_manager - INFO - Phase 1: Creating install tree
> and installing binary packages:
> DEPRECATION: The default format will switch to columns in the
> future. You can use --format=(legacy|columns) (or define a
> format=(legacy|columns) in your pip.conf under the [list]
> section) to disable this warning.
> Install tree:
> |
> +- uhd-fpga
> |
> \- gr-ettus
>|
>+- uhd
>|
>\- gnuradio
>   |
>   +- uhd
>   |
>   \- apache-thrift
> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing
> source packages to prefix:
> PyBOMBS.install_manager - INFO - Installing package: apache-thrift
> Cloning: (100%)
> [=]]
> Cloning: (100%)
> [=]
> Configuring: (100%)
> [=]
> Building:(100%)
> [=]
> Installing:  (100%)
> [=]
> PyBOMBS.install_manager - INFO - Installation successful.
> PyBOMBS.install_manager - INFO - Installing package: uhd
> Cloning: (100%)
> [=]]
> Configuring: (100%)
> [=]
> Building:(100%)
> [=]
> Installing:  (100%)
> [=]
> PyBOMBS.install_manager - INFO - Installation successful.
> PyBOMBS.install_manager - INFO - Installing package: gnuradio
> Cloning: (100%)
> [=]]
> Configuring: (100%)
> [=]
> Building:(100%)
> [=]
> Installing:  (100%)
> [=]
> PyBOMBS.install_manager - INFO - Installation successful.
> 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-18 Thread Usman Haider
Hi Nicolas,

Thanks for your time. I did that but the result is same. I can run

$ uhd_images_downloader
but
$ gnuradio-companion

fails. Let me know if any further information is needed. Thanks

--
Usman
On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo 
wrote:

> Hello Usman,
>
> Did you set up your PyBOMBS environment?  If not, please do so. As long as
> I understand your prefix is at ~/rfnoc. Being that the case, please run:
>
> $ source ~/rfnoc/setup_env.sh
>
> After this your shell will have access to everything which has been
> installed in that prefix, and you should be able to start
> gnuradio-companion. Please have in mind that you have to set up this
> environment in every new shell you start.
>
> Please let us know if this doesn't work so that we can look further into
> it.
>
> Cheers,
>
> - Nicolas
>
> On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider 
> wrote:
>
>> Yes, could be the cause.  After running the following commands
>>
>> $ cd ~/rfnoc
>> $ source ./setup_env.sh
>> $ uhd_images_downloader
>>
>> I was able to download the images. But when I tried to run
>>
>> $ gnuradio-companion
>>
>> It failed giving "The program 'gnuradio-companion' is currently not
>> installed. You can install it by typing: sudo apt-get install gnuradio".
>> Although, I have
>>
>> $ gnuradio-config-info --v
>> v3.7.10.1-202-g6225e5d4
>>
>> $ gnuradio-config-info --prefix
>> /home/emb/rfnoc
>>
>> Otuput of PyBOMBS is as under.
>>
>> $ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc
>> PyBOMBS - INFO - PyBOMBS Version 2.3.1a
>> PyBOMBS.prefix - INFO - Creating directory `/home/emb/rfnoc'
>> Alias `rfnoc' already exists, overwrite Y/[N]? y
>> PyBOMBS.ConfigManager - INFO - Creating new config file
>> /home/emb/rfnoc/.pybombs/config.yml
>> PyBOMBS.prefix - INFO - Installing default packages for prefix...
>> PyBOMBS.prefix - INFO -
>>   - gnuradio
>>   - uhd
>>   - gr-ettus
>>   - uhd-fpga
>> PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and
>> installing binary packages:
>> DEPRECATION: The default format will switch to columns in the future. You
>> can use --format=(legacy|columns) (or define a format=(legacy|columns) in
>> your pip.conf under the [list] section) to disable this warning.
>> Install tree:
>> |
>> +- uhd-fpga
>> |
>> \- gr-ettus
>>|
>>+- uhd
>>|
>>\- gnuradio
>>   |
>>   +- uhd
>>   |
>>   \- apache-thrift
>> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
>> packages to prefix:
>> PyBOMBS.install_manager - INFO - Installing package: apache-thrift
>> Cloning: (100%) [=
>> ]]
>> Cloning: (100%) [=
>> ]
>> Configuring: (100%) [=
>> ]
>> Building:(100%) [=
>> ]
>> Installing:  (100%) [=
>> ]
>> PyBOMBS.install_manager - INFO - Installation successful.
>> PyBOMBS.install_manager - INFO - Installing package: uhd
>> Cloning: (100%) [=
>> ]]
>> Configuring: (100%) [=
>> ]
>> Building:(100%) [=
>> ]
>> Installing:  (100%) [=
>> ]
>> PyBOMBS.install_manager - INFO - Installation successful.
>> PyBOMBS.install_manager - INFO - Installing package: gnuradio
>> Cloning: (100%) [=
>> ]]
>> Configuring: (100%) [=
>> ]
>> Building:(100%) [=
>> ]
>> Installing:  (100%) [=
>> ]
>> PyBOMBS.install_manager - INFO - Installation successful.
>> PyBOMBS.install_manager - INFO - Installing package: gr-ettus
>> Cloning: (100%) [=
>> ]
>> Configuring: (100%) [=
>> ]
>> Building:(100%) [=
>> ]
>> Installing:  (100%) [=
>> ]
>> PyBOMBS.install_manager - INFO - Installation successful.
>> PyBOMBS.install_manager - INFO - Installing package: uhd-fpga
>> Cloning: (100%) [=
>> ]]
>> Configuring: (100%) [=
>> ]
>> Building:(100%) [=
>> ]
>> Installing:  (100%) [=
>> ]
>> PyBOMBS.install_manager - INFO - Installation 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-18 Thread Nicolas Cuervo
Hello Usman,

Did you set up your PyBOMBS environment?  If not, please do so. As long as
I understand your prefix is at ~/rfnoc. Being that the case, please run:

$ source ~/rfnoc/setup_env.sh

After this your shell will have access to everything which has been
installed in that prefix, and you should be able to start
gnuradio-companion. Please have in mind that you have to set up this
environment in every new shell you start.

Please let us know if this doesn't work so that we can look further into it.

Cheers,

- Nicolas

On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider 
wrote:

> Yes, could be the cause.  After running the following commands
>
> $ cd ~/rfnoc
> $ source ./setup_env.sh
> $ uhd_images_downloader
>
> I was able to download the images. But when I tried to run
>
> $ gnuradio-companion
>
> It failed giving "The program 'gnuradio-companion' is currently not
> installed. You can install it by typing: sudo apt-get install gnuradio".
> Although, I have
>
> $ gnuradio-config-info --v
> v3.7.10.1-202-g6225e5d4
>
> $ gnuradio-config-info --prefix
> /home/emb/rfnoc
>
> Otuput of PyBOMBS is as under.
>
> $ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc
> PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> PyBOMBS.prefix - INFO - Creating directory `/home/emb/rfnoc'
> Alias `rfnoc' already exists, overwrite Y/[N]? y
> PyBOMBS.ConfigManager - INFO - Creating new config file
> /home/emb/rfnoc/.pybombs/config.yml
> PyBOMBS.prefix - INFO - Installing default packages for prefix...
> PyBOMBS.prefix - INFO -
>   - gnuradio
>   - uhd
>   - gr-ettus
>   - uhd-fpga
> PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and
> installing binary packages:
> DEPRECATION: The default format will switch to columns in the future. You
> can use --format=(legacy|columns) (or define a format=(legacy|columns) in
> your pip.conf under the [list] section) to disable this warning.
> Install tree:
> |
> +- uhd-fpga
> |
> \- gr-ettus
>|
>+- uhd
>|
>\- gnuradio
>   |
>   +- uhd
>   |
>   \- apache-thrift
> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
> packages to prefix:
> PyBOMBS.install_manager - INFO - Installing package: apache-thrift
> Cloning: (100%) [=
> ]]
> Cloning: (100%) [=
> ]
> Configuring: (100%) [=
> ]
> Building:(100%) [=
> ]
> Installing:  (100%) [=
> ]
> PyBOMBS.install_manager - INFO - Installation successful.
> PyBOMBS.install_manager - INFO - Installing package: uhd
> Cloning: (100%) [=
> ]]
> Configuring: (100%) [=
> ]
> Building:(100%) [=
> ]
> Installing:  (100%) [=
> ]
> PyBOMBS.install_manager - INFO - Installation successful.
> PyBOMBS.install_manager - INFO - Installing package: gnuradio
> Cloning: (100%) [=
> ]]
> Configuring: (100%) [=
> ]
> Building:(100%) [=
> ]
> Installing:  (100%) [=
> ]
> PyBOMBS.install_manager - INFO - Installation successful.
> PyBOMBS.install_manager - INFO - Installing package: gr-ettus
> Cloning: (100%) [=
> ]
> Configuring: (100%) [=
> ]
> Building:(100%) [=
> ]
> Installing:  (100%) [=
> ]
> PyBOMBS.install_manager - INFO - Installation successful.
> PyBOMBS.install_manager - INFO - Installing package: uhd-fpga
> Cloning: (100%) [=
> ]]
> Configuring: (100%) [=
> ]
> Building:(100%) [=
> ]
> Installing:  (100%) [=
> ]
> PyBOMBS.install_manager - INFO - Installation successful.
>
>
> Any pointers? :)
>
> --
> Usman
>
>
> On Tue, Jan 17, 2017 at 4:47 PM, Marcus Müller 
> wrote:
>
>> Possibly just a temporary failure then; github or your network might have
>> had problems :)
>>
>> Cheers,
>>
>> Marcus
>>
>> On 17.01.2017 08:01, Usman Haider wrote:
>>
>> Hello Marcus,
>>
>> I am surprised the following command ran successfully.
>>
>> $ pybombs -vv recipes add gr-recipes 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-18 Thread Usman Haider
Yes, could be the cause.  After running the following commands

$ cd ~/rfnoc
$ source ./setup_env.sh
$ uhd_images_downloader

I was able to download the images. But when I tried to run

$ gnuradio-companion

It failed giving "The program 'gnuradio-companion' is currently not
installed. You can install it by typing: sudo apt-get install gnuradio".
Although, I have

$ gnuradio-config-info --v
v3.7.10.1-202-g6225e5d4

$ gnuradio-config-info --prefix
/home/emb/rfnoc

Otuput of PyBOMBS is as under.

$ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc
PyBOMBS - INFO - PyBOMBS Version 2.3.1a
PyBOMBS.prefix - INFO - Creating directory `/home/emb/rfnoc'
Alias `rfnoc' already exists, overwrite Y/[N]? y
PyBOMBS.ConfigManager - INFO - Creating new config file
/home/emb/rfnoc/.pybombs/config.yml
PyBOMBS.prefix - INFO - Installing default packages for prefix...
PyBOMBS.prefix - INFO -
  - gnuradio
  - uhd
  - gr-ettus
  - uhd-fpga
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and
installing binary packages:
DEPRECATION: The default format will switch to columns in the future. You
can use --format=(legacy|columns) (or define a format=(legacy|columns) in
your pip.conf under the [list] section) to disable this warning.
Install tree:
|
+- uhd-fpga
|
\- gr-ettus
   |
   +- uhd
   |
   \- gnuradio
  |
  +- uhd
  |
  \- apache-thrift
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: apache-thrift
Cloning: (100%)
[=]]
Cloning: (100%)
[=]
Configuring: (100%)
[=]
Building:(100%)
[=]
Installing:  (100%)
[=]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: uhd
Cloning: (100%)
[=]]
Configuring: (100%)
[=]
Building:(100%)
[=]
Installing:  (100%)
[=]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: gnuradio
Cloning: (100%)
[=]]
Configuring: (100%)
[=]
Building:(100%)
[=]
Installing:  (100%)
[=]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: gr-ettus
Cloning: (100%)
[=]
Configuring: (100%)
[=]
Building:(100%)
[=]
Installing:  (100%)
[=]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: uhd-fpga
Cloning: (100%)
[=]]
Configuring: (100%)
[=]
Building:(100%)
[=]
Installing:  (100%)
[=]
PyBOMBS.install_manager - INFO - Installation successful.


Any pointers? :)

--
Usman


On Tue, Jan 17, 2017 at 4:47 PM, Marcus Müller 
wrote:

> Possibly just a temporary failure then; github or your network might have
> had problems :)
>
> Cheers,
>
> Marcus
>
> On 17.01.2017 08:01, Usman Haider wrote:
>
> Hello Marcus,
>
> I am surprised the following command ran successfully.
>
> $ pybombs -vv recipes add gr-recipes git+https://github.com/
> gnuradio/gr-recipes.git
>
> --
> Usman
>
> On Mon, Jan 16, 2017 at 5:10 PM, Marcus Müller 
> wrote:
>
>> Hm, interesting. Could you run your pybombs command with "-vv"?
>>
>> Best regards,
>>
>> Marcus
>> On 01/16/2017 12:55 PM, Usman Haider wrote:
>>
>> Hello Nicolas,
>>
>> Thanks for your reply. I have sufficient disk space, more than 400 GB,
>> so that is not an issue.  I do not have any .gitconfig file in my home
>> directory. I can download the recipes manually using the command you
>> mentioned.
>>
>> git clone https://github.com/gnuradio/gr-recipes.git gr-recipes
>>
>>
>> Please let me know if you need any further information. Thanks.
>>
>> --
>> Usman
>>
>> On Mon, Jan 16, 2017 at 3:21 PM, Nicolas Cuervo > > wrote:
>>
>>> Hello Usman,
>>>
>>> uhm, this is odd. So far 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-17 Thread Marcus Müller
Possibly just a temporary failure then; github or your network might
have had problems :)

Cheers,

Marcus


On 17.01.2017 08:01, Usman Haider wrote:
> Hello Marcus,
>
> I am surprised the following command ran successfully.
>
> $ pybombs -vv recipes add gr-recipes
> git+https://github.com/gnuradio/gr-recipes.git
>
> --
> Usman
>
> On Mon, Jan 16, 2017 at 5:10 PM, Marcus Müller
> > wrote:
>
> Hm, interesting. Could you run your pybombs command with "-vv"?
>
> Best regards,
>
> Marcus
>
> On 01/16/2017 12:55 PM, Usman Haider wrote:
>> Hello Nicolas,
>>
>> Thanks for your reply. I have sufficient disk space, more than
>> 400 GB,  so that is not an issue.  I do not have any .gitconfig
>> file in my home directory. I can download the recipes manually
>> using the command you mentioned.
>>
>> git clone https://github.com/gnuradio/gr-recipes.git
>>  gr-recipes
>>
>>
>> Please let me know if you need any further information. Thanks.
>>
>> --
>> Usman
>>
>> On Mon, Jan 16, 2017 at 3:21 PM, Nicolas Cuervo
>> > wrote:
>>
>> Hello Usman,
>>
>> uhm, this is odd. So far I can see the command is correct.
>> Although error 128 means that git did not exit cleanly, and I
>> just run it and it ran fine. Just some guesses for now:
>>
>> 1. Do you have enough disk space? the recipes do not require
>> a lot of disk space, though, but not enough space would lead
>> to this.
>> 2. Do you have specific cloning configuration in your
>> gitconfig? you can check this by typing:
>> git config --global --edit
>>
>>  or just by editing .gitconfig which is normally located at
>> your home directory.
>> 3. Can you clone anything else manually? you can try running:
>>
>>  git clone https://github.com/gnuradio/gr-recipes.git
>>  gr-recipes
>>
>>   just as a test that your git is working as expected.
>>
>> Please let us know if you find out something with this
>> hypothesis I mentioned.
>>
>> Cheers,
>>
>> - Nicolas
>>
>>
>>
>>
>> On Mon, Jan 16, 2017 at 9:46 AM, Usman Haider
>> > wrote:
>>
>> I am following this guide to get started with RFNoC.  I
>> am using Ubuntu 14.04 and I ran following commands
>>
>> $ sudo apt-get install git
>> $ sudo apt-get install python-setuptools python-dev 
>> build-essential 
>> $ sudo easy_install pip
>> $ sudo pip install git+https://github.com/gnuradio/pybombs.git
>> 
>>
>> When I run following command
>>
>> $ pybombs -v recipes add gr-recipes 
>> git+https://github.com/gnuradio/gr-recipes.git
>> 
>>
>> I get output.
>> . . . OMBS.PackageManager - DEBUG - Checking
>> if package git is installed... PyBOMBS.Packager.apt -
>> DEBUG - Package git has version 1.9.1 installed
>> PyBOMBS.install_manager - DEBUG - Phase 2: Recursively
>> installing source packages to prefix: PyBOMBS.Fetcher.git
>> - DEBUG - Requirements met. PyBOMBS.Fetcher.git - DEBUG -
>> Using url - https://github.com/gnuradio/gr-recipes.git
>> 
>> PyBOMBS._process_thread() - DEBUG - Executing command
>> `git clone https://github.com/gnuradio/gr-recipes.git
>>  gr-recipes'
>> Cloning: [ PyBOMBS.recipes - ERROR -
>> Could not fetch recipesCloning: [ PyBOMBS.recipes -
>> ERROR - Could not fetch recipes: Process
>> returnCloning: (100%)
>> [=]
>> PyBOMBS.monitor_process() - DEBUG - Thread signaled
>> termination or returned PyBOMBS.monitor_process() - DEBUG
>> - Return value: 128 PyBOMBS.recipes - ERROR - Could not
>> fetch recipes: Process returned value: 128
>> What could be the issue? pybombs version is 2.3.1a.
>> Thanks --
>> Usman
>> ___
>> Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org
>> 
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>  
>>
>> 

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-16 Thread Usman Haider
Hello Marcus,

I am surprised the following command ran successfully.

$ pybombs -vv recipes add gr-recipes git+
https://github.com/gnuradio/gr-recipes.git

--
Usman

On Mon, Jan 16, 2017 at 5:10 PM, Marcus Müller 
wrote:

> Hm, interesting. Could you run your pybombs command with "-vv"?
>
> Best regards,
>
> Marcus
> On 01/16/2017 12:55 PM, Usman Haider wrote:
>
> Hello Nicolas,
>
> Thanks for your reply. I have sufficient disk space, more than 400 GB,  so
> that is not an issue.  I do not have any .gitconfig file in my home
> directory. I can download the recipes manually using the command you
> mentioned.
>
> git clone https://github.com/gnuradio/gr-recipes.git gr-recipes
>
>
> Please let me know if you need any further information. Thanks.
>
> --
> Usman
>
> On Mon, Jan 16, 2017 at 3:21 PM, Nicolas Cuervo 
> wrote:
>
>> Hello Usman,
>>
>> uhm, this is odd. So far I can see the command is correct. Although error
>> 128 means that git did not exit cleanly, and I just run it and it ran fine.
>> Just some guesses for now:
>>
>> 1. Do you have enough disk space? the recipes do not require a lot of
>> disk space, though, but not enough space would lead to this.
>> 2. Do you have specific cloning configuration in your gitconfig? you can
>> check this by typing:
>> git config --global --edit
>>
>>  or just by editing .gitconfig which is normally located at your home
>> directory.
>> 3. Can you clone anything else manually? you can try running:
>>
>>  git clone https://github.com/gnuradio/gr-recipes.git gr-recipes
>>
>>   just as a test that your git is working as expected.
>>
>> Please let us know if you find out something with this hypothesis I
>> mentioned.
>>
>> Cheers,
>>
>> - Nicolas
>>
>>
>>
>>
>> On Mon, Jan 16, 2017 at 9:46 AM, Usman Haider 
>> wrote:
>>
>>> I am following this guide to get started with RFNoC.  I am using Ubuntu
>>> 14.04 and I ran following commands
>>>
>>> $ sudo apt-get install git
>>> $ sudo apt-get install python-setuptools python-dev build-essential
>>> $ sudo easy_install pip
>>> $ sudo pip install git+https://github.com/gnuradio/pybombs.git
>>>
>>> When I run following command
>>>
>>> $ pybombs -v recipes add gr-recipes 
>>> git+https://github.com/gnuradio/gr-recipes.git
>>>
>>> I get output.
>>> . . . OMBS.PackageManager - DEBUG - Checking if package git
>>> is installed... PyBOMBS.Packager.apt - DEBUG - Package git has version
>>> 1.9.1 installed PyBOMBS.install_manager - DEBUG - Phase 2: Recursively
>>> installing source packages to prefix: PyBOMBS.Fetcher.git - DEBUG -
>>> Requirements met. PyBOMBS.Fetcher.git - DEBUG - Using url -
>>> https://github.com/gnuradio/gr-recipes.git PyBOMBS._process_thread() -
>>> DEBUG - Executing command `git clone https://github.com/gnuradio/gr
>>> -recipes.git gr-recipes' Cloning: [ PyBOMBS.recipes
>>> - ERROR - Could not fetch recipesCloning: [ PyBOMBS.recipes - ERROR -
>>> Could not fetch recipes: Process returnCloning: (100%)
>>> [=]
>>> PyBOMBS.monitor_process() - DEBUG - Thread signaled termination or returned
>>> PyBOMBS.monitor_process() - DEBUG - Return value: 128 PyBOMBS.recipes -
>>> ERROR - Could not fetch recipes: Process returned value: 128
>>> What could be the issue? pybombs version is 2.3.1a. Thanks --
>>> Usman
>>> ___ Discuss-gnuradio
>>> mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/
>>> listinfo/discuss-gnuradio
>>
>> ___
> Discuss-gnuradio mailing 
> listDiscuss-gnuradio@gnu.orghttps://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


Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-16 Thread Marcus Müller
Hm, interesting. Could you run your pybombs command with "-vv"?

Best regards,

Marcus

On 01/16/2017 12:55 PM, Usman Haider wrote:
> Hello Nicolas,
>
> Thanks for your reply. I have sufficient disk space, more than 400
> GB,  so that is not an issue.  I do not have any .gitconfig file in my
> home directory. I can download the recipes manually using the command
> you mentioned.
>
> git clone https://github.com/gnuradio/gr-recipes.git
>  gr-recipes
>
>
> Please let me know if you need any further information. Thanks.
>
> --
> Usman
>
> On Mon, Jan 16, 2017 at 3:21 PM, Nicolas Cuervo
> > wrote:
>
> Hello Usman,
>
> uhm, this is odd. So far I can see the command is correct.
> Although error 128 means that git did not exit cleanly, and I just
> run it and it ran fine. Just some guesses for now:
>
> 1. Do you have enough disk space? the recipes do not require a lot
> of disk space, though, but not enough space would lead to this.
> 2. Do you have specific cloning configuration in your gitconfig?
> you can check this by typing:
> git config --global --edit
>
>  or just by editing .gitconfig which is normally located at your
> home directory.
> 3. Can you clone anything else manually? you can try running:
>
>  git clone https://github.com/gnuradio/gr-recipes.git
>  gr-recipes
>
>   just as a test that your git is working as expected.
>
> Please let us know if you find out something with this hypothesis
> I mentioned.
>
> Cheers,
>
> - Nicolas
>
>
>
>
> On Mon, Jan 16, 2017 at 9:46 AM, Usman Haider
> > wrote:
>
> I am following this guide to get started with RFNoC.  I am
> using Ubuntu 14.04 and I ran following commands
>
> $ sudo apt-get install git
> $ sudo apt-get install python-setuptools python-dev build-essential 
> $ sudo easy_install pip
> $ sudo pip install git+https://github.com/gnuradio/pybombs.git
> 
>
> When I run following command
>
> $ pybombs -v recipes add gr-recipes 
> git+https://github.com/gnuradio/gr-recipes.git
> 
>
> I get output.
> . . . OMBS.PackageManager - DEBUG - Checking if
> package git is installed... PyBOMBS.Packager.apt - DEBUG -
> Package git has version 1.9.1 installed
> PyBOMBS.install_manager - DEBUG - Phase 2: Recursively
> installing source packages to prefix: PyBOMBS.Fetcher.git -
> DEBUG - Requirements met. PyBOMBS.Fetcher.git - DEBUG - Using
> url - https://github.com/gnuradio/gr-recipes.git
> 
> PyBOMBS._process_thread() - DEBUG - Executing command `git
> clone https://github.com/gnuradio/gr-recipes.git
>  gr-recipes'
> Cloning: [ PyBOMBS.recipes - ERROR - Could
> not fetch recipesCloning: [ PyBOMBS.recipes - ERROR -
> Could not fetch recipes: Process returnCloning: (100%)
> [=]
> PyBOMBS.monitor_process() - DEBUG - Thread signaled
> termination or returned PyBOMBS.monitor_process() - DEBUG -
> Return value: 128 PyBOMBS.recipes - ERROR - Could not fetch
> recipes: Process returned value: 128
> What could be the issue? pybombs version is 2.3.1a. Thanks --
> Usman
> ___
> 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


Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-16 Thread Usman Haider
Hello Nicolas,

Thanks for your reply. I have sufficient disk space, more than 400 GB,  so
that is not an issue.  I do not have any .gitconfig file in my home
directory. I can download the recipes manually using the command you
mentioned.

git clone https://github.com/gnuradio/gr-recipes.git gr-recipes


Please let me know if you need any further information. Thanks.

--
Usman

On Mon, Jan 16, 2017 at 3:21 PM, Nicolas Cuervo 
wrote:

> Hello Usman,
>
> uhm, this is odd. So far I can see the command is correct. Although error
> 128 means that git did not exit cleanly, and I just run it and it ran fine.
> Just some guesses for now:
>
> 1. Do you have enough disk space? the recipes do not require a lot of disk
> space, though, but not enough space would lead to this.
> 2. Do you have specific cloning configuration in your gitconfig? you can
> check this by typing:
> git config --global --edit
>
>  or just by editing .gitconfig which is normally located at your home
> directory.
> 3. Can you clone anything else manually? you can try running:
>
>  git clone https://github.com/gnuradio/gr-recipes.git gr-recipes
>
>   just as a test that your git is working as expected.
>
> Please let us know if you find out something with this hypothesis I
> mentioned.
>
> Cheers,
>
> - Nicolas
>
>
>
>
> On Mon, Jan 16, 2017 at 9:46 AM, Usman Haider 
> wrote:
>
>> I am following this guide to get started with RFNoC.  I am using Ubuntu
>> 14.04 and I ran following commands
>>
>> $ sudo apt-get install git
>> $ sudo apt-get install python-setuptools python-dev build-essential
>> $ sudo easy_install pip
>> $ sudo pip install git+https://github.com/gnuradio/pybombs.git
>>
>> When I run following command
>>
>> $ pybombs -v recipes add gr-recipes 
>> git+https://github.com/gnuradio/gr-recipes.git
>>
>> I get output.
>>
>> .
>> .
>> .
>> OMBS.PackageManager - DEBUG - Checking if package git is installed...
>> PyBOMBS.Packager.apt - DEBUG - Package git has version 1.9.1 installed
>> PyBOMBS.install_manager - DEBUG - Phase 2: Recursively installing source
>> packages to prefix:
>> PyBOMBS.Fetcher.git - DEBUG - Requirements met.
>> PyBOMBS.Fetcher.git - DEBUG - Using url - https://github.com/gnuradio/gr
>> -recipes.git
>> PyBOMBS._process_thread() - DEBUG - Executing command `git clone
>> https://github.com/gnuradio/gr-recipes.git gr-recipes'
>> Cloning: [ PyBOMBS.recipes - ERROR - Could not fetch
>> recipesCloning: [ PyBOMBS.recipes - ERROR - Could not fetch recipes:
>> Process returnCloning: (100%) [=
>> ]
>> PyBOMBS.monitor_process() - DEBUG - Thread signaled termination or
>> returned
>> PyBOMBS.monitor_process() - DEBUG - Return value: 128
>> PyBOMBS.recipes - ERROR - Could not fetch recipes: Process returned
>> value: 128
>>
>>
>> What could be the issue? pybombs version is 2.3.1a. Thanks
>>
>>
>> --
>> Usman
>>
>>
>> ___
>> 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] PyBombs installation issue

2017-01-16 Thread Nicolas Cuervo
Hello Usman,

uhm, this is odd. So far I can see the command is correct. Although error
128 means that git did not exit cleanly, and I just run it and it ran fine.
Just some guesses for now:

1. Do you have enough disk space? the recipes do not require a lot of disk
space, though, but not enough space would lead to this.
2. Do you have specific cloning configuration in your gitconfig? you can
check this by typing:
git config --global --edit

 or just by editing .gitconfig which is normally located at your home
directory.
3. Can you clone anything else manually? you can try running:

 git clone https://github.com/gnuradio/gr-recipes.git gr-recipes

  just as a test that your git is working as expected.

Please let us know if you find out something with this hypothesis I
mentioned.

Cheers,

- Nicolas




On Mon, Jan 16, 2017 at 9:46 AM, Usman Haider 
wrote:

> I am following this guide to get started with RFNoC.  I am using Ubuntu
> 14.04 and I ran following commands
>
> $ sudo apt-get install git
> $ sudo apt-get install python-setuptools python-dev build-essential
> $ sudo easy_install pip
> $ sudo pip install git+https://github.com/gnuradio/pybombs.git
>
> When I run following command
>
> $ pybombs -v recipes add gr-recipes 
> git+https://github.com/gnuradio/gr-recipes.git
>
> I get output.
>
> .
> .
> .
> OMBS.PackageManager - DEBUG - Checking if package git is installed...
> PyBOMBS.Packager.apt - DEBUG - Package git has version 1.9.1 installed
> PyBOMBS.install_manager - DEBUG - Phase 2: Recursively installing source
> packages to prefix:
> PyBOMBS.Fetcher.git - DEBUG - Requirements met.
> PyBOMBS.Fetcher.git - DEBUG - Using url - https://github.com/gnuradio/
> gr-recipes.git
> PyBOMBS._process_thread() - DEBUG - Executing command `git clone
> https://github.com/gnuradio/gr-recipes.git gr-recipes'
> Cloning: [ PyBOMBS.recipes - ERROR - Could not fetch
> recipesCloning: [ PyBOMBS.recipes - ERROR - Could not fetch recipes:
> Process returnCloning: (100%) [=
> ]
> PyBOMBS.monitor_process() - DEBUG - Thread signaled termination or returned
> PyBOMBS.monitor_process() - DEBUG - Return value: 128
> PyBOMBS.recipes - ERROR - Could not fetch recipes: Process returned value:
> 128
>
>
> What could be the issue? pybombs version is 2.3.1a. Thanks
>
>
> --
> Usman
>
>
> ___
> 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] PyBombs installation issue

2017-01-16 Thread Usman Haider
I am following this guide to get started with RFNoC.  I am using Ubuntu
14.04 and I ran following commands

$ sudo apt-get install git
$ sudo apt-get install python-setuptools python-dev build-essential
$ sudo easy_install pip
$ sudo pip install git+https://github.com/gnuradio/pybombs.git

When I run following command

$ pybombs -v recipes add gr-recipes
git+https://github.com/gnuradio/gr-recipes.git

I get output.

.
.
.
OMBS.PackageManager - DEBUG - Checking if package git is installed...
PyBOMBS.Packager.apt - DEBUG - Package git has version 1.9.1 installed
PyBOMBS.install_manager - DEBUG - Phase 2: Recursively installing source
packages to prefix:
PyBOMBS.Fetcher.git - DEBUG - Requirements met.
PyBOMBS.Fetcher.git - DEBUG - Using url -
https://github.com/gnuradio/gr-recipes.git
PyBOMBS._process_thread() - DEBUG - Executing command `git clone
https://github.com/gnuradio/gr-recipes.git gr-recipes'
Cloning: [ PyBOMBS.recipes - ERROR - Could not fetch
recipesCloning: [ PyBOMBS.recipes - ERROR - Could not fetch recipes:
Process returnCloning: (100%)
[=]
PyBOMBS.monitor_process() - DEBUG - Thread signaled termination or returned
PyBOMBS.monitor_process() - DEBUG - Return value: 128
PyBOMBS.recipes - ERROR - Could not fetch recipes: Process returned value:
128


What could be the issue? pybombs version is 2.3.1a. Thanks


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


Re: [Discuss-gnuradio] Pybombs problems resolved

2016-12-10 Thread Ben Hilburn
Glad you got it up and running, Bob!

I've never used Conda, but I believe it's a way of managing multiple
installs of Python. It's possible something else on your system used it to
install a specific version of Python that is out-of-sync with the version
distributed with your OS. Either way, it sounds like you are all set, now =)

Cheers,
Benn

On Tue, Dec 6, 2016 at 1:02 PM, Robert McGwier  wrote:

> Something installed python under a directory called miniconda.  I have not
> yet tracked that down but gnuradio and pybombs now work.
>
> Apologies to Martin, et. al. for wasting their time on my silly too
> complex installation.
>
> Bob
>
>
> --
> Bob McGwier
> Founder, Federated Wireless, Inc
> Founder and Technical Advisor, HawkEye 360, Inc
> Research Professor Virginia Tech
> Chief Scientist:  The Ted and Karyn Hume Center for National Security and
> Technology
> Senior Member IEEE, Facebook: N4HYBob, ARS: N4HY
> Faculty Advisor Virginia Tech Amateur Radio Assn. (K4KDJ)
> Director of AMSAT and member of PVRC, TAPR, and life member of ARRL and
> AMSAT
>
> ___
> 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] Pybombs problems resolved

2016-12-06 Thread Robert McGwier
Something installed python under a directory called miniconda.  I have not
yet tracked that down but gnuradio and pybombs now work.

Apologies to Martin, et. al. for wasting their time on my silly too complex
installation.

Bob


-- 
Bob McGwier
Founder, Federated Wireless, Inc
Founder and Technical Advisor, HawkEye 360, Inc
Research Professor Virginia Tech
Chief Scientist:  The Ted and Karyn Hume Center for National Security and
Technology
Senior Member IEEE, Facebook: N4HYBob, ARS: N4HY
Faculty Advisor Virginia Tech Amateur Radio Assn. (K4KDJ)
Director of AMSAT and member of PVRC, TAPR, and life member of ARRL and
AMSAT
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] pybombs and mako

2016-12-03 Thread Martin Braun
No we're not (at least, GNU Radio is not). My comment was that maybe,
PyBOMBS is checking for mako's existence with Py3k, and then GNU Radio
and UHD are using Python 2. It's just a wild guess -- no idea how that
would ever occur. But you do seem to be a magnet for weird build
failures, so I'm ruling out nothing :)

Cheers,
Martin

On 12/03/2016 05:27 AM, Robert McGwier wrote:
> Thank you Martin.  Are we ready to shift to Python 3?  If so, I will
> move my development machine over to that and try again.  My development
> machine having this problem is at work and I am at home.  I will try
> again on my machine here at home and install using python 3 to test.
> 
> Bob
> 
> 
> On Thu, Dec 1, 2016 at 11:33 PM, Martin Braun  > wrote:
> 
> Does python -c 'import mako' also fail? What does python --version
> print?
> 
> I'm wondering if this is maybe a Python version mismatch. PyBOMBS
> wouldn't raise an error if a Py2k mako is installed, but you actually
> need a Py3k version.
> 
> Cheers,
> M
> 
> On 12/01/2016 06:57 AM, Robert McGwier wrote:
> > This is ubuntu 16.04 on an Intel machine (high end).
> >
> > usual startup with recipe install, prefix init, etc.
> >
> >
> > find . | grep mako yields
> >
> > /usr/lib/python2.7/dist-packages/mako
> >
> > and much underneath it.
> >
> > pybombs install gnuradio yields
> >
> >
> > Install tree:
> > |
> > \- gnuradio
> >|
> >+- uhd
> >|
> >\- apache-thrift
> > PyBOMBS.install_manager - INFO - Installing package: apache-thrift
> > Cloning: (100%)
> > [=]
> > Cloning: (100%)
> > [=]
> > Configuring: (100%)
> > [=]
> > Building:(100%)
> > [=]
> > Installing:  (100%)
> > [=]
> > PyBOMBS.install_manager - INFO - Installation successful.
> > PyBOMBS.install_manager - INFO - Installing package: uhd
> > Cloning: (100%)
> > [=]
> > Configuring: (100%)
> > [=]
> > PyBOMBS.Packager.source - WARNING - Configuration failed.
> Re-trying with
> > higher verbosity.
> > --
> > -- Configuring the python interpreter...
> > -- Python interpreter: /home/n4hy/miniconda2/bin/python
> > -- Override with: -DPYTHON_EXECUTABLE=
> > -- Operating on master branch.
> > -- Using UHD Images Directory: OFF
> > --
> > -- Configuring Boost C++ Libraries...
> > -- Boost version: 1.58.0
> > -- Found the following Boost libraries:
> > --   chrono
> > --   date_time
> > --   filesystem
> > --   program_options
> > --   regex
> > --   system
> > --   unit_test_framework
> > --   serialization
> > --   thread
> > --   atomic
> > -- Boost include directories: /usr/include
> > -- Boost library directories: /usr/lib/x86_64-linux-gnu
> > -- Boost libraries:
> >
> 
> /usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/x86_64-linux-gnu/libpthread.so
> > --
> > -- Python checking for Python version 2.7 or greater
> > -- Python checking for Python version 2.7 or greater - found
> > --
> > -- Python checking for Mako templates 0.4.2 or greater
> > -- Python checking for Mako templates 0.4.2 or greater - "import mako"
> > failed
> > --
> > -- Python checking for requests 2.0 or greater
> > -- Python checking for requests 2.0 or greater - found
> > --
> > -- Configuring LibUHD support...
> > --   Dependency Boost_FOUND = 1
> > --   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
> > --   Dependency HAVE_PYTHON_MODULE_MAKO = FALSE
> > CMake Error at cmake/Modules/UHDComponent.cmake:51 (MESSAGE):
> >   Dependencies for required component LibUHD not met.
> > Call Stack (most recent call first):
> >   CMakeLists.txt:348 (LIBUHD_REGISTER_COMPONENT)
> >
> >
> > -- Configuring incomplete, errors occurred!
> > See also
> "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/CMakeOutput.log".
> > See also
> 

Re: [Discuss-gnuradio] pybombs and mako

2016-12-03 Thread Robert McGwier
Thank you Martin.  Are we ready to shift to Python 3?  If so, I will move
my development machine over to that and try again.  My development machine
having this problem is at work and I am at home.  I will try again on my
machine here at home and install using python 3 to test.

Bob


On Thu, Dec 1, 2016 at 11:33 PM, Martin Braun 
wrote:

> Does python -c 'import mako' also fail? What does python --version print?
>
> I'm wondering if this is maybe a Python version mismatch. PyBOMBS
> wouldn't raise an error if a Py2k mako is installed, but you actually
> need a Py3k version.
>
> Cheers,
> M
>
> On 12/01/2016 06:57 AM, Robert McGwier wrote:
> > This is ubuntu 16.04 on an Intel machine (high end).
> >
> > usual startup with recipe install, prefix init, etc.
> >
> >
> > find . | grep mako yields
> >
> > /usr/lib/python2.7/dist-packages/mako
> >
> > and much underneath it.
> >
> > pybombs install gnuradio yields
> >
> >
> > Install tree:
> > |
> > \- gnuradio
> >|
> >+- uhd
> >|
> >\- apache-thrift
> > PyBOMBS.install_manager - INFO - Installing package: apache-thrift
> > Cloning: (100%)
> > [=]
> > Cloning: (100%)
> > [=]
> > Configuring: (100%)
> > [=]
> > Building:(100%)
> > [=]
> > Installing:  (100%)
> > [=]
> > PyBOMBS.install_manager - INFO - Installation successful.
> > PyBOMBS.install_manager - INFO - Installing package: uhd
> > Cloning: (100%)
> > [=]
> > Configuring: (100%)
> > [=]
> > PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with
> > higher verbosity.
> > --
> > -- Configuring the python interpreter...
> > -- Python interpreter: /home/n4hy/miniconda2/bin/python
> > -- Override with: -DPYTHON_EXECUTABLE=
> > -- Operating on master branch.
> > -- Using UHD Images Directory: OFF
> > --
> > -- Configuring Boost C++ Libraries...
> > -- Boost version: 1.58.0
> > -- Found the following Boost libraries:
> > --   chrono
> > --   date_time
> > --   filesystem
> > --   program_options
> > --   regex
> > --   system
> > --   unit_test_framework
> > --   serialization
> > --   thread
> > --   atomic
> > -- Boost include directories: /usr/include
> > -- Boost library directories: /usr/lib/x86_64-linux-gnu
> > -- Boost libraries:
> > /usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/
> x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-
> linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/
> libboost_program_options.so;/usr/lib/x86_64-linux-gnu/
> libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_
> system.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_
> framework.so;/usr/lib/x86_64-linux-gnu/libboost_
> serialization.so;/usr/lib/x86_64-linux-gnu/libboost_thread.
> so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/
> x86_64-linux-gnu/libpthread.so
> > --
> > -- Python checking for Python version 2.7 or greater
> > -- Python checking for Python version 2.7 or greater - found
> > --
> > -- Python checking for Mako templates 0.4.2 or greater
> > -- Python checking for Mako templates 0.4.2 or greater - "import mako"
> > failed
> > --
> > -- Python checking for requests 2.0 or greater
> > -- Python checking for requests 2.0 or greater - found
> > --
> > -- Configuring LibUHD support...
> > --   Dependency Boost_FOUND = 1
> > --   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
> > --   Dependency HAVE_PYTHON_MODULE_MAKO = FALSE
> > CMake Error at cmake/Modules/UHDComponent.cmake:51 (MESSAGE):
> >   Dependencies for required component LibUHD not met.
> > Call Stack (most recent call first):
> >   CMakeLists.txt:348 (LIBUHD_REGISTER_COMPONENT)
> >
> >
> > -- Configuring incomplete, errors occurred!
> > See also "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/
> CMakeOutput.log".
> > See also "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/
> CMakeError.log".
> > PyBOMBS.Packager.source - ERROR - Configuration failed after running at
> > least twice.
> > PyBOMBS.Packager.source - ERROR - Problem occurred while building
> > package uhd:
> > Configuration failed
> > PyBOMBS.install_manager - ERROR - Error installing package uhd. Aborting
> > --
> > Bob McGwier
> > Founder, Federated Wireless, Inc
> > Founder and Technical Advisor, HawkEye 360, Inc
> > Research Professor Virginia Tech
> > Chief Scientist:  The Ted and Karyn Hume Center for National Security
> > and Technology
> > Senior Member IEEE, Facebook: N4HYBob, ARS: N4HY
> > Faculty Advisor Virginia Tech Amateur Radio Assn. (K4KDJ)
> > Director of AMSAT and member of PVRC, TAPR, and life member of ARRL and
> > AMSAT
> >
> >
> > 

Re: [Discuss-gnuradio] pybombs and mako

2016-12-01 Thread Martin Braun
Does python -c 'import mako' also fail? What does python --version print?

I'm wondering if this is maybe a Python version mismatch. PyBOMBS
wouldn't raise an error if a Py2k mako is installed, but you actually
need a Py3k version.

Cheers,
M

On 12/01/2016 06:57 AM, Robert McGwier wrote:
> This is ubuntu 16.04 on an Intel machine (high end).
> 
> usual startup with recipe install, prefix init, etc.
> 
> 
> find . | grep mako yields
> 
> /usr/lib/python2.7/dist-packages/mako
> 
> and much underneath it.
> 
> pybombs install gnuradio yields
> 
> 
> Install tree:
> |
> \- gnuradio
>|
>+- uhd
>|
>\- apache-thrift
> PyBOMBS.install_manager - INFO - Installing package: apache-thrift
> Cloning: (100%)
> [=]
> Cloning: (100%)
> [=]
> Configuring: (100%)
> [=]
> Building:(100%)
> [=]
> Installing:  (100%)
> [=]
> PyBOMBS.install_manager - INFO - Installation successful.
> PyBOMBS.install_manager - INFO - Installing package: uhd
> Cloning: (100%)
> [=]
> Configuring: (100%)
> [=]
> PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with
> higher verbosity.
> -- 
> -- Configuring the python interpreter...
> -- Python interpreter: /home/n4hy/miniconda2/bin/python
> -- Override with: -DPYTHON_EXECUTABLE=
> -- Operating on master branch.
> -- Using UHD Images Directory: OFF
> -- 
> -- Configuring Boost C++ Libraries...
> -- Boost version: 1.58.0
> -- Found the following Boost libraries:
> --   chrono
> --   date_time
> --   filesystem
> --   program_options
> --   regex
> --   system
> --   unit_test_framework
> --   serialization
> --   thread
> --   atomic
> -- Boost include directories: /usr/include
> -- Boost library directories: /usr/lib/x86_64-linux-gnu
> -- Boost libraries:
> /usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/x86_64-linux-gnu/libpthread.so
> -- 
> -- Python checking for Python version 2.7 or greater
> -- Python checking for Python version 2.7 or greater - found
> -- 
> -- Python checking for Mako templates 0.4.2 or greater
> -- Python checking for Mako templates 0.4.2 or greater - "import mako"
> failed
> -- 
> -- Python checking for requests 2.0 or greater
> -- Python checking for requests 2.0 or greater - found
> -- 
> -- Configuring LibUHD support...
> --   Dependency Boost_FOUND = 1
> --   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
> --   Dependency HAVE_PYTHON_MODULE_MAKO = FALSE
> CMake Error at cmake/Modules/UHDComponent.cmake:51 (MESSAGE):
>   Dependencies for required component LibUHD not met.
> Call Stack (most recent call first):
>   CMakeLists.txt:348 (LIBUHD_REGISTER_COMPONENT)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/CMakeOutput.log".
> See also "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/CMakeError.log".
> PyBOMBS.Packager.source - ERROR - Configuration failed after running at
> least twice.
> PyBOMBS.Packager.source - ERROR - Problem occurred while building
> package uhd:
> Configuration failed
> PyBOMBS.install_manager - ERROR - Error installing package uhd. Aborting
> -- 
> Bob McGwier
> Founder, Federated Wireless, Inc
> Founder and Technical Advisor, HawkEye 360, Inc
> Research Professor Virginia Tech
> Chief Scientist:  The Ted and Karyn Hume Center for National Security
> and Technology
> Senior Member IEEE, Facebook: N4HYBob, ARS: N4HY
> Faculty Advisor Virginia Tech Amateur Radio Assn. (K4KDJ)
> Director of AMSAT and member of PVRC, TAPR, and life member of ARRL and
> AMSAT
> 
> 
> ___
> 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] pybombs and mako

2016-12-01 Thread Robert McGwier
This is ubuntu 16.04 on an Intel machine (high end).

usual startup with recipe install, prefix init, etc.


find . | grep mako yields

/usr/lib/python2.7/dist-packages/mako

and much underneath it.

pybombs install gnuradio yields


Install tree:
|
\- gnuradio
   |
   +- uhd
   |
   \- apache-thrift
PyBOMBS.install_manager - INFO - Installing package: apache-thrift
Cloning: (100%)
[=]
Cloning: (100%)
[=]
Configuring: (100%)
[=]
Building:(100%)
[=]
Installing:  (100%)
[=]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: uhd
Cloning: (100%)
[=]
Configuring: (100%)
[=]
PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with
higher verbosity.
-- 
-- Configuring the python interpreter...
-- Python interpreter: /home/n4hy/miniconda2/bin/python
-- Override with: -DPYTHON_EXECUTABLE=
-- Operating on master branch.
-- Using UHD Images Directory: OFF
-- 
-- Configuring Boost C++ Libraries...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   chrono
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   unit_test_framework
--   serialization
--   thread
--   atomic
-- Boost include directories: /usr/include
-- Boost library directories: /usr/lib/x86_64-linux-gnu
-- Boost libraries:
/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/x86_64-linux-gnu/libpthread.so
-- 
-- Python checking for Python version 2.7 or greater
-- Python checking for Python version 2.7 or greater - found
-- 
-- Python checking for Mako templates 0.4.2 or greater
-- Python checking for Mako templates 0.4.2 or greater - "import mako"
failed
-- 
-- Python checking for requests 2.0 or greater
-- Python checking for requests 2.0 or greater - found
-- 
-- Configuring LibUHD support...
--   Dependency Boost_FOUND = 1
--   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
--   Dependency HAVE_PYTHON_MODULE_MAKO = FALSE
CMake Error at cmake/Modules/UHDComponent.cmake:51 (MESSAGE):
  Dependencies for required component LibUHD not met.
Call Stack (most recent call first):
  CMakeLists.txt:348 (LIBUHD_REGISTER_COMPONENT)


-- Configuring incomplete, errors occurred!
See also "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/CMakeOutput.log".
See also "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/CMakeError.log".
PyBOMBS.Packager.source - ERROR - Configuration failed after running at
least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package
uhd:
Configuration failed
PyBOMBS.install_manager - ERROR - Error installing package uhd. Aborting
-- 
Bob McGwier
Founder, Federated Wireless, Inc
Founder and Technical Advisor, HawkEye 360, Inc
Research Professor Virginia Tech
Chief Scientist:  The Ted and Karyn Hume Center for National Security and
Technology
Senior Member IEEE, Facebook: N4HYBob, ARS: N4HY
Faculty Advisor Virginia Tech Amateur Radio Assn. (K4KDJ)
Director of AMSAT and member of PVRC, TAPR, and life member of ARRL and
AMSAT
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] pybombs gnuradio vs gnuradio-default

2016-08-23 Thread Jason Matusiak

I think a more appropriate solution might be to allow re-running
`pybombs prefix init`, and have that continue where it stopped.

I agree, that would make the most sense from my end.


Andrej, can you submit an issue for this on github?

Thanks so much!

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


Re: [Discuss-gnuradio] pybombs gnuradio vs gnuradio-default

2016-08-23 Thread Martin Braun
On 08/23/2016 05:56 AM, Andrej Rode wrote:
> Hello Jason,
> 
>> Why is there two different installs?
> 
> Basically gnuradio is the correct install for a pure gnuradio install.
> gnuradio-default is more or less a meta-package installing gnuradio and
> gr-osmosdr. This is most convenient if you want to use gnuradio with a
> hardware device not supported by uhd. (RTL-sdr/airspy/hackrf or similar)
> 
> But you should also be able to install gnuradio-default if something fails?

...maybe. A prefix recipe has more than just a list of packages, it also
applies settings to the prefix itself.

I think a more appropriate solution might be to allow re-running
`pybombs prefix init`, and have that continue where it stopped.

Andrej, can you submit an issue for this on github?

M




signature.asc
Description: OpenPGP digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] pybombs gnuradio vs gnuradio-default

2016-08-23 Thread Andrej Rode
Hello Jason,

> Why is there two different installs?

Basically gnuradio is the correct install for a pure gnuradio install.
gnuradio-default is more or less a meta-package installing gnuradio and
gr-osmosdr. This is most convenient if you want to use gnuradio with a
hardware device not supported by uhd. (RTL-sdr/airspy/hackrf or similar)

But you should also be able to install gnuradio-default if something fails?

Cheers
Andrej



signature.asc
Description: OpenPGP digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] pybombs gnuradio vs gnuradio-default

2016-08-23 Thread Jason Matusiak
What is the difference between the two?  I seem to only be able to 
install gnuradio-default when I am starting from scratch ( pybombs 
prefix ~pybombs -a myprefix -R gnuradio-default).  If my install fails 
and I don't want to blow everything away, I think I need to do the 
following to get it to work: pybombs -p myprefix install gnuradio.


Why is there two different installs?

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


Re: [Discuss-gnuradio] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-02 Thread Cyrille DERORY
Hi,

I removed the source and ran a new build.
Now gnuradio compilation is finished (100%).

However I had to change the file script: "setup_env.sh" because the
environment  variables were not updated and gnuradio-companion couldn't be
launched.
I added a new line at the end of the file:
bash -i

Cyrille

2016-08-02 15:09 GMT+02:00 Stefan Wunsch :

> Hi,
>
> Ok sry, indeed it does solve the problem (thx to Marcus, master of
> solving gnuradio problems!). I tricked myself because I removed gnuradio
> but not libuhd (run pacman -R libuhd), probably you did the same?
>
> Regarding your new problem at 33%: I think this can be solved if you
> remove the source (or the prefix :P) and run a completely new build. Or
> remove it and reinstall it, sth like this.
>
> Greetings
> Stefan
>
> On 08/02/2016 11:02 AM, Cyrille DERORY wrote:
> > Hi,
> >
> > Gnuradio-3.7.10-1 release:
> > https://www.archlinux.org/packages/community/x86_64/gnuradio/ ) was
> > already installed when I used PyBOMBS.
> > I've just uninstalled gnuradio-3.7.10-1 and all dependancies
> > (libuhd-3.9.4-1, libvolk-1.3-1, gnuradio-iqbal-0.37.2-19) and now
> > PyBOMBS stop compiling at 32%.
> > Previously it was at 85%:
> >
> > [cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
> > PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> > /etc/pybombs/config.yml
> > PyBOMBS.ConfigManager - DEBUG - New config items: {}
> > PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> > /root/.pybombs/config.yml
> > PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
> > 'default_prx'}
> > PyBOMBS.ConfigManager - DEBUG - Template directory:
> > /usr/lib/python3.5/site-packages/pybombs/templates
> > PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> > /etc/pybombs/config.yml
> > PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> > /root/.pybombs/config.yml
> > PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
> > (/home/cderory)
> > PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix
> > config dir: /home/cderory/.pybombs
> > PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> > /home/cderory/.pybombs/config.yml
> > PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
> > /home/cderory/src
> > PyBOMBS.Inventory - DEBUG - Trying to load inventory file
> > /home/cderory/.pybombs/inventory.yml...
> > PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
> > /home/cderory/.pybombs/recipes
> > PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> > /home/cderory/.pybombs/config.yml
> > PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
> > 'default'}
> > PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
> > ['/home/cderory/.pybombs/recipes',
> > '/home/cderory/.pybombs/recipes/gr-etcetera',
> > '/home/cderory/.pybombs/recipes/gr-recipes',
> > '/root/.pybombs/recipes/gr-etcetera',
> > '/root/.pybombs/recipes/gr-recipes',
> > '/usr/lib/python3.5/site-packages/pybombs/recipes']
> > PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-etcetera':
> > 'git+https://github.com/gnuradio/gr-etcetera.git', 'gr-recipes':
> > 'git+https://github.com/gnuradio/gr-recipes.git'}
> > PyBOMBS - INFO - PyBOMBS Version 2.1.0
> > PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> > /home/cderory/.pybombs/recipes
> > PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> > '/home/cderory/.pybombs/recipes' for recipes...
> > PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
> > PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> > PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> > /home/cderory/.pybombs/recipes/gr-etcetera
> > PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> > '/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
> > PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
> > PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> > PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> > /home/cderory/.pybombs/recipes/gr-recipes
> > PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> > '/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
> > PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
> > PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> > PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> > /root/.pybombs/recipes/gr-etcetera
> > PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> > '/root/.pybombs/recipes/gr-etcetera' for recipes...
> > PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
> > PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> > PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> > /root/.pybombs/recipes/gr-recipes
> > PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> > '/root/.pybombs/recipes/gr-recipes' for recipes...
> > PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
> > 

Re: [Discuss-gnuradio] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-02 Thread Martin Braun
...or if there's multiple UHDs installed. There seems to be an error in
either gr-uhd or some other GNU Radio CMakery which doesn't apply the
same settings for UHD linkage to lib/ and swig/.

M

On 08/02/2016 01:22 AM, Marcus Müller wrote:
> Hi Stefan, Hi Cyrille,
> 
> I've seen this error before, but only with people that updated their GNU
> Radio source code (git pull), and then ran "make" again; swig sometimes
> stumbles upon this, and it takes a "make clean" to work again.
> 
> Now assuming this is not the case here, can you make sure you don't have
> two conflicting versions of UHD around?
> 
> 
> Best regards,
> 
> Marcus
> 
> 
> On 02.08.2016 09:03, Stefan Wunsch wrote:
>> And btw, it worked some month ago, when I implemented the pacman support
>> in pybombs. So the changes has to be somewhen since then.
>>
>> On 08/01/2016 10:38 PM, Cyrille DERORY wrote:
>>> Hi,
>>>
>>> with PyBOMBS, I'm compiling gnuradio on archlinux:
>>> sudo pybombs -v install gnuradio
>>> and I get errors with uhd_swigPYTHON_wrap.cxx.
>>> (see end of the attached verbose log)
>>>
>>> Any ideas?
>>>
>>> Best regards.
>>>
>>> Cyrille DERORY
>>>
>>>
>>> [cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
>>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>>> /etc/pybombs/config.yml
>>> PyBOMBS.ConfigManager - DEBUG - New config items: {}
>>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>>> /root/.pybombs/config.yml
>>> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
>>> 'default_prx'}
>>> PyBOMBS.ConfigManager - DEBUG - Template directory:
>>> /usr/lib/python3.5/site-packages/pybombs/templates
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>>> /etc/pybombs/config.yml
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>>> /root/.pybombs/config.yml
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
>>> (/home/cderory)
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix
>>> config dir: /home/cderory/.pybombs
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>>> /home/cderory/.pybombs/config.yml
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
>>> /home/cderory/src
>>> PyBOMBS.Inventory - DEBUG - Trying to load inventory file
>>> /home/cderory/.pybombs/inventory.yml...
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
>>> /home/cderory/.pybombs/recipes
>>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>>> /home/cderory/.pybombs/config.yml
>>> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
>>> 'default'}
>>> PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
>>> ['/home/cderory/.pybombs/recipes',
>>> '/home/cderory/.pybombs/recipes/gr-recipes',
>>> '/home/cderory/.pybombs/recipes/gr-etcetera',
>>> '/root/.pybombs/recipes/gr-recipes',
>>> '/root/.pybombs/recipes/gr-etcetera',
>>> '/usr/lib/python3.5/site-packages/pybombs/recipes']
>>> PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-recipes':
>>> 'git+https://github.com/gnuradio/gr-recipes.git', 'gr-etcetera':
>>> 'git+https://github.com/gnuradio/gr-etcetera.git'}
>>> PyBOMBS - INFO - PyBOMBS Version 2.1.0
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /home/cderory/.pybombs/recipes
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/home/cderory/.pybombs/recipes' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /home/cderory/.pybombs/recipes/gr-recipes
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /home/cderory/.pybombs/recipes/gr-etcetera
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /root/.pybombs/recipes/gr-recipes
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/root/.pybombs/recipes/gr-recipes' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /root/.pybombs/recipes/gr-etcetera
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/root/.pybombs/recipes/gr-etcetera' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager 

Re: [Discuss-gnuradio] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-02 Thread Stefan Wunsch
Hi,

Ok sry, indeed it does solve the problem (thx to Marcus, master of
solving gnuradio problems!). I tricked myself because I removed gnuradio
but not libuhd (run pacman -R libuhd), probably you did the same?

Regarding your new problem at 33%: I think this can be solved if you
remove the source (or the prefix :P) and run a completely new build. Or
remove it and reinstall it, sth like this.

Greetings
Stefan

On 08/02/2016 11:02 AM, Cyrille DERORY wrote:
> Hi,
> 
> Gnuradio-3.7.10-1 release:
> https://www.archlinux.org/packages/community/x86_64/gnuradio/ ) was
> already installed when I used PyBOMBS.
> I've just uninstalled gnuradio-3.7.10-1 and all dependancies
> (libuhd-3.9.4-1, libvolk-1.3-1, gnuradio-iqbal-0.37.2-19) and now
> PyBOMBS stop compiling at 32%.
> Previously it was at 85%:
> 
> [cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /etc/pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {}
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /root/.pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
> 'default_prx'}
> PyBOMBS.ConfigManager - DEBUG - Template directory:
> /usr/lib/python3.5/site-packages/pybombs/templates
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /etc/pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /root/.pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
> (/home/cderory)
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix
> config dir: /home/cderory/.pybombs
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /home/cderory/.pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
> /home/cderory/src
> PyBOMBS.Inventory - DEBUG - Trying to load inventory file
> /home/cderory/.pybombs/inventory.yml...
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
> /home/cderory/.pybombs/recipes
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /home/cderory/.pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
> 'default'}
> PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
> ['/home/cderory/.pybombs/recipes',
> '/home/cderory/.pybombs/recipes/gr-etcetera',
> '/home/cderory/.pybombs/recipes/gr-recipes',
> '/root/.pybombs/recipes/gr-etcetera',
> '/root/.pybombs/recipes/gr-recipes',
> '/usr/lib/python3.5/site-packages/pybombs/recipes']
> PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-etcetera':
> 'git+https://github.com/gnuradio/gr-etcetera.git', 'gr-recipes':
> 'git+https://github.com/gnuradio/gr-recipes.git'}
> PyBOMBS - INFO - PyBOMBS Version 2.1.0
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes/gr-etcetera
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes/gr-recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /root/.pybombs/recipes/gr-etcetera
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/root/.pybombs/recipes/gr-etcetera' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /root/.pybombs/recipes/gr-recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/root/.pybombs/recipes/gr-recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /usr/lib/python3.5/site-packages/pybombs/recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/usr/lib/python3.5/site-packages/pybombs/recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 11 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.install - DEBUG - Initializing command class for command install
> PyBOMBS.PackageManager - DEBUG - Attempting to add binary package
> manager pip

Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-08-02 Thread Andrej Rode
Hi,

> Please submit the pullrequest! The package is definetely missing.
Done.

Cheers
Andrej



signature.asc
Description: OpenPGP digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-02 Thread Stefan Wunsch
Hi,

Removing the system UHD doesn't sovle it for me. Although, it doesn't
break somewhere else for me.

Greetings
Stefan

On 08/02/2016 10:22 AM, Marcus Müller wrote:
> Hi Stefan, Hi Cyrille,
> 
> I've seen this error before, but only with people that updated their GNU
> Radio source code (git pull), and then ran "make" again; swig sometimes
> stumbles upon this, and it takes a "make clean" to work again.
> 
> Now assuming this is not the case here, can you make sure you don't have
> two conflicting versions of UHD around?
> 
> 
> Best regards,
> 
> Marcus
> 
> 
> On 02.08.2016 09:03, Stefan Wunsch wrote:
>> And btw, it worked some month ago, when I implemented the pacman support
>> in pybombs. So the changes has to be somewhen since then.
>>
>> On 08/01/2016 10:38 PM, Cyrille DERORY wrote:
>>> Hi,
>>>
>>> with PyBOMBS, I'm compiling gnuradio on archlinux:
>>> sudo pybombs -v install gnuradio
>>> and I get errors with uhd_swigPYTHON_wrap.cxx.
>>> (see end of the attached verbose log)
>>>
>>> Any ideas?
>>>
>>> Best regards.
>>>
>>> Cyrille DERORY
>>>
>>>
>>> [cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
>>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>>> /etc/pybombs/config.yml
>>> PyBOMBS.ConfigManager - DEBUG - New config items: {}
>>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>>> /root/.pybombs/config.yml
>>> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
>>> 'default_prx'}
>>> PyBOMBS.ConfigManager - DEBUG - Template directory:
>>> /usr/lib/python3.5/site-packages/pybombs/templates
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>>> /etc/pybombs/config.yml
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>>> /root/.pybombs/config.yml
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
>>> (/home/cderory)
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix
>>> config dir: /home/cderory/.pybombs
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>>> /home/cderory/.pybombs/config.yml
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
>>> /home/cderory/src
>>> PyBOMBS.Inventory - DEBUG - Trying to load inventory file
>>> /home/cderory/.pybombs/inventory.yml...
>>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
>>> /home/cderory/.pybombs/recipes
>>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>>> /home/cderory/.pybombs/config.yml
>>> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
>>> 'default'}
>>> PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
>>> ['/home/cderory/.pybombs/recipes',
>>> '/home/cderory/.pybombs/recipes/gr-recipes',
>>> '/home/cderory/.pybombs/recipes/gr-etcetera',
>>> '/root/.pybombs/recipes/gr-recipes',
>>> '/root/.pybombs/recipes/gr-etcetera',
>>> '/usr/lib/python3.5/site-packages/pybombs/recipes']
>>> PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-recipes':
>>> 'git+https://github.com/gnuradio/gr-recipes.git', 'gr-etcetera':
>>> 'git+https://github.com/gnuradio/gr-etcetera.git'}
>>> PyBOMBS - INFO - PyBOMBS Version 2.1.0
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /home/cderory/.pybombs/recipes
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/home/cderory/.pybombs/recipes' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /home/cderory/.pybombs/recipes/gr-recipes
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /home/cderory/.pybombs/recipes/gr-etcetera
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /root/.pybombs/recipes/gr-recipes
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/root/.pybombs/recipes/gr-recipes' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> /root/.pybombs/recipes/gr-etcetera
>>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>>> '/root/.pybombs/recipes/gr-etcetera' for recipes...
>>> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
>>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>>> 

Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-08-02 Thread Cyrille DERORY
Hi,

no idea how to submit the pullrequest.
Who can do it ?

Best regards.

Cyrille

2016-08-02 8:50 GMT+02:00 Stefan Wunsch :

> Hi,
>
> Please submit the pullrequest! The package is definetely missing.
>
> Greetings
> Stefan
>
> On 08/01/2016 05:55 PM, Andrej Rode wrote:
> > Hey Cyrille,
> >
> >
> > On 01/08/16 17:20, Cyrille DERORY wrote:
> >> Thank you for your reply,
> >>
> >> my distro/OS is archlinux and package manager is pacman:
> >> https://wiki.archlinux.org/index.php/pacman
> >
> > Try adding:
> >   pacman: python2-pyzmq
> > in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line.
> > If you can install gnuradio successfully I'll submit a pull-request
> > against gr-recipes master.
> >
> > Best Regards,
> > Andrej
> >
> > P.S. Don't forget to add the mailing-list in your reply. Your answer
> > might be interesting for other folks.
> >
> >
> >
> >
> > ___
> > 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] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-02 Thread Cyrille DERORY
Hi,

Gnuradio-3.7.10-1 release:
https://www.archlinux.org/packages/community/x86_64/gnuradio/ ) was already
installed when I used PyBOMBS.
I've just uninstalled gnuradio-3.7.10-1 and all dependancies
(libuhd-3.9.4-1, libvolk-1.3-1, gnuradio-iqbal-0.37.2-19) and now PyBOMBS
stop compiling at 32%.
Previously it was at 85%:

[cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
/etc/pybombs/config.yml
PyBOMBS.ConfigManager - DEBUG - New config items: {}
PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
/root/.pybombs/config.yml
PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
'default_prx'}
PyBOMBS.ConfigManager - DEBUG - Template directory:
/usr/lib/python3.5/site-packages/pybombs/templates
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
/etc/pybombs/config.yml
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
/root/.pybombs/config.yml
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
(/home/cderory)
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix config
dir: /home/cderory/.pybombs
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
/home/cderory/.pybombs/config.yml
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
/home/cderory/src
PyBOMBS.Inventory - DEBUG - Trying to load inventory file
/home/cderory/.pybombs/inventory.yml...
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
/home/cderory/.pybombs/recipes
PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
/home/cderory/.pybombs/config.yml
PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
'default'}
PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
['/home/cderory/.pybombs/recipes',
'/home/cderory/.pybombs/recipes/gr-etcetera',
'/home/cderory/.pybombs/recipes/gr-recipes',
'/root/.pybombs/recipes/gr-etcetera', '/root/.pybombs/recipes/gr-recipes',
'/usr/lib/python3.5/site-packages/pybombs/recipes']
PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-etcetera':
'git+https://github.com/gnuradio/gr-etcetera.git', 'gr-recipes': 'git+
https://github.com/gnuradio/gr-recipes.git'}
PyBOMBS - INFO - PyBOMBS Version 2.1.0
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/home/cderory/.pybombs/recipes
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/home/cderory/.pybombs/recipes' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/home/cderory/.pybombs/recipes/gr-etcetera
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/home/cderory/.pybombs/recipes/gr-recipes
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/root/.pybombs/recipes/gr-etcetera
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/root/.pybombs/recipes/gr-etcetera' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/root/.pybombs/recipes/gr-recipes
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/root/.pybombs/recipes/gr-recipes' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/usr/lib/python3.5/site-packages/pybombs/recipes
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/usr/lib/python3.5/site-packages/pybombs/recipes' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 11 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.install - DEBUG - Initializing command class for command install
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
pip
PyBOMBS.PackageManager - DEBUG - pip is supported!
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
apt-get
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
yumdnf
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
port
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
brew
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
pacman
PyBOMBS.PackageManager - DEBUG - pacman is supported!
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
portage
PyBOMBS.PackageManager - DEBUG - Attempting to add 

Re: [Discuss-gnuradio] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-02 Thread Marcus Müller
Hi Stefan, Hi Cyrille,

I've seen this error before, but only with people that updated their GNU
Radio source code (git pull), and then ran "make" again; swig sometimes
stumbles upon this, and it takes a "make clean" to work again.

Now assuming this is not the case here, can you make sure you don't have
two conflicting versions of UHD around?


Best regards,

Marcus


On 02.08.2016 09:03, Stefan Wunsch wrote:
> And btw, it worked some month ago, when I implemented the pacman support
> in pybombs. So the changes has to be somewhen since then.
>
> On 08/01/2016 10:38 PM, Cyrille DERORY wrote:
>> Hi,
>>
>> with PyBOMBS, I'm compiling gnuradio on archlinux:
>> sudo pybombs -v install gnuradio
>> and I get errors with uhd_swigPYTHON_wrap.cxx.
>> (see end of the attached verbose log)
>>
>> Any ideas?
>>
>> Best regards.
>>
>> Cyrille DERORY
>>
>>
>> [cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>> /etc/pybombs/config.yml
>> PyBOMBS.ConfigManager - DEBUG - New config items: {}
>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>> /root/.pybombs/config.yml
>> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
>> 'default_prx'}
>> PyBOMBS.ConfigManager - DEBUG - Template directory:
>> /usr/lib/python3.5/site-packages/pybombs/templates
>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>> /etc/pybombs/config.yml
>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>> /root/.pybombs/config.yml
>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
>> (/home/cderory)
>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix
>> config dir: /home/cderory/.pybombs
>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
>> /home/cderory/.pybombs/config.yml
>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
>> /home/cderory/src
>> PyBOMBS.Inventory - DEBUG - Trying to load inventory file
>> /home/cderory/.pybombs/inventory.yml...
>> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
>> /home/cderory/.pybombs/recipes
>> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
>> /home/cderory/.pybombs/config.yml
>> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
>> 'default'}
>> PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
>> ['/home/cderory/.pybombs/recipes',
>> '/home/cderory/.pybombs/recipes/gr-recipes',
>> '/home/cderory/.pybombs/recipes/gr-etcetera',
>> '/root/.pybombs/recipes/gr-recipes',
>> '/root/.pybombs/recipes/gr-etcetera',
>> '/usr/lib/python3.5/site-packages/pybombs/recipes']
>> PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-recipes':
>> 'git+https://github.com/gnuradio/gr-recipes.git', 'gr-etcetera':
>> 'git+https://github.com/gnuradio/gr-etcetera.git'}
>> PyBOMBS - INFO - PyBOMBS Version 2.1.0
>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>> /home/cderory/.pybombs/recipes
>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>> '/home/cderory/.pybombs/recipes' for recipes...
>> PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>> /home/cderory/.pybombs/recipes/gr-recipes
>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>> '/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
>> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>> /home/cderory/.pybombs/recipes/gr-etcetera
>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>> '/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
>> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>> /root/.pybombs/recipes/gr-recipes
>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>> '/root/.pybombs/recipes/gr-recipes' for recipes...
>> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>> /root/.pybombs/recipes/gr-etcetera
>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>> '/root/.pybombs/recipes/gr-etcetera' for recipes...
>> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
>> /usr/lib/python3.5/site-packages/pybombs/recipes
>> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
>> '/usr/lib/python3.5/site-packages/pybombs/recipes' for recipes...
>> PyBOMBS.RecipeListManager - DEBUG - Found 11 new recipes.
>> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
>> PyBOMBS.install - DEBUG - 

Re: [Discuss-gnuradio] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-02 Thread Stefan Wunsch
Hi,

I can confirm this problem. But it doesn't seem to be Arch Linux
specific (more a UHD problem).

Can someone confirm that it works on the other systems? UHD is build
from source, so the root of the problem are not the pacman packages.

My first guess would be the gcc6 compiler shipped with Arch, but just a
thought.

Greetings,
Stefan

On 08/01/2016 10:38 PM, Cyrille DERORY wrote:
> Hi,
> 
> with PyBOMBS, I'm compiling gnuradio on archlinux:
> sudo pybombs -v install gnuradio
> and I get errors with uhd_swigPYTHON_wrap.cxx.
> (see end of the attached verbose log)
> 
> Any ideas?
> 
> Best regards.
> 
> Cyrille DERORY
> 
> 
> [cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /etc/pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {}
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /root/.pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
> 'default_prx'}
> PyBOMBS.ConfigManager - DEBUG - Template directory:
> /usr/lib/python3.5/site-packages/pybombs/templates
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /etc/pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /root/.pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
> (/home/cderory)
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix
> config dir: /home/cderory/.pybombs
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /home/cderory/.pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
> /home/cderory/src
> PyBOMBS.Inventory - DEBUG - Trying to load inventory file
> /home/cderory/.pybombs/inventory.yml...
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
> /home/cderory/.pybombs/recipes
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /home/cderory/.pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
> 'default'}
> PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
> ['/home/cderory/.pybombs/recipes',
> '/home/cderory/.pybombs/recipes/gr-recipes',
> '/home/cderory/.pybombs/recipes/gr-etcetera',
> '/root/.pybombs/recipes/gr-recipes',
> '/root/.pybombs/recipes/gr-etcetera',
> '/usr/lib/python3.5/site-packages/pybombs/recipes']
> PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-recipes':
> 'git+https://github.com/gnuradio/gr-recipes.git', 'gr-etcetera':
> 'git+https://github.com/gnuradio/gr-etcetera.git'}
> PyBOMBS - INFO - PyBOMBS Version 2.1.0
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes/gr-recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes/gr-etcetera
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /root/.pybombs/recipes/gr-recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/root/.pybombs/recipes/gr-recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /root/.pybombs/recipes/gr-etcetera
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/root/.pybombs/recipes/gr-etcetera' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /usr/lib/python3.5/site-packages/pybombs/recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/usr/lib/python3.5/site-packages/pybombs/recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 11 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.install - DEBUG - Initializing command class for command install
> PyBOMBS.PackageManager - DEBUG - Attempting to add binary package
> manager pip
> PyBOMBS.PackageManager - DEBUG - pip is supported!
> PyBOMBS.PackageManager - DEBUG - Attempting to add binary package
> manager apt-get
> PyBOMBS.PackageManager - 

Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-08-02 Thread Stefan Wunsch
Hi,

Please submit the pullrequest! The package is definetely missing.

Greetings
Stefan

On 08/01/2016 05:55 PM, Andrej Rode wrote:
> Hey Cyrille,
> 
> 
> On 01/08/16 17:20, Cyrille DERORY wrote:
>> Thank you for your reply,
>>
>> my distro/OS is archlinux and package manager is pacman:
>> https://wiki.archlinux.org/index.php/pacman
> 
> Try adding:
>   pacman: python2-pyzmq
> in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line.
> If you can install gnuradio successfully I'll submit a pull-request
> against gr-recipes master.
> 
> Best Regards,
> Andrej
> 
> P.S. Don't forget to add the mailing-list in your reply. Your answer
> might be interesting for other folks.
> 
> 
> 
> 
> ___
> 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] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-02 Thread Stefan Wunsch
And btw, it worked some month ago, when I implemented the pacman support
in pybombs. So the changes has to be somewhen since then.

On 08/01/2016 10:38 PM, Cyrille DERORY wrote:
> Hi,
> 
> with PyBOMBS, I'm compiling gnuradio on archlinux:
> sudo pybombs -v install gnuradio
> and I get errors with uhd_swigPYTHON_wrap.cxx.
> (see end of the attached verbose log)
> 
> Any ideas?
> 
> Best regards.
> 
> Cyrille DERORY
> 
> 
> [cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /etc/pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {}
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /root/.pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
> 'default_prx'}
> PyBOMBS.ConfigManager - DEBUG - Template directory:
> /usr/lib/python3.5/site-packages/pybombs/templates
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /etc/pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /root/.pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
> (/home/cderory)
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix
> config dir: /home/cderory/.pybombs
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
> /home/cderory/.pybombs/config.yml
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
> /home/cderory/src
> PyBOMBS.Inventory - DEBUG - Trying to load inventory file
> /home/cderory/.pybombs/inventory.yml...
> PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
> /home/cderory/.pybombs/recipes
> PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
> /home/cderory/.pybombs/config.yml
> PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
> 'default'}
> PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
> ['/home/cderory/.pybombs/recipes',
> '/home/cderory/.pybombs/recipes/gr-recipes',
> '/home/cderory/.pybombs/recipes/gr-etcetera',
> '/root/.pybombs/recipes/gr-recipes',
> '/root/.pybombs/recipes/gr-etcetera',
> '/usr/lib/python3.5/site-packages/pybombs/recipes']
> PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-recipes':
> 'git+https://github.com/gnuradio/gr-recipes.git', 'gr-etcetera':
> 'git+https://github.com/gnuradio/gr-etcetera.git'}
> PyBOMBS - INFO - PyBOMBS Version 2.1.0
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes/gr-recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /home/cderory/.pybombs/recipes/gr-etcetera
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /root/.pybombs/recipes/gr-recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/root/.pybombs/recipes/gr-recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /root/.pybombs/recipes/gr-etcetera
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/root/.pybombs/recipes/gr-etcetera' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
> /usr/lib/python3.5/site-packages/pybombs/recipes
> PyBOMBS.RecipeListManager - DEBUG - Scanning directory
> '/usr/lib/python3.5/site-packages/pybombs/recipes' for recipes...
> PyBOMBS.RecipeListManager - DEBUG - Found 11 new recipes.
> PyBOMBS.RecipeListManager - DEBUG - Loading templates.
> PyBOMBS.install - DEBUG - Initializing command class for command install
> PyBOMBS.PackageManager - DEBUG - Attempting to add binary package
> manager pip
> PyBOMBS.PackageManager - DEBUG - pip is supported!
> PyBOMBS.PackageManager - DEBUG - Attempting to add binary package
> manager apt-get
> PyBOMBS.PackageManager - DEBUG - Attempting to add binary package
> manager yumdnf
> PyBOMBS.PackageManager - DEBUG - Attempting to add binary package
> manager port
> PyBOMBS.PackageManager - DEBUG - Attempting to add binary package
> 

[Discuss-gnuradio] PyBOMBS: Error installing package libtalloc-dev

2016-08-01 Thread Cyrille DERORY
Hi,

with PyBOMBS, I'm compiling gr-gsm on archlinux:
sudo pybombs -v install gr-gsm
and I get the following error:

error: No such command 'CC='

(see the end of the attached verbose log)

Any ideas?

Best regards.

Cyrille DERORY


[cderory@cyrille-E6540 ~]$ sudo pybombs install gr-gsm
PyBOMBS - INFO - PyBOMBS Version 2.1.0
Install tree:
|
\- gr-gsm
   |
   +- gr-osmosdr
   |  |
   |  +- airspy
   |  |
   |  +- gr-iqbal
   |  |  |
   |  |  \- gnuradio
   |  |
   |  +- osmo-sdr
   |  |
   |  +- bladeRF
   |  |
   |  \- gnuradio
   |
   +- gnuradio
   |
   \- libosmocore
  |
  \- libtalloc-dev
PyBOMBS.install_manager - INFO - Installing package: libtalloc-dev
Configuring: (100%)
[]
PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with
higher verbosity.
Checking for program gcc or cc   : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar  : /usr/bin/ar
Checking for program ranlib  : /usr/bin/ranlib
Checking for gcc : ok
Checking for program git : /usr/bin/git
Check for -MD: yes
Checking for program gdb : /usr/bin/gdb
Checking build system: Linux cyrille-E6540 4.6.4-1-ARCH
#1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64 GNU/Linux
Checking for header sys/utsname.h: yes
Checking uname sysname type  : Linux
Checking uname machine type  : x86_64
Checking uname release type  : 4.6.4-1-ARCH
Checking uname version type  : #1 SMP PREEMPT Mon Jul 11
19:12:32 CEST 2016
Checking for header stdio.h  : yes
Checking simple C program: ok
Checking compiler accepts ['-Werror']: yes
Checking linker accepts ['-Wl,-rpath,.'] : yes
Checking for rpath library support   : ok
Checking for -Wl,--version-script support  : ok
Checking compiler accepts ['-fvisibility=hidden', '-Werror'] : yes
Checking for HAVE_VISIBILITY_ATTR: ok
Checking for library constructor support : ok
Checking for library destructor support  : ok
Checking for __attribute__   : ok
Checking compiler accepts -fPIC  : yes
Checking for inline  : inline
Checking for pkg-config version >= 0.0.0 : yes
Checking compiler accepts ['']   : yes
Checking for header sys/types.h  : yes
Checking for header sys/stat.h   : yes
Checking for header stdlib.h : yes
Checking for header stddef.h : yes
Checking for header memory.h : yes
Checking for header string.h : yes
Checking for header strings.h: yes
Checking for header inttypes.h   : yes
Checking for header stdint.h : yes
Checking for header unistd.h : yes
Checking for header minix/config.h   : no
Checking for header ctype.h  : yes
Checking for header standards.h  : no
Checking for header stdbool.h: yes
Checking for header stdarg.h : yes
Checking for header vararg.h : no
Checking for header limits.h : yes
Checking for header assert.h : yes
Checking getconf LFS_CFLAGS  : not found
Checking getconf large file support flags work   : ok
Checking for large file support without additional flags : ok
Checking for header sys/time.h   : yes
Checking for header time.h   : yes
Checking for header endian.h : yes
Checking for header sys/endian.h : no
Checking for HAVE_LITTLE_ENDIAN  : ok
Checking for HAVE_BIG_ENDIAN : not found
Checking for header signal.h : yes
Checking if signal handlers return int   : not found
Checking for variable __FUNCTION__   : ok
Checking for va_copy : ok
Checking for HAVE__VA_ARGS__MACRO: ok
Checking for header linux/types.h: yes
Checking for header crypt.h 

[Discuss-gnuradio] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx

2016-08-01 Thread Cyrille DERORY
Hi,

with PyBOMBS, I'm compiling gnuradio on archlinux:
sudo pybombs -v install gnuradio
and I get errors with uhd_swigPYTHON_wrap.cxx.
(see end of the attached verbose log)

Any ideas?

Best regards.

Cyrille DERORY


[cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio
PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
/etc/pybombs/config.yml
PyBOMBS.ConfigManager - DEBUG - New config items: {}
PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
/root/.pybombs/config.yml
PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
'default_prx'}
PyBOMBS.ConfigManager - DEBUG - Template directory:
/usr/lib/python3.5/site-packages/pybombs/templates
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
/etc/pybombs/config.yml
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
/root/.pybombs/config.yml
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix
(/home/cderory)
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix config
dir: /home/cderory/.pybombs
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file:
/home/cderory/.pybombs/config.yml
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is:
/home/cderory/src
PyBOMBS.Inventory - DEBUG - Trying to load inventory file
/home/cderory/.pybombs/inventory.yml...
PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is:
/home/cderory/.pybombs/recipes
PyBOMBS.ConfigManager - DEBUG - Reading config info from file:
/home/cderory/.pybombs/config.yml
PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix':
'default'}
PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations:
['/home/cderory/.pybombs/recipes',
'/home/cderory/.pybombs/recipes/gr-recipes',
'/home/cderory/.pybombs/recipes/gr-etcetera',
'/root/.pybombs/recipes/gr-recipes', '/root/.pybombs/recipes/gr-etcetera',
'/usr/lib/python3.5/site-packages/pybombs/recipes']
PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-recipes': 'git+
https://github.com/gnuradio/gr-recipes.git', 'gr-etcetera': 'git+
https://github.com/gnuradio/gr-etcetera.git'}
PyBOMBS - INFO - PyBOMBS Version 2.1.0
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/home/cderory/.pybombs/recipes
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/home/cderory/.pybombs/recipes' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/home/cderory/.pybombs/recipes/gr-recipes
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/home/cderory/.pybombs/recipes/gr-recipes' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/home/cderory/.pybombs/recipes/gr-etcetera
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/home/cderory/.pybombs/recipes/gr-etcetera' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/root/.pybombs/recipes/gr-recipes
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/root/.pybombs/recipes/gr-recipes' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/root/.pybombs/recipes/gr-etcetera
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/root/.pybombs/recipes/gr-etcetera' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.RecipeListManager - DEBUG - Adding recipe location:
/usr/lib/python3.5/site-packages/pybombs/recipes
PyBOMBS.RecipeListManager - DEBUG - Scanning directory
'/usr/lib/python3.5/site-packages/pybombs/recipes' for recipes...
PyBOMBS.RecipeListManager - DEBUG - Found 11 new recipes.
PyBOMBS.RecipeListManager - DEBUG - Loading templates.
PyBOMBS.install - DEBUG - Initializing command class for command install
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
pip
PyBOMBS.PackageManager - DEBUG - pip is supported!
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
apt-get
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
yumdnf
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
port
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
brew
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
pacman
PyBOMBS.PackageManager - DEBUG - pacman is supported!
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
portage
PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager
pkgconfig
PyBOMBS.PackageManager - DEBUG - pkgconfig is supported!

Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-08-01 Thread Cyrille DERORY
Thank you Andrej and Jacob,

I've just uncommented the line in gnuradio.lwr that adds python-zmq as a
dependency.
I will wait for future solutions.

Cyrille

2016-08-01 20:18 GMT+02:00 Andrej Rode :

> Hi,
>
> I'm currently testing pybombs with arch in a chroot. I found some more
> issues besides python-zmq with ArchLinux and going to tackle them now.
>
> @Cyrille: try removing your prefix-directory and then installing again.
> I added python2-pyzmq to the recipe and now installation gets stuck
> somewhene else.
>
> Best Regards,
> Andrej
>
> On 01/08/16 20:14, Jacob Gilbert wrote:
> > Cyrille, I recently PR'd python-zmq as a dependency to GR as it is
> required
> > for the ZMQ blocks to work from python. I did not check to see if this
> > worked on arch though. If you want a workaround in the near term you can
> > uncomment the line in gnuradio.lwr that adds python-zmq as a dependency.
> >
> > Jacob
> >
> > On Mon, Aug 1, 2016 at 10:55 AM, Cyrille DERORY 
> wrote:
> >
> >> I modified the file ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below
> the
> >> port line:
> >>
> >> #
> >> # This file is part of PyBOMBS
> >> #
> >> # PyBOMBS is free software; you can redistribute it and/or modify
> >> # it under the terms of the GNU General Public License as published by
> >> # the Free Software Foundation; either version 3, or (at your option)
> >> # any later version.
> >> #
> >> # PyBOMBS is distributed in the hope that it will be useful,
> >> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> >> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> >> # GNU General Public License for more details.
> >> #
> >> # You should have received a copy of the GNU General Public License
> >> # along with PyBOMBS; see the file COPYING.  If not, write to
> >> # the Free Software Foundation, Inc., 51 Franklin Street,
> >> # Boston, MA 02110-1301, USA.
> >> #
> >>
> >> category: baseline
> >> satisfy:
> >>   deb: python-zmq
> >>   rpm: python-zmq
> >>   port: py27-zmq
> >>   pacman: python2-pyzmq
> >>
> >>
> >>
> >>
> >> But it still not working even after I did a manual install of
> >> python2-pyzmq package with command line:
> >> sudo pacman -S python2-pyzmq
> >> (python2-pyzmq-15.2.0-1 is installed)
> >> https://www.archlinux.org/packages/community/x86_64/python2-pyzmq/
> >>
> >> verbosity mode:
> >>
> >>  PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
> >> installed.
> >> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
> >> installed.
> >> Install tree:
> >> |
> >> \- gr-gsm
> >>|
> >>+- libosmocore
> >>|  |
> >>|  \- libtalloc-dev
> >>|
> >>+- gr-osmosdr
> >>|  |
> >>|  +- gr-iqbal
> >>|  |  |
> >>|  |  \- gnuradio
> >>|  | |
> >>|  | \- python-zmq
> >>|  |
> >>|  \- gnuradio
> >>| |
> >>| \- python-zmq
> >>|
> >>\- gnuradio
> >>   |
> >>   \- python-zmq
> >> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
> >> installed.
> >> PyBOMBS.install_manager - INFO - Installing package: python-zmq
> >> PyBOMBS.PackageManager - DEBUG - install(python-zmq, static=False)
> >> PyBOMBS.PackageManager - DEBUG - Using packager pip
> >> PyBOMBS.PackageManager - DEBUG - Using packager pacman
> >> PyBOMBS.PackageManager - DEBUG - Using packager pkgconfig
> >> PyBOMBS.PackageManager - DEBUG - Using packager cmd
> >> PyBOMBS.PackageManager - DEBUG - Using packager source
> >> PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package
> >> python-zmq
> >> PyBOMBS.install_manager - ERROR - Error installing package python-zmq.
> >> Aborting.
> >>
> >>
> >> Cyrille
> >>
> >>
> >> 2016-08-01 17:55 GMT+02:00 Andrej Rode :
> >>
> >>> Hey Cyrille,
> >>>
> >>>
> >>> On 01/08/16 17:20, Cyrille DERORY wrote:
>  Thank you for your reply,
> 
>  my distro/OS is archlinux and package manager is pacman:
>  https://wiki.archlinux.org/index.php/pacman
> >>>
> >>> Try adding:
> >>>   pacman: python2-pyzmq
> >>> in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line.
> >>> If you can install gnuradio successfully I'll submit a pull-request
> >>> against gr-recipes master.
> >>>
> >>> Best Regards,
> >>> Andrej
> >>>
> >>> P.S. Don't forget to add the mailing-list in your reply. Your answer
> >>> might be interesting for other folks.
> >>>
> >>>
> >>>
> >>
> >> ___
> >> 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


Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-08-01 Thread Andrej Rode
Hi,

I'm currently testing pybombs with arch in a chroot. I found some more
issues besides python-zmq with ArchLinux and going to tackle them now.

@Cyrille: try removing your prefix-directory and then installing again.
I added python2-pyzmq to the recipe and now installation gets stuck
somewhene else.

Best Regards,
Andrej

On 01/08/16 20:14, Jacob Gilbert wrote:
> Cyrille, I recently PR'd python-zmq as a dependency to GR as it is required
> for the ZMQ blocks to work from python. I did not check to see if this
> worked on arch though. If you want a workaround in the near term you can
> uncomment the line in gnuradio.lwr that adds python-zmq as a dependency.
> 
> Jacob
> 
> On Mon, Aug 1, 2016 at 10:55 AM, Cyrille DERORY  wrote:
> 
>> I modified the file ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the
>> port line:
>>
>> #
>> # This file is part of PyBOMBS
>> #
>> # PyBOMBS is free software; you can redistribute it and/or modify
>> # it under the terms of the GNU General Public License as published by
>> # the Free Software Foundation; either version 3, or (at your option)
>> # any later version.
>> #
>> # PyBOMBS is distributed in the hope that it will be useful,
>> # but WITHOUT ANY WARRANTY; without even the implied warranty of
>> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> # GNU General Public License for more details.
>> #
>> # You should have received a copy of the GNU General Public License
>> # along with PyBOMBS; see the file COPYING.  If not, write to
>> # the Free Software Foundation, Inc., 51 Franklin Street,
>> # Boston, MA 02110-1301, USA.
>> #
>>
>> category: baseline
>> satisfy:
>>   deb: python-zmq
>>   rpm: python-zmq
>>   port: py27-zmq
>>   pacman: python2-pyzmq
>>
>>
>>
>>
>> But it still not working even after I did a manual install of
>> python2-pyzmq package with command line:
>> sudo pacman -S python2-pyzmq
>> (python2-pyzmq-15.2.0-1 is installed)
>> https://www.archlinux.org/packages/community/x86_64/python2-pyzmq/
>>
>> verbosity mode:
>>
>>  PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
>> installed.
>> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
>> installed.
>> Install tree:
>> |
>> \- gr-gsm
>>|
>>+- libosmocore
>>|  |
>>|  \- libtalloc-dev
>>|
>>+- gr-osmosdr
>>|  |
>>|  +- gr-iqbal
>>|  |  |
>>|  |  \- gnuradio
>>|  | |
>>|  | \- python-zmq
>>|  |
>>|  \- gnuradio
>>| |
>>| \- python-zmq
>>|
>>\- gnuradio
>>   |
>>   \- python-zmq
>> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
>> installed.
>> PyBOMBS.install_manager - INFO - Installing package: python-zmq
>> PyBOMBS.PackageManager - DEBUG - install(python-zmq, static=False)
>> PyBOMBS.PackageManager - DEBUG - Using packager pip
>> PyBOMBS.PackageManager - DEBUG - Using packager pacman
>> PyBOMBS.PackageManager - DEBUG - Using packager pkgconfig
>> PyBOMBS.PackageManager - DEBUG - Using packager cmd
>> PyBOMBS.PackageManager - DEBUG - Using packager source
>> PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package
>> python-zmq
>> PyBOMBS.install_manager - ERROR - Error installing package python-zmq.
>> Aborting.
>>
>>
>> Cyrille
>>
>>
>> 2016-08-01 17:55 GMT+02:00 Andrej Rode :
>>
>>> Hey Cyrille,
>>>
>>>
>>> On 01/08/16 17:20, Cyrille DERORY wrote:
 Thank you for your reply,

 my distro/OS is archlinux and package manager is pacman:
 https://wiki.archlinux.org/index.php/pacman
>>>
>>> Try adding:
>>>   pacman: python2-pyzmq
>>> in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line.
>>> If you can install gnuradio successfully I'll submit a pull-request
>>> against gr-recipes master.
>>>
>>> Best Regards,
>>> Andrej
>>>
>>> P.S. Don't forget to add the mailing-list in your reply. Your answer
>>> might be interesting for other folks.
>>>
>>>
>>>
>>
>> ___
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
> 



signature.asc
Description: OpenPGP digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-08-01 Thread Jacob Gilbert
Cyrille, I recently PR'd python-zmq as a dependency to GR as it is required
for the ZMQ blocks to work from python. I did not check to see if this
worked on arch though. If you want a workaround in the near term you can
uncomment the line in gnuradio.lwr that adds python-zmq as a dependency.

Jacob

On Mon, Aug 1, 2016 at 10:55 AM, Cyrille DERORY  wrote:

> I modified the file ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the
> port line:
>
> #
> # This file is part of PyBOMBS
> #
> # PyBOMBS is free software; you can redistribute it and/or modify
> # it under the terms of the GNU General Public License as published by
> # the Free Software Foundation; either version 3, or (at your option)
> # any later version.
> #
> # PyBOMBS is distributed in the hope that it will be useful,
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> # GNU General Public License for more details.
> #
> # You should have received a copy of the GNU General Public License
> # along with PyBOMBS; see the file COPYING.  If not, write to
> # the Free Software Foundation, Inc., 51 Franklin Street,
> # Boston, MA 02110-1301, USA.
> #
>
> category: baseline
> satisfy:
>   deb: python-zmq
>   rpm: python-zmq
>   port: py27-zmq
>   pacman: python2-pyzmq
>
>
>
>
> But it still not working even after I did a manual install of
> python2-pyzmq package with command line:
> sudo pacman -S python2-pyzmq
> (python2-pyzmq-15.2.0-1 is installed)
> https://www.archlinux.org/packages/community/x86_64/python2-pyzmq/
>
> verbosity mode:
>
>  PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
> installed.
> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
> installed.
> Install tree:
> |
> \- gr-gsm
>|
>+- libosmocore
>|  |
>|  \- libtalloc-dev
>|
>+- gr-osmosdr
>|  |
>|  +- gr-iqbal
>|  |  |
>|  |  \- gnuradio
>|  | |
>|  | \- python-zmq
>|  |
>|  \- gnuradio
>| |
>| \- python-zmq
>|
>\- gnuradio
>   |
>   \- python-zmq
> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
> installed.
> PyBOMBS.install_manager - INFO - Installing package: python-zmq
> PyBOMBS.PackageManager - DEBUG - install(python-zmq, static=False)
> PyBOMBS.PackageManager - DEBUG - Using packager pip
> PyBOMBS.PackageManager - DEBUG - Using packager pacman
> PyBOMBS.PackageManager - DEBUG - Using packager pkgconfig
> PyBOMBS.PackageManager - DEBUG - Using packager cmd
> PyBOMBS.PackageManager - DEBUG - Using packager source
> PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package
> python-zmq
> PyBOMBS.install_manager - ERROR - Error installing package python-zmq.
> Aborting.
>
>
> Cyrille
>
>
> 2016-08-01 17:55 GMT+02:00 Andrej Rode :
>
>> Hey Cyrille,
>>
>>
>> On 01/08/16 17:20, Cyrille DERORY wrote:
>> > Thank you for your reply,
>> >
>> > my distro/OS is archlinux and package manager is pacman:
>> > https://wiki.archlinux.org/index.php/pacman
>>
>> Try adding:
>>   pacman: python2-pyzmq
>> in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line.
>> If you can install gnuradio successfully I'll submit a pull-request
>> against gr-recipes master.
>>
>> Best Regards,
>> Andrej
>>
>> P.S. Don't forget to add the mailing-list in your reply. Your answer
>> might be interesting for other folks.
>>
>>
>>
>
> ___
> 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] PyBOMBS: Error installing package python-zmq

2016-08-01 Thread Cyrille DERORY
I modified the file ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the
port line:

#
# This file is part of PyBOMBS
#
# PyBOMBS is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# PyBOMBS is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with PyBOMBS; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
#

category: baseline
satisfy:
  deb: python-zmq
  rpm: python-zmq
  port: py27-zmq
  pacman: python2-pyzmq




But it still not working even after I did a manual install of python2-pyzmq
package with command line:
sudo pacman -S python2-pyzmq
(python2-pyzmq-15.2.0-1 is installed)
https://www.archlinux.org/packages/community/x86_64/python2-pyzmq/

verbosity mode:

 PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
installed.
PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
installed.
Install tree:
|
\- gr-gsm
   |
   +- libosmocore
   |  |
   |  \- libtalloc-dev
   |
   +- gr-osmosdr
   |  |
   |  +- gr-iqbal
   |  |  |
   |  |  \- gnuradio
   |  | |
   |  | \- python-zmq
   |  |
   |  \- gnuradio
   | |
   | \- python-zmq
   |
   \- gnuradio
  |
  \- python-zmq
PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is
installed.
PyBOMBS.install_manager - INFO - Installing package: python-zmq
PyBOMBS.PackageManager - DEBUG - install(python-zmq, static=False)
PyBOMBS.PackageManager - DEBUG - Using packager pip
PyBOMBS.PackageManager - DEBUG - Using packager pacman
PyBOMBS.PackageManager - DEBUG - Using packager pkgconfig
PyBOMBS.PackageManager - DEBUG - Using packager cmd
PyBOMBS.PackageManager - DEBUG - Using packager source
PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package
python-zmq
PyBOMBS.install_manager - ERROR - Error installing package python-zmq.
Aborting.


Cyrille


2016-08-01 17:55 GMT+02:00 Andrej Rode :

> Hey Cyrille,
>
>
> On 01/08/16 17:20, Cyrille DERORY wrote:
> > Thank you for your reply,
> >
> > my distro/OS is archlinux and package manager is pacman:
> > https://wiki.archlinux.org/index.php/pacman
>
> Try adding:
>   pacman: python2-pyzmq
> in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line.
> If you can install gnuradio successfully I'll submit a pull-request
> against gr-recipes master.
>
> Best Regards,
> Andrej
>
> P.S. Don't forget to add the mailing-list in your reply. Your answer
> might be interesting for other folks.
>
>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-08-01 Thread Andrej Rode
Hey Cyrille,


On 01/08/16 17:20, Cyrille DERORY wrote:
> Thank you for your reply,
> 
> my distro/OS is archlinux and package manager is pacman:
> https://wiki.archlinux.org/index.php/pacman

Try adding:
  pacman: python2-pyzmq
in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line.
If you can install gnuradio successfully I'll submit a pull-request
against gr-recipes master.

Best Regards,
Andrej

P.S. Don't forget to add the mailing-list in your reply. Your answer
might be interesting for other folks.




signature.asc
Description: OpenPGP digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-08-01 Thread Andrej Rode
Hi Cyrille,

> this is my first time with PyBOMBS.
> Do you have any idea what is the problem with:
> "PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package
> python-zmq"

the python-zmq recipe can be satisfied if installed on a system with
deb, rpm or port package manager.
Which distro/OS are you using?
None of the above package managers is found on your system and then
PyBOMBs falls back to installation from source and there is no
source-installation defined for python-zmq.

Bet Regards,
Andrej




signature.asc
Description: OpenPGP digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] PyBOMBS: Error installing package python-zmq

2016-07-30 Thread Cyrille DERORY
Hi,

this is my first time with PyBOMBS.
Do you have any idea what is the problem with:
"PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package
python-zmq"

Best regards.

Cyrille DERORY





[cderory@cyrille-E6540 ~]$
[cderory@cyrille-E6540 ~]$ pybombs recipes add gr-recipes git+
https://github.com/gnuradio/gr-recipes.git
PyBOMBS - INFO - PyBOMBS Version 2.1.0
Cloning: (100%)
[===]
PyBOMBS.ConfigManager - INFO - Creating new config file
/home/cderory/.pybombs/config.yml
[cderory@cyrille-E6540 ~]$ pybombs recipes add gr-etcetera git+
https://github.com/gnuradio/gr-etcetera.git
PyBOMBS - INFO - PyBOMBS Version 2.1.0
Cloning: (100%)
[===]
[cderory@cyrille-E6540 ~]$ mkdir gnuradio-prefix
[cderory@cyrille-E6540 ~]$ pybombs prefix init -a default
gnuradio-prefix/default/ -R gnuradio-default
PyBOMBS - INFO - PyBOMBS Version 2.1.0
PyBOMBS.prefix - INFO - Creating directory
`/home/cderory/gnuradio-prefix/default'
PyBOMBS.ConfigManager - INFO - Creating new config file
/home/cderory/gnuradio-prefix/default/.pybombs/config.yml
PyBOMBS.prefix - INFO - Installing default packages for prefix...
PyBOMBS.prefix - INFO -
  - gnuradio
  - gr-osmosdr
Install tree:
|
\- gr-osmosdr
   |
   +- bladeRF
   |
   +- uhd
   |
   +- rtl-sdr
   |
   +- airspy
   |
   +- gr-iqbal
   |  |
   |  +- libosmo-dsp
   |  |
   |  \- gnuradio
   | |
   | +- python-zmq
   | |
   | \- uhd
   |
   +- osmo-sdr
   |
   +- hackrf
   |
   \- gnuradio
  |
  +- python-zmq
  |
  \- uhd
PyBOMBS.install_manager - INFO - Installing package: uhd
Cloning: (100%)
[===]
Configuring: (100%)
[===]
Building:(100%)
[===]]
Installing:  (100%)
[===]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: python-zmq
PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package
python-zmq
PyBOMBS.install_manager - ERROR - Error installing package python-zmq.
Aborting.
[cderory@cyrille-E6540 ~]$
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Pybombs 2.1.0 test w/Ubuntu 16.04LTS

2016-06-30 Thread Martin Braun
Gregory,

can you please re-run this with higher verbosity (-v) and post the
results (preferably on github:
https://github.com/gnuradio/pybombs/issues)? Thanks!

M

On 06/29/2016 07:08 PM, Gregory W. Ratcliff wrote:
> Greetings,
> 
> Noticed in PyBOMBS 2.1.0
> Fresh and stock Ubuntu 16.04 on intel 4 core.
> 
>  Setting up flex (2.6.0-11) ...
> Processing triggers for libc-bin (2.23-0ubuntu3) ...
> PyBOMBS.install_manager - INFO - Installation successful.
> PyBOMBS.install_manager - INFO - Installing package: apache-thrift
> Cloning: (100%)
> [=]
> Cloning: (100%)
> [=]
> PyBOMBS.Fetcher - ERROR - Unexpected error while fetching
> git+https://github.com/apache/thrift.git.
> PyBOMBS.Fetcher - ERROR - [Errno 2] No such file or directory:
> '/home/gratcliff/gnuradio/.pybombs/inventory.yml'
> PyBOMBS.Packager.source - ERROR - Problem occurred while building
> package apache-thrift:
> Unable to fetch recipe apache-thrift
> PyBOMBS.install_manager - ERROR - Error installing package
> apache-thrift. Aborting.
> 
>  
> Gregory W. Ratcliff
> 
> 
> 
> 
> 
> 
> 
> ___
> 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] Pybombs 2.1.0 test w/Ubuntu 16.04LTS

2016-06-29 Thread Gregory W. Ratcliff
Greetings,
Noticed in PyBOMBS 2.1.0Fresh and stock Ubuntu 16.04 on intel 4 core.

https://github.com/apache/thrift.git.
PyBOMBS.Fetcher - ERROR - [Errno 2] No such file or directory: 
'/home/gratcliff/gnuradio/.pybombs/inventory.yml'
PyBOMBS.Packager.source - ERROR - Problem occurred while building package 
apache-thrift:
Unable to fetch recipe apache-thrift
PyBOMBS.install_manager - ERROR - Error installing package apache-thrift. 
Aborting.

 Gregory W. Ratcliff




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


[Discuss-gnuradio] [PyBOMBS] 2.1.0 Release

2016-06-27 Thread Martin Braun
Hey-Ho,

some of you might have noticed that I tagged the PyBOMBS 2.1.0 release
this weekend. I still owe you an announcement, though, and this is it!

I strongly encourage everyone to upgrade, if they haven't been tracking
the master branch already. Compared to 2.0.1, this release contains an
insane amount of bugfixes *and* new features. Really, I've been waiting
for a while for the the flood of bug reports to dry up, and I think this
is a decent time to tag.

You can get the latest PyBOMBS by running:

$ pybombs install --upgrade PyBOMBS

(or you can still install directly from git, see the manual).

So what's new? I'm sure this list won't be comprehensive, but here it goes:

- Insane number of bug fixes
- We now have support for portage, Mac (brew + port), Fedora,
Ubuntu/Debian, pip, pacman and pkg-config for installing and/or
identifying packages.
- CentOS 7 also works. We've tested the living heck out of that.
- Install fully defined prefixes, including packages, with
$ pybombs prefix init -R 
- git URLs can include a specific commit (like pip)
- Full Py3k support
- Merged show command into recipes command
- Requirer caching (speeds up everything)
- Updated recipe format: Added optional packages, always-true
satisfiers, prefix recipes
- Lots and lots of under-the-hood cleanups

Please, give it a try and report back if it doesn't work for you (and
*why*!).

Cheers,
Martin


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


[Discuss-gnuradio] [PyBOMBS] Close to 2.1.0 release

2016-06-21 Thread Martin Braun
All y'all (as they say in the south),

I'll soon be tagging the 2.1.0 PyBOMBS release. We've had an insane
number of changes since the last release (2.0.1) and I'd like to
propagate them to PyPi soon.
I'd appreciate more people giving it a try before I do so!

Copied from the manual, here's how to get the latest version:

$ [sudo] pip install [--upgrade] git+https://github.com/gnuradio/pybombs.git

Appreciate any feedback!

Cheers,
M

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


Re: [Discuss-gnuradio] PyBOMBS-Mirror: Scripts that help build a mirror for PyBOMBS repos

2016-06-16 Thread Ben Hilburn
Wang -

Very cool! Thanks so much for not only setting this up, but doing it in a
way that is repeatable by others. This could also be used by people who
want to set up private internal mirrors, which isn't an uncommon request.

Nice work!

Cheers,
Ben

On Thu, Jun 16, 2016 at 11:32 AM, Wang Kang  wrote:

> Hi All,
>
> A PyBOMBS mirror site has been set up:
>
> https://mirrors.tuna.tsinghua.edu.cn/pybombs
>
> Help:
>  - https://mirrors.tuna.tsinghua.edu.cn/pybombs/README.txt
>  - https://mirrors.tuna.tsinghua.edu.cn/help/pybombs/
>
>
> I have reconstructed my scripts:
>
> -  https://github.com/scateu/pybombs-mirror
>
> It works fine for me now. Hope it will help.
>
>
> Cheers!
>
> --
> Wang Kang
>
> ___
> 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


  1   2   3   4   5   >