Hello,
I installed gnuradio 3.6.2 on Ubunto 12.04LTS.
I always get errors when I execute the flow graph.
Example if I take ~ / gnuradio / gr-audio / examples / grc /
dial_tone.grc
Sev despite hours of research I have not been able to find out why it
does
not work.
I find the problemme throughout the examples given.
Thank you for your help
Pascal
Following error messages:
Generating: “/home/pascal/gnuradio/gr-audio/examples/grc/dial_tone.py”
Executing: “/home/pascal/gnuradio/gr-audio/examples/grc/dial_tone.py”
Traceback (most recent call last):
File “/home/pascal/gnuradio/gr-audio/examples/grc/dial_tone.py”, line
127, in
tb = dial_tone()
File “/home/pascal/gnuradio/gr-audio/examples/grc/dial_tone.py”, line
45,
in init
proportion=0,
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/forms/forms.py”,
line 234, in init
self._add_widget(self._text_box, label)
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/forms/forms.py”,
line 113, in _add_widget
update(self[INT_KEY])
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/forms/forms.py”,
line 101, in
update = lambda x: wx.PostEvent(widget, DataEvent(x))
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/forms/forms.py”,
line 53, in init
wx.PyEvent.init(self, wx.NewId(), EVT_DATA.typeId)
AttributeError: ‘PyEventBinder’ object has no attribute ‘typeId’
Hello Tom,
I have not installed wxPython.
I used build-gnuradio script to install gnuradio:
$ Wget http://www.sbrac.org/files/build-gnuradio && chmod a + x. /
Build-gnuradio &&. / Build-gnuradio
wxPython is not installed with this script?
How to check if wxPython is installed?
thank you
Pascal
101, in
update = lambda x: wx.PostEvent(widget, DataEvent(x))
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/forms/forms.py”, line
53, in init
wx.PyEvent.init(self, wx.NewId(), EVT_DATA.typeId)
AttributeError: ‘PyEventBinder’ object has no attribute ‘typeId’
import wx
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
Is this the correct version of python for gnuradio 3.6.2?
Thank you for your help
Pascal
Pascal,
If you used build-gnuradio with 12.04, you should be fine with the
dependencies, so I’m not sure what’s going wrong with your
installation. And that version of Python is definitely fine.
Just to be absolutely clear, what you are doing is opening
dial_tone.grc in GNU Radio Companion and running “execute” from there?
What if you try something simpler, like creating a signal source, a
throttle block, and a WX FFT sink and run that?
Using Volk machine: ssse3_32
Traceback (most recent call last):
File “/home/pascal/SDR/Exemple-pascal/top_block.py”, line 70, in
tb = top_block()
File “/home/pascal/SDR/Exemple-pascal/top_block.py”, line 47, in init
peak_hold=False,
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/fftsink_gl.py”,
line
123, in init
persist_alpha=persist_alpha,
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/fft_window.py”,
line
284, in init
self.control_panel = control_panel(self)
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/fft_window.py”,
line
71, in init
control_box.AddStretchSpacer()
AttributeError: ‘BoxSizer’ object has no attribute ‘AddStretchSpacer’
Hello John
I did what you told me and here is the result:
(for information, I am beginner):
Pascal@bureau-ubuntu:~$ python
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
import wx
I suppose as I have not had error, wxPython is well installed?
After, i also tried to run gnuradio-companion in another terminal window
but
I still get the error
Is this the correct version of python for gnuradio 3.6.2?
Thank you for your help
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/fft_window.py”, line
71, in init
control_box.AddStretchSpacer()
AttributeError: ‘BoxSizer’ object has no attribute ‘AddStretchSpacer’
Whats the version of WX python?
For some reason I am thinking AddStretchSpacer was added in 2.8, and you
may have 2.6 installed. Just a guess…
What if you try something simpler, like creating a signal source, a
I create the flow graph
Traceback (most recent call last):
File
Discuss-gnuradio mailing list [email protected] Discuss-gnuradio Info Page
Run build-gnuradio again, using the --verbose option, and see if there
were any errors when it was trying to install depends or compile.
Hello Marcus,
I reinstalled gnuradio in verbose mode.
I attach the installation log.
I still have the same problem
I’m not an expert but I have not seen any compilation error or
dependence.
Is gnuradio 3.6.2 is compatible with Ubuntu 12.04 LTS?
Hi Josh
My version of wxpython that I own is a (2, 6, 3, 2,‘’).
It is possible that it comes from that.
Do you know what version is recommended for gnuradio 3.6.2?
And what is the cleanest method to install on Ubuntu 12.04 LTS
Thank you:-)
Pascal
There is a python-wxgtk2.8 and 2.6 listed in synaptic on my 12.04
machine. I guess 2.6 is checked. Just uncheck one and check the other.
-josh
Well done Jost
your idea is good.
This was the version of wxPython that was not good!
I switched to version 2.8.
To do this I uninstalled python-wxgtk2.6 with synaptic and I reinstalled
python-wxgtk2.8 and all packages available 2.8.12.1-6 (~ 15).
Now all works fine with my key EZCAP EZTV-668 with RTL2832U / E4000
Now I do not know if there a person to contact to force the installation
package wxpython 2.8 in the installation script Gnuradio3.6.2?
I hope my experience will more than me.
A big thank you to all who helped me find a solution
For me it was the first time I used a mailing list and especially the
first time
in English language (thank you google translation)
thank you very much
Pascal
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.