Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'exception': 0.03; '__name__': 0.07; 'processing.': 0.07; "subject:' ": 0.07; 'suppose': 0.07; 'confuse': 0.09; 'integral': 0.09; 'subject:GNU': 0.09; 'subject:module': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'gui': 0.11; "wouldn't": 0.11; 'suggest': 0.11; 'stack': 0.15; 'blocks': 0.16; 'cares': 0.16; 'created.': 0.16; 'decode': 0.16; 'fix,': 0.16; 'hint': 0.16; 'ides': 0.16; 'it..': 0.16; 'jumps': 0.16; 'mixture': 0.16; 'subject:object': 0.16; 'url.': 0.16; 'module': 0.19; 'sort': 0.21; 'supposed': 0.21; 'trace': 0.22; 'help.': 0.22; 'posted': 0.22; "i'd": 0.22; 'cc:2**0': 0.23; 'somebody': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'wondering': 0.26; 'question': 0.27; "doesn't": 0.28; 'there.': 0.28; 'lines': 0.28; 'run': 0.28; 'post': 0.28; '(ie.': 0.29; 'far.': 0.29; 'surprised': 0.29; 'workaround': 0.29; 'source': 0.29; 'code': 0.31; 'received:google.com': 0.34; 'thanks': 0.34; 'along': 0.35; 'needed': 0.35; 'path': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'flow': 0.36; "didn't": 0.36; 'too': 0.36; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'nothing': 0.38; 'sure': 0.38; 'instead': 0.39; 'little': 0.39; 'where': 0.40; 'skip:" 10': 0.40; 'your': 0.60; 'from:no real name:2**0': 0.60; 'places': 0.61; 'personal': 0.62; 'goal': 0.74; 'subject:skip:A 10': 0.75; 'subject:running': 0.84; 'subject:skip:g 10': 0.84; 'luck': 0.93; 'cooperation': 0.96 X-Received: by 10.49.71.169 with SMTP id w9mr275600qeu.7.1361026590511; Sat, 16 Feb 2013 06:56:30 -0800 (PST) Newsgroups: comp.lang.python Date: Sat, 16 Feb 2013 06:56:30 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=74.76.226.247; posting-account=aUyV1AoAAADQHesJeGDOvoY6ETPzeVsR References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 74.76.226.247 MIME-Version: 1.0 Subject: Re: Exception running GNU module "op25_grc.py" : AttributeError: 'gr_hier_block2_sptr' object has no attribute 'set_callback' From: matt.doolittle33@gmail.com To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 51 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361027373 news.xs4all.nl 6853 [2001:888:2000:d::a6]:52350 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39005 > > I know nothing about this gnuradio thingie, and you didn't supply a=20 >=20 > website url. I was wondering if the module is even intended to be run=20 >=20 > standalone, but I suppose the if __name__ =3D=3D "__main__" thing is a c= lue=20 >=20 > that it's supposed to. >=20 >=20 >=20 > I found the mixture of trace lines to confuse the stack trace immensely,= =20 >=20 > since the exception doesn't occur in the last source line quoted.=20 >=20 > Somebody better than I had best jump in and help. >=20 >=20 >=20 >=20 > If nobody else jumps in, I'd suggest finding a forum that supports=20 >=20 > gnuradio, and ask there. >=20 >=20 >=20 >=20 >=20 > --=20 >=20 > DaveA Thanks Dave, yes, I too am a little surprised as to why nobody cares to sup= ply a fix, a workaround, or even a hint as why this is going on. I put the= exact same post in the gnu-radio homebrew forum and the moderated closed t= he thread; I am not sure why because he wouldn't answer me but he closed it= . Ive posted this question in so many places with but no luck so far. =20 As a workaround I removed the block "wxgui_fftsink2", as that block is not = integral to the signal processing. And that is the goal of "op25_grc.py", = to decode digital radio signals. This code block is run in GNU radio compa= nion (GRC) along with many others in the signal processing path . GRC is a = GUI where one can manage the code (ie. use a flow graph instead of coding) = needed to process radio signals with a personal computer; sort of like the = IDEs people use to create executables. One can create there own processing= blocks or use blocks that others have created. =20 Thanks for your cooperation and patience! I am going to keep working on t= his as time allows.