discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Pybombs confused?


From: Hans Van Ingelgom
Subject: Re: [Discuss-gnuradio] Pybombs confused?
Date: Fri, 5 Feb 2016 18:29:27 +0100

Hello,

I've updated pybombs to the latest revision. update now works without crashing.

I still can't access the hardware.

If I run osmocom_fft i get the following message:

built-in source types: file osmosdr fcd rtl rtl_tcp uhd rfspace redpitaya

With gqrx it is a bit different:

built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace

As you can see hackrf is not listed with osmocom_fft but it is with gqrx.


Also, I tried with my B200 instead of the rad1o. When I run uhd_images_downloader (as root) I get the following message:
You do not have write permissions at the install location!

I had to use strace to discover that the directory /usr/share/uhd didn't exist. One mkdir command later it worked.

Still, uhd_usrp_probe is not working:

linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.005.005-0-unknown

Error: LookupError: KeyError: No devices found for ----->
Empty Device Address


Greetings,
Hans.

PS: Glad to help out with testing Pybombs 2.


On Thu, Feb 4, 2016 at 6:38 PM, Martin Braun <address@hidden> wrote:
One thing we need to figure out is good defaults to what install from
source, and what to install from binaries. Currently its gnuradio and
all OOTs, but maybe we should add the hardware support, too.

As for the AssertionError, that was fixed on the repo recently.

PyBOMBS can't (currently) remove stuff from your system (e.g. apt-get
remove). I'm not sure if we want to add that... seems dangerous. But
might also be useful.

Thanks for all the reports on PyBOMBS, by the way. It's a bumpy process
to get it into a mature state, but judging by the rate we're fixing
bugs, I think it's getting there.

Cheers,
Martin

On 02/04/2016 07:14 AM, Hans Van Ingelgom wrote:
> Hello,
>
> I was trying the new pybombs (installed from git 4be6626) on Linux Mint
> 17.3, and I am getting confusing messages.
>
> I installed gnuradio, gr-osmosdr and gqrx.
>
> I tried using my rad1o, but the both osmocom_fft and gqrx can't find it.
> udev rules are installed, I checked dmesg and /dev, the hardware side
> seems fine.
>
> I tried hackrf_info and it also gave me the same error:
> hackrf_open() failed: HACKRF_ERROR_NOT_FOUND (-5)
>
> (As root I get the same message so I am rather confident that it's not
> the permissions)
>
> Then it gets weird:
> ~> sudo pybombs install hackrf
> PyBombs.install - INFO - No packages to install.
>
> ~> sudo pybombs show hackrf
> Recipe name:    hackrf
> Is installed:   Yes
> Is installable: Yes
>
> ~> sudo pybombs remove hackrf
> PyBombs.PackageManager - WARNING - This binary package manager can't be
> instantiated:
> PyBombs.remove - ERROR - Package hackrf is not installed. Aborting.
>
> ~> whereis hackrf_info
> hackrf_info: /usr/bin/hackrf_info /usr/bin/X11/hackrf_info
> /usr/share/man/man1/hackrf_info.1.gz
>
> ~> dpkg -S /usr/bin/hackrf_info
> hackrf: /usr/bin/hackrf_info
>
> ~> sudo pybombs update
> |
> +- gr-iqbal
> |  |
> |  +- libosmo-dsp
> |  |
> |  \- gnuradio
> |     |
> |     \- apache-thrift
> |
> \- gnuradio
>    |
>    \- apache-thrift
> |
> +- libosmo-dsp
> |
> \- gnuradio
>    |
>    \- apache-thrift
> |
> \- apache-thrift
> |
> \- gr-osmosdr
>    |
>    +- gr-iqbal
>    |  |
>    |  +- libosmo-dsp
>    |  |
>    |  \- gnuradio
>    |     |
>    |     \- apache-thrift
>    |
>    \- gnuradio
>       |
>       \- apache-thrift
> Traceback (most recent call last):
>   File "/usr/local/bin/pybombs", line 9, in <module>
>     load_entry_point('PyBOMBS==2.0.0', 'console_scripts', 'pybombs')()
>   File
> "/usr/local/lib/python2.7/dist-packages/PyBOMBS-2.0.0-py2.7.egg/pybombs/main.py",
> line 30, in main
>     return dispatch() or 0
>   File
> "/usr/local/lib/python2.7/dist-packages/PyBOMBS-2.0.0-py2.7.egg/pybombs/commands/base.py",
> line 134, in dispatch
>     return get_cmd_dict(cmd_list)[args.command](cmd=args.command,
> args=args).run()
>   File
> "/usr/local/lib/python2.7/dist-packages/PyBOMBS-2.0.0-py2.7.egg/pybombs/commands/install.py",
> line 143, in run
>     if self.args.deps_only and pkg in self.args.packages:
> AttributeError: 'Namespace' object has no attribute 'deps_only'
>
>
>
> Does anyone know what the problem is here?
>
> Greetings,
> Hans Van Ingelgom.
>
>
> _______________________________________________
> 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]