hello everybody! my name is sly and i’m new to the group and also to
ruby.
i decided i to learn ruby on rails a while ago but only today i sat down
with the book and started.
so i installed it on my linux laptop and i tried the “hello” program.
and i failed. i can’t see anything in the browser page. i searched the
net and list and…
any idea where i can find some info for… you know, like me!
Using d’board: B: Flex 2400 Tx MIMO B
ktadmin2@b3002-softradio:~/Desktop/new$ ./Fmstereo.py
USRP Serial: 49e50652
Using d’board: B: Flex 2400 Tx MIMO B
ktadmin2@b3002-softradio:~/Desktop/new$
what could be the result of this? and how can l correct this.
Second, you indentation is still all messed up; it may be an artifact
from your c/p, but python depends very heavily on the spacing (spaces
and tabs, for example, are treated differently). Please re-read the
original link I sent you.
Finally, I would guess that the program is doing exactly what you tell
it to:
Because you didn’t give an output for the error message, it just
closes silently and you are left confused. Try putting a print in
there to see if that’s where you’re failing.
On Mon, Aug 10, 2009 at 3:26 AM, Daniel Ampem[email protected] wrote:
well any help on how to modify the code to hear an audio output (what do l
have to change) will be appreciated. from my attempt l get the same output
I think you misunderstood my last email, if you want to know where
your program is exiting from, you need to put in statements where
things exit, for example
if self.u.tune(self.subdev.which(), self.subdev,
options.freq):
print “Tuned to”, options.freq/1e6, “MHz”
else:
print “Unable to tune daughter card, exiting”
sys.exit(1)
Then you will know /why/ your script is failing, and you can go about
fixing it.
That should tell you whether you have gem installed so that you can
access
it from cmd; if you do, great! Try typing:
gem install rails
at the cmd prompt and report back on what happens. If you don’t, follow
the
suggestions from Phillip to get yourself up and running with a copy of
ruby.
That should tell you whether you have gem installed so that you can
access
it from cmd; if you do, great! Try typing:
gem install rails
at the cmd prompt and report back on what happens. If you don’t, follow
the
suggestions from Phillip to get yourself up and running with a copy of
ruby.
You should do either
a) follow the long instructions on that page, OR
b) use the build-gnuradio script to get GNU Radio (see the first
sentence of that page), OR
c) use pybombs (not mentioned on that page, because that page is a bit
outdated).
Probably b) or c) are the best option for you, because they will
automatically make sure that all the libraries you need are installed.
So, can you go to your build/ directory and do
sudo make uninstall