GRC issues with GNU Radio 3.7

Hello GR,

I just installed GR 3.7 on my Centos 6.5 machine, everything I done is
ok (I
set the env. var. after accordingly).
But when I run gnuradio-companion I got a bunch of errors appearing in
the
terminal:

Error: ‘DrawingArea’ object has no attribute ‘set_can_focus’

Failure
Traceback (most recent call last):
File
“~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/MainWindow.py”,
line 188, in new_page
file_path=file_path,
File
“~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/NotebookPage.py”,
line 82, in init
self.drawing_area = DrawingArea(self.get_flow_graph())
File
“~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/DrawingArea.py”,
line 66, in init
self.set_can_focus(True)
AttributeError: ‘DrawingArea’ object has no attribute ‘set_can_focus’
Traceback (most recent call last):
File
“~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py”,
line 357, in _handle_action
self.main_window.reports_scrolled_window.set_visible(visible)
AttributeError: ‘gtk.ScrolledWindow’ object has no attribute
‘set_visible’
Traceback (most recent call last):
File
“~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py”,
line 361, in _handle_action
self.main_window.btwin.set_visible(visible)
AttributeError: ‘BlockTreeWindow’ object has no attribute ‘set_visible’
Traceback (most recent call last):
File
“~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py”,
line 489, in _handle_action
Actions.ERRORS_WINDOW_DISPLAY.set_sensitive(not
self.get_flow_graph().is_valid())
File
“~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/MainWindow.py”,
line 304, in get_flow_graph
return self.get_page().get_flow_graph()
*AttributeError: ‘NoneType’ object has no attribute ‘get_flow_graph’
*^CTraceback (most recent call last):
File “~/gnuradio-3.7_install/bin/gnuradio-companion”, line 72, in

ActionHandler(args, Platform())
File
“~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py”,
line 72, in init
gtk.main()

And the window of grc appears but empty nothing inside just gray.
BTW the menu bar appears but the blocks, output and the main windows
does
not.
Trying to click close or click on any button of the menu bar give no
result.
One need to close the graph by Ctl+C in the terminal.

Any hints or help is well appreciated.

Regards,
Ruecan


View this message in context:
http://gnuradio.4.n7.nabble.com/GRC-issues-with-GNU-Radio-3-7-tp46935.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hi,

looks like a version issue. Try updating to PyGTK 2.22 or above.

Sebastian


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Sebastian Koslowski
Research Associate

Kaiserstrae 12
Building 05.01
76131 Karlsruhe, Germany

Phone: +49 721 608-46275
Fax: +49 721 608-46071
Email: [email protected]
Web: http://www.cel.kit.edu/

KIT University of the State of Baden-Wuerttemberg and National
Research Center of the Helmholtz Association

I opened an issue on gnuradio.org for this.

http://gnuradio.org/redmine/issues/653

You can pull a fix from:

https://github.com/gnuradio/gnuradio-wg-grc/tree/grc_pygtk_backw_compat_fixes

Let me know if that works for you.

Sebastian


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Sebastian Koslowski
Research Associate

Kaiserstrae 12
Building 05.01
76131 Karlsruhe, Germany

Phone: +49 721 608-46275
Fax: +49 721 608-46071
Email: [email protected]
Web: http://www.cel.kit.edu/

KIT University of the State of Baden-Wuerttemberg and National
Research Center of the Helmholtz Association

Thank you Sebastian for your reply,

I pulled your grc fixing, proceed to a clean make then did everything
again
however I got some error:

[ 29%] Building CXX object
gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o
In file included from
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:27:
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.h:48: error:
‘mt19937’ in namespace ‘boost::random’ does not name a type
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc: In
constructor
‘gr::blocks::message_strobe_random_impl::message_strobe_random_impl(pmt::pmt_t,
gr::blocks::message_strobe_random_distribution_t, float, float)’:
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:57:
error:
class ‘gr::blocks::message_strobe_random_impl’ does not have any field
named
‘d_rng’
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc: In
member
function ‘void gr::blocks::message_strobe_random_impl::update_dist()’:
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:89:
error:
‘d_rng’ was not declared in this scope
make[2]: ***
[gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o]
Error 1
make[1]: *** [gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/all] Error 2

The point is those errors I got them before so to fix them (at that
time) I
just went to someone’s gnuradio branch, clone it and it did work for my
machine instead of the master branch of gnuradio which issue thoses
errors.
Actually, I had already stated that matter here, but issue was not
fixed:
http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-td46435.html#a46466

Regards,
Naceur


View this message in context:
http://gnuradio.4.n7.nabble.com/GRC-issues-with-GNU-Radio-3-7-tp46935p46962.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Fri, Mar 14, 2014 at 8:03 PM, Ruecan [email protected] wrote:

‘mt19937’ in namespace ‘boost::random’ does not name a type
‘d_rng’ was not declared in this scope

Regards,
Naceur

Naceur,

This issue was due to a mistaken #ifndef in the header file and was
fixed a few weeks ago.

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs