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 <module>
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 <lambda>
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'
on 2012-11-02 14:59
on 2012-11-04 17:07
On Fri, Nov 2, 2012 at 9:58 AM, pascal m <pascal.moig@gmail.com> wrote: > > proportion=0, > 101, in <lambda> > 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' Looks like maybe you have a problem with your wxPython installation. EVT_DATA should be of type wx._core.PyEventBinder, which has a typeId property (http://wxpython.org/docs/api/wx.PyEventBinder-class.html). How did you install wxPython? Tom
on 2012-11-04 18:57
> Looks like maybe you have a problem with your wxPython installation. > EVT_DATA should be of type wx._core.PyEventBinder, which has a typeId > property (http://wxpython.org/docs/api/wx.PyEventBinder-class.html). > > How did you install wxPython? > > Tom > 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
on 2012-11-04 21:16
> How to check if wxPython is installed? In a terminal window: $ python Python 2.7.3 (default, Jun 15 2012, 16:17:03) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import wx >>> else Python will complain. John
on 2012-11-04 21:52
> > else Python will complain. > John > > 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 :-) Pascal
on 2012-11-05 00:20
On Sun, Nov 4, 2012 at 3:52 PM, pascal m <pascal.moig@gmail.com> wrote: >> >>> 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? Tom
on 2012-11-05 19:52
> What if you try something simpler, like creating a signal source, a > throttle block, and a WX FFT sink and run that? > > Tom > Hello, Well, I always error :-( Tom, I created a new flow graph as you tell me, I set piece attached. The steps that I do: 1) I create the flow graph 2) I generates the flow graph -> Build / Generate (F5) 3) I execute the flow graph ->Build/execute (F6) Now the error is: Generating: "/home/pascal/SDR/Exemple-pascal/top_block.py" Executing: "/home/pascal/SDR/Exemple-pascal/top_block.py" Using Volk machine: ssse3_32 Traceback (most recent call last): File "/home/pascal/SDR/Exemple-pascal/top_block.py", line 70, in <module> 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' Pascal
on 2012-11-05 19:55
On 11/05/2012 01:45 PM, pascal m wrote: > What if you try something simpler, like creating a signal source, a > 1) I create the flow graph > Traceback (most recent call last): > File > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio Run build-gnuradio again, using the --verbose option, and see if there were any errors when it was trying to install depends or compile.
on 2012-11-05 21:56
> "/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... -josh
on 2012-11-05 23:26
Run build-gnuradio again, using the --verbose option, and see if there were any errors when it was trying to install depends or compile. > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > 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? Pascal
on 2012-11-05 23:32
On Mon, Nov 5, 2012 at 5:21 PM, pascal m <pascal.moig@gmail.com> wrote: >> > 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? Yes. Absolutely. Tom
on 2012-11-05 23:32
On 11/05/2012 05:21 PM, pascal m wrote: > > Pascal I run it on a 12.04LTS system no problem.
on 2012-11-05 23:43
> may have 2.6 installed. Just a guess... > > -josh > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > 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
on 2012-11-05 23:56
On 11/05/2012 05:42 PM, pascal m wrote: > > 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... > > -josh > 12.04 LTS should already have much newer versions of those things. Is this a upgraded-from-much-older system?
on 2012-11-06 00:00
On 11/05/2012 02:54 PM, Marcus D. Leech wrote: > 12.04 LTS should already have much newer versions of those things. Is > this a upgraded-from-much-older system? > > 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
on 2012-11-06 00:14
Le 5 nov. 2012 à 23:54, "Marcus D. Leech" <mleech@ripnet.com> a écrit : > > > -- > Marcus Leech > Principal Investigator > Shirleys Bay Radio Astronomy Consortium > http://www.sbrac.org > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio I install Ubuntu 12.04 two weeks ago on a blank hard disk. I update regularly. My version of wxpython that I own is a 2.6.
on 2012-11-06 00:23
Le 5 nov. 2012 à 23:59, Josh Blum <josh@joshknows.com> a écrit : >>> > > -josh > Ok Josh, I try this tomorrow. It's late for me in France, i'm going to bed... Thank you:-)
on 2012-11-06 20:38
2012/11/6 Immobilier <pascal.moig@gmail.com> > >>> > > > > > > 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
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.