Attribute error?

Hey all,

I’m still working on a processing block, and now recieve this error at
runtime:

Traceback (most recent call last):
File “./usrp_randsiggen.py”, line 122, in
main ()
File “./usrp_randsiggen.py”, line 96, in main
fg.set_interpolator (options.interp)
File “./usrp_randsiggen.py”, line 29, in set_interpolator
self.siggen.set_sampling_freq (self.usb_freq ())
File “/usr/lib/python2.5/site-packages/gnuradio/randsig.py”, line 100,
in
set_sampling_freq
return _randsig.randsig_source_ff_sptr_set_sampling_freq(*args)
AttributeError: ‘module’ object has no attribute
‘randsig_source_ff_sptr_set_sampling_freq’

Seems to be some issue with the function set_sampling_freq () in my
block
code, but can’t really find any issue with it. The set_sampling_freq ()
manipulator is present in both the .i and .h files, and specification of
the
function contents is present in the .cc file, essentially identical to
the
one present in the block gr_sig_source_f. Also, all treatment of
set_sampling frequency in usrp_randsiggen.py is the same as in
usrp_siggen.py. As far as I can tell, it should be working. Am I missing
something? All relevant code included below:

http://www.nabble.com/file/p20373815/randsig.i randsig.i
http://www.nabble.com/file/p20373815/randsig_source_ff.h
randsig_source_ff.h
http://www.nabble.com/file/p20373815/randsig_source_ff.cc
randsig_source_ff.cc
http://www.nabble.com/file/p20373815/usrp_randsiggen.py
usrp_randsiggen.py

View this message in context:
http://www.nabble.com/Attribute-error--tp20373815p20373815.html
Sent from the GnuRadio mailing list archive at Nabble.com.

please help me abt error
grc

(grc:1774): Gtk-WARNING **: Unable to locate theme engine in
module_path: “pixmap”,

(grc:1774): Gtk-WARNING **: Unable to locate theme engine in
module_path: “pixmap”,

(grc:1774): Gtk-WARNING **: Unable to locate theme engine in
module_path: “pixmap”,

(grc:1774): Gtk-WARNING **: Unable to locate theme engine in
module_path: “pixmap”,
<<< Welcome to GNU Radio Companion 3.2.2 >>>
Error: ‘options’

Failue
Traceback (most recent call last):
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py”, line
174, in new_page
flow_graph = self._platform.get_new_flow_graph()
File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,
line 149, in get_new_flow_graph
def get_new_flow_graph(self): return self.FlowGraph(self)
File “”, line 4, in init
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py”, line
37, in init
self.import_data()
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py”, line
192, in import_data
self._options_block = self.get_parent().get_new_block(self,
‘options’)
File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,
line 159, in get_new_block
def get_new_block(self, flow_graph, key): return
self.Block(flow_graph, n=self._blocks_n[key])
File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py”,
line 34, in getitem
return self._data[key]
KeyError: ‘options’
Error: ‘options’

Failue
Traceback (most recent call last):
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py”, line
174, in new_page
flow_graph = self._platform.get_new_flow_graph()
File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,
line 149, in get_new_flow_graph
def get_new_flow_graph(self): return self.FlowGraph(self)
File “”, line 4, in init
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py”, line
37, in init
self.import_data()
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py”, line
192, in import_data
self._options_block = self.get_parent().get_new_block(self,
‘options’)
File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,
line 159, in get_new_block
def get_new_block(self, flow_graph, key): return
self.Block(flow_graph, n=self._blocks_n[key])
File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py”,
line 34, in getitem
return self._data[key]
KeyError: ‘options’
Traceback (most recent call last):
File “/usr/bin/grc”, line 53, in
ActionHandler(args, Platform())
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py”,
line 70, in init
self.handle_states(Actions.APPLICATION_INITIALIZE)
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py”,
line 332, in handle_states
Actions.get_action_from_name(Actions.ELEMENT_DELETE).set_sensitive(bool(self.get_flow_graph().get_selected_elements()))
File
“/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py”, line
281, in get_flow_graph
return self.get_page().get_flow_graph()
AttributeError: ‘NoneType’ object has no attribute ‘get_flow_graph’