Forum: GNU Radio Maximum recursion depth exceeded

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9c2ab60bcd7045e9acc36aa8074a3336?d=identicon&s=25 Philip Balister (Guest)
on 2009-01-28 14:38
(Received via mailing list)
When running gnuradio (subversion r10302), I see the following
Exception. I normally see teh circbuf message. I still hear the
dialtone though.

root@beagleboard:~# python
/usr/share/gnuradio/examples/audio/dial_tone.py
Exception RuntimeError: 'maximum recursion depth exceeded while
calling a Python object' in <type 'exceptions.AttributeError'> ignored
gr_vmcircbuf_createfilemapping: createfilemapping is not available
gr_vmcircbuf_sysv_shm: shmat (3): Invalid argument

This system runs python 2.6, if that makes a difference/

Philip
D0072e69d706bb3ca211d33a1b536e2c?d=identicon&s=25 Johnathan Corgan (Guest)
on 2009-01-29 23:52
(Received via mailing list)
On Wed, Jan 28, 2009 at 7:30 AM, Philip Balister
<philip.balister@gmail.com> wrote:

> root@beagleboard:~# python /usr/share/gnuradio/examples/audio/dial_tone.py
> Exception RuntimeError: 'maximum recursion depth exceeded while
> calling a Python object' in <type 'exceptions.AttributeError'> ignored
> gr_vmcircbuf_createfilemapping: createfilemapping is not available
> gr_vmcircbuf_sysv_shm: shmat (3): Invalid argument
>
> This system runs python 2.6, if that makes a difference/

It does.  Thanks for the report.  We've put off testing with 2.6 bit
it's apparent there are some issues.

Johnathan
9c2ab60bcd7045e9acc36aa8074a3336?d=identicon&s=25 Philip Balister (Guest)
on 2009-01-31 18:51
(Received via mailing list)
On Thu, Jan 29, 2009 at 5:51 PM, Johnathan Corgan
<jcorgan@corganenterprises.com> wrote:
>
> It does.  Thanks for the report.  We've put off testing with 2.6 bit
> it's apparent there are some issues.

Do you have any thoughts on when you might start testing against python
2.6?

I'm working out a way to get libtool to do the linking on the build
machine and then running "make check" on the beagle. I think I am
getting somewhere, but I do see messages like this:

/home/balister/oe/tmp/staging/x86_64-linux/usr/bin/python: line 1:
ELF: not found
/home/balister/oe/tmp/staging/x86_64-linux/usr/bin/python: line 2:
syntax error: word unexpected (expecting ")")

Philip
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-01-31 19:06
(Received via mailing list)
On Sat, Jan 31, 2009 at 12:49:52PM -0500, Philip Balister wrote:
> >>
> >> This system runs python 2.6, if that makes a difference/
> >
> > It does.  Thanks for the report.  We've put off testing with 2.6 bit
> > it's apparent there are some issues.
>
> Do you have any thoughts on when you might start testing against python 2.6?

Soon.  I want the python 2.6 issue sorted out before the final
release of 3.2.  Johnathan has recently made an rc0 tarball that
I suspect he'll announce real soon now.

If anybody wants to dive in and sort this out, it would be most
appreciated.  Reading the python docs that explain what's changed
between 2.5 and 2.6 would probably be a good start.

Eric
C0ba64b9e5a62ed77295b79b63ab87c0?d=identicon&s=25 Dimitris Symeonidis (Guest)
on 2009-01-31 19:17
(Received via mailing list)
Just informing the group that, from what it seems, the default python
version for Ubuntu 9.04 will be the same it was for 8.10, namely
2.5.2: http://packages.ubuntu.com/jaunty/python

Instead, python3 is included in both 8.10 and 9.04. Is the plan to
port gnuradio to python3?

Dimitris Symeonidis
"If you think you're too small to make a difference, try sleeping with
a mosquito!" - Amnesty International
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-01-31 19:30
(Received via mailing list)
On Sat, Jan 31, 2009 at 07:16:36PM +0100, Dimitris Symeonidis wrote:
> Just informing the group that, from what it seems, the default python
> version for Ubuntu 9.04 will be the same it was for 8.10, namely
> 2.5.2: http://packages.ubuntu.com/jaunty/python
>
> Instead, python3 is included in both 8.10 and 9.04. Is the plan to
> port gnuradio to python3?

There's no plan yet.  This needs to be investigated.

Eric
9c2ab60bcd7045e9acc36aa8074a3336?d=identicon&s=25 Philip Balister (Guest)
on 2009-01-31 19:43
(Received via mailing list)
On Sat, Jan 31, 2009 at 1:29 PM, Eric Blossom <eb@comsec.com> wrote:
> On Sat, Jan 31, 2009 at 07:16:36PM +0100, Dimitris Symeonidis wrote:
>> Just informing the group that, from what it seems, the default python
>> version for Ubuntu 9.04 will be the same it was for 8.10, namely
>> 2.5.2: http://packages.ubuntu.com/jaunty/python
>>
>> Instead, python3 is included in both 8.10 and 9.04. Is the plan to
>> port gnuradio to python3?
>
> There's no plan yet.  This needs to be investigated.

