Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-13 Thread Johnathan Corgan
On 2/13/08, Josh Blum <[EMAIL PROTECTED]> wrote: > The gr blocks still seem to cause core aborts. In general, these are cases where we have not told SWIG (via the associated .i file) that a particular method may raise an exception. Yes, this is a bug. There are probably a few of them. And QA co

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-13 Thread Josh Blum
I am running trunk R7650. gr.firdes.hilbert(0) throws an index error, good! The gr blocks still seem to cause core aborts. Example: gr.file_sink(0, '') gr.null_sink(0) gr.null_source(0) ...like that Also, would it make sense to add "exception checking" to the unit tests for blocks and functi

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-05 Thread Firas A.
Hi, Great. It works perfectly now. Best Regards, Firas -- View this message in context: http://www.nabble.com/Information-on-ticket%3A181-and-invitation-to-help-%28long%29-tp14933481p15297267.html Sent from the GnuRadio mailing list archive at Nabble.com. __

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-05 Thread Johnathan Corgan
On 2/5/08, Johnathan Corgan <[EMAIL PROTECTED]> wrote: > Firas Abbas wrote: > > > Yes. The GNU Radio is working. Only when I run the sequence tb.start() , > > tb.stop() then tb.start() in the running python code, I get this problem > > [I cannot run tb.start() two times]. > > This actually sounds

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-05 Thread Johnathan Corgan
Firas Abbas wrote: > Yes. The GNU Radio is working. Only when I run the sequence tb.start() , > tb.stop() then tb.start() in the running python code, I get this problem > [I cannot run tb.start() two times]. This actually sounds like a new, different issue; I'll look at this today. -- Johnathan

Re: Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-05 Thread Firas Abbas
Hi, > Eric Blossom <[EMAIL PROTECTED]> wrote: > > Did you do a "make install" before running this? > > Eric Yes. The GNU Radio is working. Only when I run the sequence tb.start() , tb.stop() then tb.start() in the running python code, I get this problem [I cannot run tb.start() two times]. R

Re: Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-05 Thread Eric Blossom
On Mon, Feb 04, 2008 at 11:47:57PM -0800, Firas A. wrote: > > Hi, > > > Jonhathan wrote : > > > > Please only post to the list if the problem continues even after using > > trunk revision >= 7461; we're looking for exceptions at this point. > > As with r7554, GNU Radio still have the swig proble

