discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] PyBombs installation issue


From: Usman Haider
Subject: Re: [Discuss-gnuradio] PyBombs installation issue
Date: Wed, 18 Jan 2017 13:58:39 +0500

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 <address@hidden> 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 <address@hidden> 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 <address@hidden> 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 <address@hidden> 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 address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]