Fedora 10 is 2.5.2. Not sure what they are planning. Anyone know of a
mainstream distro that uses python 2.6?

Philip
9c2ab60bcd7045e9acc36aa8074a3336?d=identicon&s=25 Philip Balister (Guest)
on 2009-02-01 16:58
(Received via mailing list)
On Sat, Jan 31, 2009 at 12:49 PM, Philip Balister
<philip.balister@gmail.com> wrote:
>
> /home/balister/oe/tmp/staging/x86_64-linux/usr/bin/python: line 1:
>  ELF    : not found
> /home/balister/oe/tmp/staging/x86_64-linux/usr/bin/python: line 2:
> syntax error: word unexpected (expecting ")")

This is obviously an attempt to run python compiled for the build
machine on the Beagle ....

Amazing how much clearer things are in the morning.

Philip
C0ba64b9e5a62ed77295b79b63ab87c0?d=identicon&s=25 Dimitris Symeonidis (Guest)
on 2009-02-01 18:46
(Received via mailing list)
Fedora 11 will indeed most likely have python 2.6:
https://fedoraproject.org/wiki/Features/Python_2.6

Dimitris Symeonidis
"If you think you're too small to make a difference, try sleeping with
a mosquito!" - Amnesty International
891c140a55f53b9a238adcb9cc5febb6?d=identicon&s=25 John Gilmore (Guest)
on 2009-02-03 22:06
(Received via mailing list)
> >> Instead, python3 is included in both 8.10 and 9.04. Is the plan to
> >> port gnuradio to python3?
> >
> > There's no plan yet.  This needs to be investigated.
>
> Fedora 10 is 2.5.2. Not sure what they are planning. Anyone know of a
> mainstream distro that uses python 2.6?

Python 2.6 missed the release window for F10.  Fedora 11 plans to make
Python 2.6 the default ("Fedora is about pushing the boundaries, and
having Python 2.6 as a transitional release on the path to Python 3000
is no exception.")  The F11 Roadmap says they're 85% done so far (and
have no fallback position, i.e. it's gonna happen even if some things
break around the edges):

  https://fedoraproject.org/wiki/Releases/11/FeatureList
  https://fedoraproject.org/wiki/Features/Python_2.6

The F11 alpha is already frozen, it'll come out on Feb 5th.  Feature
freeze is March 3.  Beta code and string freezes are March 10.  Is
there any chance that a GNU Radio release with Python 2.6 support
is going to hit those dates?

Python 3.x is going to be a much bigger deal for GNU Radio -- but 2.6
is designed as a compatible transition release so you can evolve your
code forward, gradually.  Guido van van Rossum's slides on "Python
3000 and You" are at the first URL below:

  http://www.artima.com/weblogs/viewpost.jsp?thread=227041
  http://www.python.org/doc/2.6/whatsnew/2.6.html
  http://python.org/download/releases/3.0/

  John
D0072e69d706bb3ca211d33a1b536e2c?d=identicon&s=25 Johnathan Corgan (Guest)
on 2009-02-03 22:09
(Received via mailing list)
On Tue, 2009-02-03 at 13:00 -0800, John Gilmore wrote:

> The F11 alpha is already frozen, it'll come out on Feb 5th.  Feature
> freeze is March 3.  Beta code and string freezes are March 10.  Is
> there any chance that a GNU Radio release with Python 2.6 support
> is going to hit those dates?

Our "intent" is that we'll roll any changes needed to work with 2.6 into
the trunk and backport to the 3.2 stable release.  It high on the list
of things to work out during the release candidate series.

Johnathan
F1bb6ee0c2aec39cf71bafb6ba4bbc61?d=identicon&s=25 Marek Mahut (Guest)
on 2009-03-05 15:29
(Received via mailing list)
Hello,

Johnathan Corgan wrote:
> On Tue, 2009-02-03 at 13:00 -0800, John Gilmore wrote:
>
>> The F11 alpha is already frozen, it'll come out on Feb 5th.  Feature
>> freeze is March 3.  Beta code and string freezes are March 10.  Is
>> there any chance that a GNU Radio release with Python 2.6 support
>> is going to hit those dates?
>
> Our "intent" is that we'll roll any changes needed to work with 2.6 into
> the trunk and backport to the 3.2 stable release.  It high on the list
> of things to work out during the release candidate series.

Do you know of any ETA for Python 2.6 support of 3.2 release? Any chance
to get it before 14 April?

> Johnathan

Thank you,

--
Marek Mahut               https://fedoraproject.org/wiki/SIGs/Astronomy/
Fedora Project                                   http://www.jamendo.com/
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-03-05 19:02
(Received via mailing list)
On Thu, Mar 05, 2009 at 03:27:48PM +0100, Marek Mahut wrote:
> > Our "intent" is that we'll roll any changes needed to work with 2.6 into
> > the trunk and backport to the 3.2 stable release.  It high on the list
> > of things to work out during the release candidate series.
>
> Do you know of any ETA for Python 2.6 support of 3.2 release? Any chance
> to get it before 14 April?

That should be possible.

Eric
This topic is locked and can not be replied to.