discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Re: not able to run grc


From: Josh Blum
Subject: [Discuss-gnuradio] Re: not able to run grc
Date: Tue, 10 Mar 2009 23:12:46 -0700
User-agent: Thunderbird 2.0.0.19 (X11/20090105)



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 <address@hidden> 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.

address@hidden tushar]# export PYTHONPATH=/usr/local/lib/python2.5/site-packages

address@hidden 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 <address@hidden> 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
address@hidden 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]