# AttributeError: how to fixed it

**URL:** <https://www.ruby-forum.com/t/attributeerror-how-to-fixed-it/210153>\
**Category:** GNU Radio\
**Created:** [August 1, 2011, 12:38pm UTC](https://www.ruby-forum.com/t/attributeerror-how-to-fixed-it/210153 "2011-08-01T12:38:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [August 1, 2011, 12:38pm UTC](https://www.ruby-forum.com/t/attributeerror-how-to-fixed-it/210153/1 "2011-08-01T12:38:27Z")

</div>

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](http://old.nabble.com/AttributeError%3A-how-to-fixed-it-tp32168586p32168586.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![jagdish\_p](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@jagdish\_p](https://www.ruby-forum.com/u/jagdish_p)\
**Post date:** [August 2, 2011, 1:26am UTC](https://www.ruby-forum.com/t/attributeerror-how-to-fixed-it/210153/2 "2011-08-02T01:26:27Z")

</div>

On Mon, Aug 1, 2011 at 6:37 AM, patiljagdish154  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![jagdish\_p](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@jagdish\_p](https://www.ruby-forum.com/u/jagdish_p)\
**Post date:** [October 30, 2011, 5:55am UTC](https://www.ruby-forum.com/t/attributeerror-how-to-fixed-it/210153/3 "2011-10-30T05:55:28Z")

</div>

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’
