Errors provoke in latest GnuRadio/GRC

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

On Wed, Aug 17, 2011 at 11:58 PM, Marcus D. Leech [email protected]
wrote:

Using GRC, instantiating a UHD Source block, and modify its parameters.
Provokes errors from Python:

Marcus,
How recent are these errors? Has the offending commit been identified?
There’s been some work done on gr-uhd very recently. Any chance the
problem has been solved for you?

Tom

On 23/08/11 10:54 PM, Tom R. wrote:

Tom

I haven’t identified the offending commit. If I remember to, I’ll see
if I get these with most recent
Gnu Radio/gr-uhd/GRC.


Principal Investigator
Shirleys Bay Radio Astronomy Consortium

On 08/24/2011 05:10 PM, Marcus D. Leech wrote:

things like frequency, gain, etc:
Ive seen that. Its pretty harmless though. When you delete the number of
mboards, some of the widgets get hidden, and still tries to access the
objects. I havent yet figured out what in the update logic causes
this…

-josh

On 08/23/2011 10:59 PM, Marcus D. Leech wrote:

On 23/08/11 10:54 PM, Tom R. wrote:

Marcus,
How recent are these errors? Has the offending commit been identified?
There’s been some work done on gr-uhd very recently. Any chance the
problem has been solved for you?

Tom
OK, so with a Gnu Radio fetched just about 30 minutes ago. Create
multi-channel (two will do), single-mboard UHD source, and manipulate
things like frequency, gain, etc:

<<< Welcome to GNU Radio Companion v3.4.0-113-gc491449c >>>

Showing: “”
linux; GNU C++ version 4.5.1 20100924 (Red Hat 4.5.1-4); Boost_104400;
UHD_003.002.002-06dc097

Traceback (most recent call last):
File
“/usr/local/lib64/python2.7/site-packages/gnuradio/grc/gui/Param.py”,
line 73, in _handle_changed
self._update_gui()
File
“/usr/local/lib64/python2.7/site-packages/gnuradio/grc/gui/Param.py”,
line 53, in _update_gui
self.set_color(self.param.get_color())
File
“/usr/local/lib64/python2.7/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/lib64/python2.7/site-packages/gnuradio/grc/gui/DrawingArea.py”,
line 132, in _handle_window_expose
self._flow_graph.draw(gc, self._pixmap)
File
“/usr/local/lib64/python2.7/site-packages/gnuradio/grc/gui/FlowGraph.py”,
line
277, in draw
element.draw(gc, window)
File
“/usr/local/lib64/python2.7/site-packages/gnuradio/grc/gui/Block.py”,
line 189, in draw
for port in self.get_ports(): port.draw(gc, window)
File
“/usr/local/lib64/python2.7/site-packages/gnuradio/grc/gui/Port.py”,
line 113, in draw
self, gc, window, bg_color=self._bg_color,
AttributeError: ‘Port’ object has no attribute ‘_bg_color’
Traceback (most recent call last):
File
“/usr/local/lib64/python2.7/site-packages/gnuradio/grc/gui/Param.py”,
line 73, in _handle_changed
self._update_gui()
File
“/usr/local/lib64/python2.7/site-packages/gnuradio/grc/gui/Param.py”,
line 53, in _update_gui
self.set_color(self.param.get_color())
File
“/usr/local/lib64/python2.7/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’

This is on F14, X86_64, and packages up to date.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium