[Discuss-gnuradio] Re: not able to run grc
Josh Blum wrote: Tushar Patel wrote: Thanks Josh after typing all export I able to run GRC. Now my question is , in previous GRC, we got help like color- for float, complex, number, query for usrp board But Here I do not able to find such help, Usrp probe exists: http://gnuradio.org/trac/wiki/GNURadioCompanion#Execution And there are menu items for grc and usrp probe if your OS supports it: http://gnuradio.org/trac/wiki/GNURadioCompanion#InstallingIconsMimeTypeandMenuItems The keyboard short cuts are listed in the menus. Other short cuts are listed here: http://gnuradio.org/trac/wiki/GNURadioCompanion#UsageTips The color help menu, sorry, that got lost along the way. Most blocks have an output/input type that will tell you. I will add the color table back in somehow. In the meantime, blue=complex, red=float, green=int, yellow=short, purple=byte/char -josh Also how can i remove my previous version of gnuradio3.1.3, or no need to remove it. if you have the old build directory from 3.1.3, run sudo make uninstall this will also remove files that you want, so... then in your current gnuradio build directory, run sudo make install -Josh Hi Josh, I am facing the same problem as Tushar did. I am getting an error as follows: Traceback (most recent call last): File /usr/local/bin/grc, line 25, in module from gnuradio.grc.platforms.base.Constants import VERSION ImportError: No module named grc.platforms.base.Constants [r...@somya /]# I also tried the path solution which you mentioned in the earlier post, but it didn't worked for me. I had installed the latest version of GNU radio (gnuradio-3.2) and was trying to run GRC. Can you please help me for this. Also I was wondering that is it possible to see the source code associated with the flow graph that we make in GRC? or the source code of the specific block such as BPSK modulator? Thanks Regards, Somya Ajmera -- Posted via http://www.ruby-forum.com/. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Re: not able to run grc
Hi Josh, I am facing the same problem as Tushar did. I am getting an error as follows: Traceback (most recent call last): File /usr/local/bin/grc, line 25, in module from gnuradio.grc.platforms.base.Constants import VERSION ImportError: No module named grc.platforms.base.Constants [r...@somya /]# I also tried the path solution which you mentioned in the earlier post, but it didn't worked for me. I had installed the latest version of GNU radio (gnuradio-3.2) and was trying to run GRC. Can you please help me for this. You have to set the PYTHONPATH. This is not a GRC problem, this is a gnuradio installation problem. I bet that if you try to run other gnuradio apps, you will see a similar problem. Read the part about the PYTHONPATH http://gnuradio.org/trac/wiki/FedoraInstall Also I was wondering that is it possible to see the source code associated with the flow graph that we make in GRC? or the source code of the specific block such as BPSK modulator? The generated code is in the same folder as your saved flow graph. By default, its called top_block.py Source code for modulators are here: http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl Thanks Regards, Somya Ajmera ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Re: not able to run grc
Tushar Patel wrote: Thanks Josh after typing all export I able to run GRC. Now my question is , in previous GRC, we got help like color- for float, complex, number, query for usrp board But Here I do not able to find such help, Usrp probe exists: http://gnuradio.org/trac/wiki/GNURadioCompanion#Execution And there are menu items for grc and usrp probe if your OS supports it: http://gnuradio.org/trac/wiki/GNURadioCompanion#InstallingIconsMimeTypeandMenuItems The keyboard short cuts are listed in the menus. Other short cuts are listed here: http://gnuradio.org/trac/wiki/GNURadioCompanion#UsageTips The color help menu, sorry, that got lost along the way. Most blocks have an output/input type that will tell you. I will add the color table back in somehow. In the meantime, blue=complex, red=float, green=int, yellow=short, purple=byte/char -josh Also how can i remove my previous version of gnuradio3.1.3, or no need to remove it. if you have the old build directory from 3.1.3, run sudo make uninstall this will also remove files that you want, so... then in your current gnuradio build directory, run sudo make install -Josh pl guide me thanks and regards tushar patel On Tue, Mar 10, 2009 at 2:32 PM, Josh Blum j...@joshknows.com wrote: in addition to export PYTHONPATH=/usr/local/lib/python2.5/site-packages you may need to add the following to your .bashrc export BOOST_PREFIX=/opt/boost_1_37_0 export LD_LIBRARY_PATH=$BOOST_PREFIX/lib Tushar Patel wrote: By giving the python path I able to open grc package. But still simple sound prog. in not running. I able to run audio_tone.py on command prompt. also test the audio_fft.py on command prompt. both run fine. But on grc any example given same erro. r...@tkp tushar]# export PYTHONPATH=/usr/local/lib/python2.5/site-packages [r...@tkp tushar]# grc Welcome to gnuradio 3.2svn Showing: (grc:3195): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (grc:3195): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Generating: /home/tushar/Desktop/Project/top_block.py Executing: /home/tushar/Desktop/Project/top_block.py Traceback (most recent call last): File /home/tushar/Desktop/Project/top_block.py, line 10, in module from gnuradio import audio File /usr/local/lib/python2.5/site-packages/gnuradio/audio.py, line 35, in module from gnuradio import gr File /usr/local/lib/python2.5/site-packages/gnuradio/gr/__init__.py, line 43, in module from gnuradio_swig_python import * File /usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py, line 23, in module from gnuradio_swig_py_runtime import * File /usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py, line 6, in module import _gnuradio_swig_py_runtime ImportError: libboost_thread-gcc43-mt-1_37.so.1.37.0: cannot open shared object file: No such file or directory thanks and regards tushar On Tue, Mar 10, 2009 at 9:09 AM, Josh Blum j...@joshknows.com wrote: I assume after configure, you did make and sudo make install. Then perhaps you PYTHONPATH is not setup properly. Run the following command from the terminal: python -c import gnuradio does it produce an error? Can you run any of the gnuradio programs, like usrp_fft.py? -Josh Tushar Patel wrote: hi josh, previously I used the gnuradio3.1.3, where i able to run grc, but problem with audio-alsa so download the latest version of gnuradio, and configure I download via ' svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio The following GNU Radio components have been successfully configured: config gruel omnithread gnuradio-core pmt mblock usrp usrp2 gr-usrp gr-usrp2 gr-msdd6000 gr-audio-alsa gr-audio-jack gr-audio-oss gr-audio-portaudio gr-atsc gr-cvsd-vocoder gr-gpio gr-gsm-fr-vocoder gr-pager gr-radar-mono gr-radio-astronomy gr-trellis gr-video-sdl gr-wxgui gr-qtgui gr-sounder gr-utils gnuradio-examples grc You my now run the make command to build these components. * The following components were skipped either because you asked not to build them or they didn't pass configuration checks: gcell gr-gcell gr-audio-osx gr-audio-windows gr-comedi after that when I try to run grc from command following message come [r...@tkp tushar]# grc Traceback (most recent call last): File /usr/local/bin/grc, line 25, in module from gnuradio.grc.platforms.base.Constants import
[Discuss-gnuradio] Re: not able to run grc
I assume after configure, you did make and sudo make install. Then perhaps you PYTHONPATH is not setup properly. Run the following command from the terminal: python -c import gnuradio does it produce an error? Can you run any of the gnuradio programs, like usrp_fft.py? -Josh Tushar Patel wrote: hi josh, previously I used the gnuradio3.1.3, where i able to run grc, but problem with audio-alsa so download the latest version of gnuradio, and configure I download via ' svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio The following GNU Radio components have been successfully configured: config gruel omnithread gnuradio-core pmt mblock usrp usrp2 gr-usrp gr-usrp2 gr-msdd6000 gr-audio-alsa gr-audio-jack gr-audio-oss gr-audio-portaudio gr-atsc gr-cvsd-vocoder gr-gpio gr-gsm-fr-vocoder gr-pager gr-radar-mono gr-radio-astronomy gr-trellis gr-video-sdl gr-wxgui gr-qtgui gr-sounder gr-utils gnuradio-examples grc You my now run the make command to build these components. * The following components were skipped either because you asked not to build them or they didn't pass configuration checks: gcell gr-gcell gr-audio-osx gr-audio-windows gr-comedi after that when I try to run grc from command following message come [r...@tkp tushar]# grc Traceback (most recent call last): File /usr/local/bin/grc, line 25, in module from gnuradio.grc.platforms.base.Constants import VERSION ImportError: No module named grc.platforms.base.Constants please guide me, thanks and regards tushar. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Re: not able to run grc
in addition to export PYTHONPATH=/usr/local/lib/python2.5/site-packages you may need to add the following to your .bashrc export BOOST_PREFIX=/opt/boost_1_37_0 export LD_LIBRARY_PATH=$BOOST_PREFIX/lib Tushar Patel wrote: By giving the python path I able to open grc package. But still simple sound prog. in not running. I able to run audio_tone.py on command prompt. also test the audio_fft.py on command prompt. both run fine. But on grc any example given same erro. r...@tkp tushar]# export PYTHONPATH=/usr/local/lib/python2.5/site-packages [r...@tkp tushar]# grc Welcome to gnuradio 3.2svn Showing: (grc:3195): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (grc:3195): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Generating: /home/tushar/Desktop/Project/top_block.py Executing: /home/tushar/Desktop/Project/top_block.py Traceback (most recent call last): File /home/tushar/Desktop/Project/top_block.py, line 10, in module from gnuradio import audio File /usr/local/lib/python2.5/site-packages/gnuradio/audio.py, line 35, in module from gnuradio import gr File /usr/local/lib/python2.5/site-packages/gnuradio/gr/__init__.py, line 43, in module from gnuradio_swig_python import * File /usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py, line 23, in module from gnuradio_swig_py_runtime import * File /usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py, line 6, in module import _gnuradio_swig_py_runtime ImportError: libboost_thread-gcc43-mt-1_37.so.1.37.0: cannot open shared object file: No such file or directory thanks and regards tushar On Tue, Mar 10, 2009 at 9:09 AM, Josh Blum j...@joshknows.com wrote: I assume after configure, you did make and sudo make install. Then perhaps you PYTHONPATH is not setup properly. Run the following command from the terminal: python -c import gnuradio does it produce an error? Can you run any of the gnuradio programs, like usrp_fft.py? -Josh Tushar Patel wrote: hi josh, previously I used the gnuradio3.1.3, where i able to run grc, but problem with audio-alsa so download the latest version of gnuradio, and configure I download via ' svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio The following GNU Radio components have been successfully configured: config gruel omnithread gnuradio-core pmt mblock usrp usrp2 gr-usrp gr-usrp2 gr-msdd6000 gr-audio-alsa gr-audio-jack gr-audio-oss gr-audio-portaudio gr-atsc gr-cvsd-vocoder gr-gpio gr-gsm-fr-vocoder gr-pager gr-radar-mono gr-radio-astronomy gr-trellis gr-video-sdl gr-wxgui gr-qtgui gr-sounder gr-utils gnuradio-examples grc You my now run the make command to build these components. * The following components were skipped either because you asked not to build them or they didn't pass configuration checks: gcell gr-gcell gr-audio-osx gr-audio-windows gr-comedi after that when I try to run grc from command following message come [r...@tkp tushar]# grc Traceback (most recent call last): File /usr/local/bin/grc, line 25, in module from gnuradio.grc.platforms.base.Constants import VERSION ImportError: No module named grc.platforms.base.Constants please guide me, thanks and regards tushar. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Re: not able to run grc
Thanks Josh after typing all export I able to run GRC. Now my question is , in previous GRC, we got help like color- for float, complex, number, query for usrp board But Here I do not able to find such help, Also how can i remove my previous version of gnuradio3.1.3, or no need to remove it. pl guide me thanks and regards tushar patel On Tue, Mar 10, 2009 at 2:32 PM, Josh Blum j...@joshknows.com wrote: in addition to export PYTHONPATH=/usr/local/lib/python2.5/site-packages you may need to add the following to your .bashrc export BOOST_PREFIX=/opt/boost_1_37_0 export LD_LIBRARY_PATH=$BOOST_PREFIX/lib Tushar Patel wrote: By giving the python path I able to open grc package. But still simple sound prog. in not running. I able to run audio_tone.py on command prompt. also test the audio_fft.py on command prompt. both run fine. But on grc any example given same erro. r...@tkp tushar]# export PYTHONPATH=/usr/local/lib/python2.5/site-packages [r...@tkp tushar]# grc Welcome to gnuradio 3.2svn Showing: (grc:3195): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (grc:3195): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Generating: /home/tushar/Desktop/Project/top_block.py Executing: /home/tushar/Desktop/Project/top_block.py Traceback (most recent call last): File /home/tushar/Desktop/Project/top_block.py, line 10, in module from gnuradio import audio File /usr/local/lib/python2.5/site-packages/gnuradio/audio.py, line 35, in module from gnuradio import gr File /usr/local/lib/python2.5/site-packages/gnuradio/gr/__init__.py, line 43, in module from gnuradio_swig_python import * File /usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py, line 23, in module from gnuradio_swig_py_runtime import * File /usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py, line 6, in module import _gnuradio_swig_py_runtime ImportError: libboost_thread-gcc43-mt-1_37.so.1.37.0: cannot open shared object file: No such file or directory thanks and regards tushar On Tue, Mar 10, 2009 at 9:09 AM, Josh Blum j...@joshknows.com wrote: I assume after configure, you did make and sudo make install. Then perhaps you PYTHONPATH is not setup properly. Run the following command from the terminal: python -c import gnuradio does it produce an error? Can you run any of the gnuradio programs, like usrp_fft.py? -Josh Tushar Patel wrote: hi josh, previously I used the gnuradio3.1.3, where i able to run grc, but problem with audio-alsa so download the latest version of gnuradio, and configure I download via ' svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio The following GNU Radio components have been successfully configured: config gruel omnithread gnuradio-core pmt mblock usrp usrp2 gr-usrp gr-usrp2 gr-msdd6000 gr-audio-alsa gr-audio-jack gr-audio-oss gr-audio-portaudio gr-atsc gr-cvsd-vocoder gr-gpio gr-gsm-fr-vocoder gr-pager gr-radar-mono gr-radio-astronomy gr-trellis gr-video-sdl gr-wxgui gr-qtgui gr-sounder gr-utils gnuradio-examples grc You my now run the make command to build these components. * The following components were skipped either because you asked not to build them or they didn't pass configuration checks: gcell gr-gcell gr-audio-osx gr-audio-windows gr-comedi after that when I try to run grc from command following message come [r...@tkp tushar]# grc Traceback (most recent call last): File /usr/local/bin/grc, line 25, in module from gnuradio.grc.platforms.base.Constants import VERSION ImportError: No module named grc.platforms.base.Constants please guide me, thanks and regards tushar. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio