discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] USRP on NetBSD


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] USRP on NetBSD
Date: Thu, 15 Dec 2005 21:32:29 -0800
User-agent: Mutt/1.5.6i

On Thu, Dec 15, 2005 at 02:35:30PM -0500, Greg Troxel wrote:
> I have the following
> 
>   NetBSD-current from within the last few weeks
>   GNU Radio 2.6 release (via NetBSD pkgsrc)
>   USRP rev 3 (brand new, arrived yesterday) with TVRX and Flex440
>   D-Link USB2 cardbus (NEC ehci)
>   IBM Thinkpad T30

The mysterious

>     if signature.max_streams () == -1: # infinite
> AttributeError: 'PySwigObject' object has no attribute 'max_streams'

generally indicates that there is something stale (gnuradio related)
installed somewhere along your PYTHONPATH.


Assuming that there's only gnuradio stuff in site-packages, this
usually works:

  $ rm -fr <prefix>/lib/python<ver>/site-packages/*
  $ rm <prefix>/lib/libgnuradio*
  $ rm <prefix/lib/libusrp*

Then do a "make clean" in gnuradio-core/src/lib/swig
and reinstall all the gnuradio stuff.

Eric




reply via email to

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