# Gnu Radio Companion Not Finding My OOT Module

**URL:** <https://www.ruby-forum.com/t/gnu-radio-companion-not-finding-my-oot-module/232120>\
**Category:** GNU Radio\
**Created:** [September 18, 2014, 9:23pm UTC](https://www.ruby-forum.com/t/gnu-radio-companion-not-finding-my-oot-module/232120 "2014-09-18T21:23:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [September 18, 2014, 9:23pm UTC](https://www.ruby-forum.com/t/gnu-radio-companion-not-finding-my-oot-module/232120/1 "2014-09-18T21:23:31Z")

</div>

I have built an OOT using the gr\_modtool methods found in the OOT  
tutorial. I was successful in executing the build, make and make  
install commands. I am running gnu radio and gnu radio-companion on a  
MAC, OSX. It was installed at opt/local. Previously I was successful  
in installing such add-ons as gr-osmocom and the BladeRF library.

My OOT module is called Buffer\_Proc and it includes an executable called  
BfrProc. The first time I used sudo make install, all the Buffer\_Proc  
files were installed in /usr/local so I edited cmake\_install.cmake so  
that I now had the line in it: set(CMAKE\_INSTALL\_PREFIX “/opt/local”).

The next time I ran make install, the messages in the terminal window  
indicated everything was now installed in the directory set beginning  
with /opt/local. Now in /opt/local/include I see a file Buffer\_Proc.  
This (opt/local/include) is where, for example I also see the file  
osmosdr. I believe this is important because the top\_block.py script  
for my design includes the lines

import osmosdr  
import Buffer\_Proc

My design uses an RTL-SDR and when I execute the design in GRC, it finds  
osmosdr.

When I run GRC I see the module Buffer\_Proc in the resources list and  
from inside Buffer\_Proc I can drag BfrProc on to the workspace. I can  
set its sink and source variables and link it to the upstream and  
downstream modules in my design. I can build the design but when I try  
to execute it, I get an error message:

Traceback (most recent call last):  
File “/Users/Ray/Avionex/top\_block.py”, line 22, in   
import Buffer\_Proc  
ImportError: No module named Buffer\_Proc

I have a suspicion I have either installed incorrectly or did not  
execute a command to make GRC aware of my OOT. Can anyone suggest a  
trouble shooting approach?

Thanks,  
Ray