Re: Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-04 Thread Firas A.
Hi, > Jonhathan wrote : > > Please only post to the list if the problem continues even after using > trunk revision >= 7461; we're looking for exceptions at this point. As with r7554, GNU Radio still have the swig problem with top_block(). The flow_graph does not have this problem. I'm using Ubu

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-19 Thread Jan Schiefer
$ python Python 2.4.4 (#1, Nov 1 2007, 23:42:22) [GCC 4.1.2 (Gentoo 4.1.2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gnuradio import gr >>> gr.firdes.hilbert(0) terminate called after throwing an instance of 'std::out_of_range' what(): Hilbert:

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-18 Thread Ed Criscuolo
Here's a sample with: Gnu Radio 3.1.1 g++ 4.0.1 Python 2.4.4 Swig 1.3.33 OSX 10.4.11 [eds-mac:~] edwardc% python Python 2.4.4 (#1, Dec 19 2007, 10:55:40) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> f

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread George Nychis
Working on my P4 and Core Duo now! - George Johnathan Corgan wrote: Johnathan Corgan wrote: I'm going to try a fix in which we automate this; this will at least workaround the problem until the swig guys make a fix. Trunk revision r7461 now contains an automated version of the workaround,

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Johnathan Corgan
Johnathan Corgan wrote: > I'm going to try a fix in which we automate this; this will at least > workaround the problem until the swig guys make a fix. Trunk revision r7461 now contains an automated version of the workaround, which has stopped the problem in my development version. In particular

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Johnathan Corgan
Juha Vierinen wrote: > And the "quick fix" suggested in the bug report also works: > http://sourceforge.net/tracker/index.php?func=detail&aid=1863647&group_id=1645&atid=101645 Great catch! I'm going to try a fix in which we automate this; this will at least workaround the problem until the swig

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Juha Vierinen
And the "quick fix" suggested in the bug report also works: http://sourceforge.net/tracker/index.php?func=detail&aid=1863647&group_id=1645&atid=101645 j@ /swigp> python Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Eric Blossom
On Fri, Jan 18, 2008 at 01:04:38AM +0200, Juha Vierinen wrote: > This might be a similar problem: > > http://www.nabble.com/C%2B%2B,-Python-and-multiple-libraries-td14223763.html > > juha Thanks! It does look similar. Eric ___ Discuss-gnuradio mail

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Johnathan Corgan
Juha Vierinen wrote: > This might be a similar problem: > > http://www.nabble.com/C%2B%2B,-Python-and-multiple-libraries-td14223763.html Thanks, we found that too. It does look similar. So far from all the reports (thanks guys, keep them coming), the works/fails distinction is whether gcc is <

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Eric Blossom
PS3: [EMAIL PROTECTED] ~]$ python Python 2.5 (r25:51908, Nov 6 2007, 15:58:37) [GCC 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gnuradio import gr >>> gr.firdes.hilbert(0) terminate called after throwing an instance

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Juha Vierinen
This might be a similar problem: http://www.nabble.com/C%2B%2B,-Python-and-multiple-libraries-td14223763.html juha On Jan 18, 2008 12:55 AM, Juha Vierinen <[EMAIL PROTECTED]> wrote: > > Thanks. Can you get us > > > > $ g++ --version > > $ python -V > > $ swig -version > > j@ /j> g++ --versio

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Juha Vierinen
> Thanks. Can you get us > > $ g++ --version > $ python -V > $ swig -version j@ /j> g++ --version g++ (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANT

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread George Nychis
SVN latest version, Gutsy Gibbon, Core Duo L2400 (not core 2 duo) [EMAIL PROTECTED]:~/school/gr/trunk$ python Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Michael Dickens
Upgrading to SWIG 1.3.33 doesn't change this. Ubuntu 7.10, 32-bit (real, not VM), latest updates; SVN latest revision Intel core-2-duo @ 2 GHz (single board computer "commell LS-371") $ python Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubun

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread George Nychis
SVN latest version, Ubuntu Gutsy with latest updates, Pentium 4 [EMAIL PROTECTED]:~$ python Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gnuradi

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Eric Blossom
On Thu, Jan 17, 2008 at 09:46:39PM +, Juha Vierinen wrote: > Hi, > > I get the same error. My system is Ubuntu Edgy, Intel Core 2 Duo, > Macbook pro, fairly old SVN build of gnuradio. Thanks. Can you get us $ g++ --version $ python -V $ swig -version Eric > j@ /gnuradio> svn info > Pa

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Dev Ramudit
> *** Request For Help *** $ python Python 2.4.4 (#1, Oct 23 2006, 13:58:18) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gnuradio import gr >>> gr.firdes.hilbert(0) terminate called after throwing an instance o

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Michael Dickens
Ubuntu 7.10, 32-bit (real, not VM), latest updates; SVN latest revision Intel core-2-duo @ 2 GHz (single board computer "commell LS-371") $ python Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "cred

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Juha Vierinen
Hi, I get the same error. My system is Ubuntu Edgy, Intel Core 2 Duo, Macbook pro, fairly old SVN build of gnuradio. j@ /gnuradio> svn info Path: . URL: http://gnuradio.org/svn/gnuradio/trunk Repository Root: http://gnuradio.org/svn Repository UUID: 221aa14e-8319-0410-a670-987f0aec2ac5 Revision:

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Johnathan Corgan
Michael Dickens wrote: > % python > Python 2.5.1 (r251:54863, Jan 5 2008, 16:11:24) > [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin > Type "help", "copyright", "credits" or "license" for more information. from gnuradio import gr gr.firdes.hilbert(0) > Traceback (most recent ca

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Eric Blossom
On Thu, Jan 17, 2008 at 01:09:31PM -0800, Johnathan Corgan wrote: > As a follow up to the previous message regarding the segfault issue with > ticket:181, here is a simple test case that shows the problem. See the > end of this email for a request to help document which systems this > occurs on (y

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Michael Dickens
SVN latest revision; MacOS X 10.4.11 latest updates; Intel-iMac 2.16 GHz core-2-duo: % python Python 2.5.1 (r251:54863, Jan 5 2008, 16:11:24) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from gnuradio import

[Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-01-17 Thread Johnathan Corgan
As a follow up to the previous message regarding the segfault issue with ticket:181, here is a simple test case that shows the problem. See the end of this email for a request to help document which systems this occurs on (you won't need to do all the below, or use gdb as shown; just run a couple