Using GRC, instantiating a UHD Source block, and modify its parameters.
Provokes errors from Python:
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
73, in _handle_changed
self._update_gui()
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
53, in _update_gui
self.set_color(self.param.get_color())
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
126, in set_color
self._input.get_child().modify_base(gtk.STATE_NORMAL,
gtk.gdk.color_parse(‘#ffffff’))
AttributeError: ‘NoneType’ object has no attribute ‘modify_base’
Traceback (most recent call last):
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
73, in _handle_changed
self._update_gui()
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
53, in _update_gui
self.set_color(self.param.get_color())
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
124, in set_color
self._input.get_child().modify_base(gtk.STATE_NORMAL,
gtk.gdk.color_parse(color))
AttributeError: ‘NoneType’ object has no attribute ‘modify_base’
Traceback (most recent call last):
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
73, in _handle_changed
self._update_gui()
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
53, in _update_gui
self.set_color(self.param.get_color())
File
“/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Param.py”, line
124, in set_color
self._input.get_child().modify_base(gtk.STATE_NORMAL,
gtk.gdk.color_parse(color))
AttributeError: ‘NoneType’ object has no attribute ‘modify_base’
/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/PropsDialog.py:168:
GtkWarning: gdk_drawable_get_display: assertion GDK_IS_DRAWABLE (drawable)' failed response = gtk.Dialog.run(self) /usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/PropsDialog.py:168: GtkWarning: gdk_cursor_new_for_display: assertion
GDK_IS_DISPLAY
(display)’ failed
response = gtk.Dialog.run(self)
/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/PropsDialog.py:168:
GtkWarning: gdk_window_set_cursor: assertion GDK_IS_WINDOW (window)' failed response = gtk.Dialog.run(self) /usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/PropsDialog.py:168: GtkWarning: gdk_cursor_unref: assertion
cursor != NULL’ failed
response = gtk.Dialog.run(self)
This is on a 32-bit Fedora 12 system, with current-as-of-today GIT of
Gnu Radio and UHD. GRC identifies
as:
GNU Radio Companion v3.4.0-115-g62768eed
I have Python 2.6.2
–
Principal Investigator
Shirleys Bay Radio Astronomy Consortium