Re: [Discuss-gnuradio] Installation problem: Ubuntu 9.04-gnuradio binary 3.2 package (recursion depth error)

2009-09-11 Thread David Knox


Eric Blossom wrote:
> 
> We fixed a Python 2.6 related quite a while ago.  Have you tried
> updating to a more recent version of the trunk (or git if you like)?
> 
> Eric
> 

As a test, I uninstalled gnuradio and then re-installed it.  I was not too
clear on the correct process for this, based on my reading of the forums and
a quick web search.  For the benefit of others, I will list what I did
(which worked for me).  

I used both 'sudo make uninstall' in the root gnuradio directory
I also uninstalled it (again?) using the Synaptic package manager.
I re-installed gnuradio using only Synaptic and gnu-companion as the device
to pull everything in, although gnu-companion looks nifty as an application
too.  

I don't know which of these steps is necessary or unnecessary.  However,
after this, all the examples that I have tried have worked without error
messages on my USRP1 platform.
-- 
View this message in context: 
http://www.nabble.com/Installation-problem%3A-Ubuntu-9.04-gnuradio-binary-3.2-package-%28recursion-depth-error%29-tp25347223p25397039.html
Sent from the GnuRadio mailing list archive at Nabble.com.



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


Re: [Discuss-gnuradio] Installation problem: Ubuntu 9.04-gnuradio binary 3.2 package (recursion depth error)

2009-09-10 Thread Eric Blossom
On Wed, Sep 09, 2009 at 10:30:16PM -0700, DDKK wrote:
> 
> I am wondering if this is some kind of pythonpath setup error that I'm
> making.
> 
> I get the same error if I just import the gr definition from gnuradio in the
> python interpreter.  It gives me the same error message the first time,
> although it *doesn't* complain on the second and subsequent import attempts:
> 
> u...@ubuntu:/usr/local/gnuradio_r10495/gnuradio-examples/python/audio$
> python
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) 
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from gnuradio import gr
> Exception RuntimeError: 'maximum recursion depth exceeded while calling a
> Python object' in  ignored
> >>> from gnuradio import gr
> >>> 
> 

We fixed a Python 2.6 related quite a while ago.  Have you tried
updating to a more recent version of the trunk (or git if you like)?

Eric


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


Re: [Discuss-gnuradio] Installation problem: Ubuntu 9.04-gnuradio binary 3.2 package (recursion depth error)

2009-09-09 Thread DDKK

I am wondering if this is some kind of pythonpath setup error that I'm
making.

I get the same error if I just import the gr definition from gnuradio in the
python interpreter.  It gives me the same error message the first time,
although it *doesn't* complain on the second and subsequent import attempts:

u...@ubuntu:/usr/local/gnuradio_r10495/gnuradio-examples/python/audio$
python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gnuradio import gr
Exception RuntimeError: 'maximum recursion depth exceeded while calling a
Python object' in  ignored
>>> from gnuradio import gr
>>> 

-- 
View this message in context: 
http://www.nabble.com/Installation-problem%3A-Ubuntu-9.04-gnuradio-binary-3.2-package-%28recursion-depth-error%29-tp25347223p25377520.html
Sent from the GnuRadio mailing list archive at Nabble.com.



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


[Discuss-gnuradio] Installation problem: Ubuntu 9.04-gnuradio binary 3.2 package (recursion depth error)

2009-09-08 Thread ingangout . civ9z
Following the advice at http://gnuradio.org/trac/wiki/UbuntuInstall, I 
installed the Jaunty version of the Ubuntu distro. on my PC and the , hoping 
for a clean installation of the gnuradio code in a Linux environment (gnuradio 
version 3.2.2-1, according to the synaptic code manager).  I am trying to get 
some UCLA IEEE 802.15.4 code running (at 
https://www.cgran.org/browser/projects/ucla_zigbee_phy/trunk).  Therefore, I 
also followed the installation instructions at: 
https://www.cgran.org/wiki/UCLAZigBee#HowToInstall.  However, after 
installation of all of these, when I try to run the dial tone python example 
(now located in 
/usr/local/gnuradio_r10495/gnuradio-examples/python/audio/dial_tone.py or the 
multi-tone examples, I get the following error:

u...@ubuntu:/usr/local/gnuradio_r10495/gnuradio-examples/python/audio$ python 
dial_tone.py 
Exception RuntimeError: 'maximum recursion depth exceeded while calling a 
Python object' in  ignored

If I run the oscilloscope example, I get the same error:

u...@ubuntu:/usr/local/gnuradio_r10495/gr-utils/src/python$ ./usrp_oscope.py 
Exception RuntimeError: 'maximum recursion depth exceeded while calling a 
Python object' in  ignored

I get the same error when trying to run the UCLA code examples:

u...@ubuntu:/usr/local/ucla_zigbee_phy/src/examples$ python cc2420_rxtest.py
Exception RuntimeError: 'maximum recursion depth exceeded while calling a 
Python object' in  ignored
cordic_freq = 2.475G
data_rate =  2M
samples_per_symbol =  2
usrp_decim =  16
fs =  4M
Using RX d'board A: Flex 2400 Rx MIMO B
>>> gr_fir_fff: using SSE
802_15_4_pkt: waiting for packet

Interestingly, the gnuradio example programs and the UCLA program all appear to 
work(!). I hear tones for the gnuradio audio examples, see an oscilloscope with 
radio activity and I can detect some 802.15.4 beacons using the UCLA example.  

This error seems to have been observed before and to have been attributed to an 
incompatibility between the linux kernel version (my version is 2.6.28-11) and 
the specific version of Python (my version is 2.6).  e.g. 
http://www.ruby-forum.com/topic/176968, 
http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg17030.html. However, 
after a search of the forums and a google or two, I cannot see any information 
about resolving the issue.  Is this a problem that can be ignored safely?  

To get rid of the error or work around the problem, it seems to me that my 
possible options are: 
 . Find a different version of Ubuntu and/or gnuradio that are known to work 
together properly (building from a tarball maybe???). I also need versions that 
will also support the UCLA code
 . change my version of python (I have tried an altinstall of python2.5, but 
get a different set of errors).  This assumes that the Python version *is* in 
fact the issue.
 . get (more) help from the authors of the UCLA code about the compatible 
versions of UCLA and gnuradio software and/or the OS kernel and/or Python 
software that they are using in their labs
 . Review installation logs for potential problems that may have occurred 
during installation (are the logs for any of these installation processes 
stored somewhere or are they just sent to the standard output... which I didn't 
save?). 

These options really require some knowledge of what is supposed to work, which 
I don't have and haven't found yet. The dial_tone and multi_tone examples are 
pretty simple gnuradio-only ones, right?  These examples shouldn't have a lot 
of dependencies on stuff made and configured during the UCLA code tree 
installation process, I'm hoping.  Any guidance from anyone about what to try 
next would be very much appreciated.

/ David


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