Qt crash on GRC on macOS

2019-11-23 Thread Mehdi Asgari
Hey everyone I have a very annoying bug in my copy of GRC which makes it impossible to use: every-time I run GRC and add a block (any block) to the empty flow-graph and click on either “in” or “out” port, GRC crashes and here’s the error description: Assertion failed:

Re: GRC embedded Python vector support

2019-11-23 Thread Glen Langston
Hi Marcus, I’ve implemented two very simple “vector median” codes, one in python and the other in c++. These take run-time defined vectors and in series and decimate, returning the median of the 4 or more vectors. The vector length is an argument. see python/ra_vmedian.py in git clone

Re: GRC embedded Python vector support

2019-11-23 Thread Marcus D. Leech
On 11/23/2019 08:22 AM, Glen Langston wrote: Hi Marcus, I’ve implemented two very simple “vector median” codes, one in python and the other in c++. These take run-time defined vectors and in series and decimate, returning the median of the 4 or more vectors. The vector length is an

Re: Qt crash on GRC on macOS

2019-11-23 Thread Emmanuel Blot
On 23 Nov 2019, at 12:29, Mehdi Asgari wrote: Assertion failed: (!x_link_empty_p(>stack)), function CGGStackRestore, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreGraphics/CoreGraphics-1348.12.4.3/CoreGraphics/Context/CGGStack.c, line 74. See

Re: Qt crash on GRC on macOS

2019-11-23 Thread Mehdi Asgari
Thank you. I can confirm that the problem is fixed with your commit (61be64d). At least I can’t reproduce the same crash now. Should test more. > On Nov 23, 2019, at 12:34 PM, Emmanuel Blot wrote: > > > > On 23 Nov 2019, at 12:29, Mehdi Asgari wrote: > >> Assertion failed:

Stopping and Starting Flowgraphs in Python

2019-11-23 Thread Richard Bell
Hello, I'm trying to transmit and receive small chunks of data in between data processing steps. I can only get the first chunk of data across, after that, calling tx.start() and rx.start() does not seems to work. The flowgraphs I'm starting have head() blocks in them that are responsible for

Re: [Discuss-gnuradio] buffer allocation failing with RuntimeError: bad_alloc

2019-11-23 Thread Bastian Bloessl
AFAIS, there are two parameters for shared memory: shmmax and shmall. The first sets the maximum size for a single segment, the latter the total available shared memory (in number of pages). You could try to increase shmall as well. Best, Bastian On 11/21/19 11:58 AM, Eamon Heaney wrote: >

Re: GRC embedded Python vector support

2019-11-23 Thread Marcus D. Leech
On 11/23/2019 08:22 AM, Glen Langston wrote: Hi Marcus, I’ve implemented two very simple “vector median” codes, one in python and the other in c++. These take run-time defined vectors and in series and decimate, returning the median of the 4 or more vectors. The vector length is an

Re: Stopping and Starting Flowgraphs in Python

2019-11-23 Thread Kevin Reid
On Sat, Nov 23, 2019 at 6:57 PM Richard Bell wrote: > I'm trying to transmit and receive small chunks of data in between data > processing steps. I can only get the first chunk of data across, after > that, calling tx.start() and rx.start() does not seems to work. The > flowgraphs I'm starting