discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] TDMA Engine Error


From: Josh Blum
Subject: Re: [Discuss-gnuradio] TDMA Engine Error
Date: Fri, 26 Apr 2013 00:15:19 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

>   File "/home/s/tdm/tdma_radio.py", line 70, in __init__
>     freq=freq,
>   File "/home/s/.grc_gnuradio/tdma_hier.py", line 76, in __init__
>     self.tdma_engine =
> precog.tdma_engine(initial_slot,slot_interval,guard_interval,number_of_slots,lead_limit,link_speed)
>   File "/usr/local/lib/python2.7/dist-packages/precog/tdma_engine.py", line
> 100, in __init__
>     self.set_tag_propagation_policy(extras_swig.TPP_DONT)
> NameError: global name 'extras_swig' is not defined
> 

Looks like an import got removed from that file, but I dont think its
needed.

try changing this trouble line to

self.set_tag_propagation_policy(gnuradio.extras.TPP_DONT)

Or if that doesnt work

from gnuradio import extras
self.set_tag_propagation_policy(extras.TPP_DONT)

-josh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]