Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-30 Thread Josh Blum
On 12/12/2011 06:56 PM, Paul Miller wrote: > On Mon, Dec 12, 2011 at 05:19:13PM -0800, Josh Blum wrote: >> Its weird that feval works ok, I tried for a bit, but I couldnt figure >> out what was different about my blocks. This will take more effort to >> figure out if thats possible, but I do thin

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-12 Thread Paul Miller
On Mon, Dec 12, 2011 at 05:19:13PM -0800, Josh Blum wrote: > Its weird that feval works ok, I tried for a bit, but I couldnt figure > out what was different about my blocks. This will take more effort to > figure out if thats possible, but I do think its a bug in swig. Well, let me know if I can h

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-12 Thread Josh Blum
On 12/12/2011 05:10 PM, Paul Miller wrote: > > On Wed, Dec 7, 2011 at 2:03 PM, Josh Blum wrote: >> I cant say yet as to why, but at least its reproducible. > > I spent a few hours source diving today and gdb-stepping. I > could not figure it out, but I did find that it's broken in every > min

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-12 Thread Paul Miller
On Wed, Dec 7, 2011 at 2:03 PM, Josh Blum wrote: > I cant say yet as to why, but at least its reproducible. I spent a few hours source diving today and gdb-stepping. I could not figure it out, but I did find that it's broken in every minor release after 2.0.1 (2.0.2, 3 and 4). I finally gave u

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-07 Thread Josh Blum
> I definitely wonder if it's my swig. Can you try under Swig > 2.0.4 on your end? > swig 2.01 from ubuntu 11.10 repo was ok swig 2.04 from source had the same failure I cant say yet as to why, but at least its reproducible. -josh ___ Discuss-gnu

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-07 Thread Paul Miller
On Tue, Dec 06, 2011 at 09:54:43PM -0800, Josh Blum wrote: > So it looks like everything else passed which included gr_feval (another > thing in gnuradio-core that uses swig directors). Yes, indeed sir, that happened. Start 22: qa_feval 22/92 Test #22: qa_feval .

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-06 Thread Josh Blum
On 12/06/2011 06:39 PM, Paul Miller wrote: > On Tue, Dec 06, 2011 at 12:44:17PM -0800, Josh Blum wrote: >> Whats your OS? I have tested it on a few recent ubuntus and fedoras, and >> windows with a recent boost. > > Arch. Everything is wacky new because of rolling release. It's > super easy to

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-06 Thread Paul Miller
On Tue, Dec 06, 2011 at 12:44:17PM -0800, Josh Blum wrote: > Whats your OS? I have tested it on a few recent ubuntus and fedoras, and > windows with a recent boost. Arch. Everything is wacky new because of rolling release. It's super easy to get going if you build a test box, and I will happily

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-06 Thread Josh Blum
On 12/05/2011 06:40 PM, Paul Miller wrote: > On Mon, Dec 05, 2011 at 08:30:17AM -0800, Josh Blum wrote: >> Looks like I had a typo in the forecast call, fix is pushed. I should >> have had unit testing for the general_work as well. >> http://gnuradio.org/cgit/jblum.git/log/?h=python_blocks > > C

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-05 Thread Paul Miller
On Mon, Dec 05, 2011 at 08:30:17AM -0800, Josh Blum wrote: > Looks like I had a typo in the forecast call, fix is pushed. I should > have had unit testing for the general_work as well. > http://gnuradio.org/cgit/jblum.git/log/?h=python_blocks Compiled! > I dont really know if thats the cause of t

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-05 Thread Josh Blum
On 12/04/2011 07:14 PM, Paul Miller wrote: > > I have built a really simple block for testing purposes… > > When I run it, I get segmentation faults and source diving has > not revealed the problem to me — there's a lot of code there, too > much for me it seems. > > Am I doing something so hor

[Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-04 Thread Paul Miller
I have built a really simple block for testing purposes… When I run it, I get segmentation faults and source diving has not revealed the problem to me — there's a lot of code there, too much for me it seems. Am I doing something so horribly wrong? The build I'm using from jbuml's git: * jblu