AttributeError: how to fixed it

hi ,
i am working on GNURadio . after compiling i am getting the error . will
some tell me what this error is related to.
please check attachment for top_block.py file

Traceback (most recent call last):
File “/home/jagdish/top_block.py”, line 54, in
tb = top_block()
File “/home/jagdish/top_block.py”, line 29, in init
self.comedi_source_s_0 = comedi.source_s()
AttributeError: ‘module’ object has no attribute ‘source_s’
hi ,
i am working on GNURadio . after compiling i am getting the error . will
some tell me what this error is related to.
please check attachment for top_block.py file

Traceback (most recent call last):
File “/home/jagdish/top_block.py”, line 54, in
tb = top_block()
File “/home/jagdish/top_block.py”, line 29, in init
self.comedi_source_s_0 = comedi.source_s()
AttributeError: ‘module’ object has no attribute ‘source_s’


View this message in context:
http://old.nabble.com/AttributeError%3A-how-to-fixed-it-tp32168586p32168586.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Mon, Aug 1, 2011 at 6:37 AM, patiljagdish154
[email protected] wrote:

self.comedi_source_s_0 = comedi.source_s()
self.comedi_source_s_0 = comedi.source_s()
AttributeError: ‘module’ object has no attribute ‘source_s’

I’ve actually never used the comedi interface with GNU Radio (never
had a supported piece of equipment to use it with), and we just
recently got it back in compiling order (thanks, Josh!). Does anyone
have any hands-on experience with gr-comedi to help out here?

Tom

i got that error on ubuntu 11.10 please help me.
81, in get_flow_graph
return self.get_page().get_flow_graph()
AttributeError: ‘NoneType’ object has no attribute ‘get_flow_graph’