[Top][All Lists]

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

Re: [Discuss-gnuradio] Problem using GRC when executing the grc example

From: Michael Berman
Subject: Re: [Discuss-gnuradio] Problem using GRC when executing the grc examples
Date: Wed, 3 Mar 2010 08:42:01 -0800

You need to access .bashrc with super user rights.

Open a terminal, and type the following commands:

cd ~
sudo gedit .bashrc

This will prompt for your password, then open .bashrc in an editable mode.

A less recommended method of getting around this, would to change the access rights to .basrc with the following commands:

cd ~
sudo chmod +w .bashrc

-Michael Berman

On Wed, Mar 3, 2010 at 4:05 AM, Makmur Hidayat <address@hidden> wrote:
I can run some examples like dial_tone.py, audio_fft.py, and others.
But when using GRC to open grc examples, I can not execute the grc examples like dial_tone.grc.
Then I try to add the following to .bashrc

export BOOST_PREFIX=/opt/boost_1_37_0
But I can not do that because .bashrc is read only.
Therefore how to solve the problem?
Thank you for your help.
This is the error:
Loading: "/usr/share/gnuradio/examples/grc/simple/ber_simulation.grc"

>>> Done
Showing: "/usr/share/gnuradio/examples/grc/simple/ber_simulation.grc"
Generating: "/usr/share/gnuradio/examples/grc/simple/ber_sim.py"
Generate Error: [Errno 13] Permission denied: '/usr/share/gnuradio/examples/grc/simple/ber_sim.py'
>>> Failue
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gnuradio/grc/gui/ActionHandler.py", line 313, in handle_states
  File "/usr/lib/python2.6/dist-packages/gnuradio/grc/python/Generator.py", line 61, in write
    open(self.get_file_path(), 'w').write(str(self))
IOError: [Errno 13] Permission denied: '/usr/share/gnuradio/examples/grc/simple/ber_sim.py'
Executing: "/usr/share/gnuradio/examples/grc/simple/ber_sim.py"
python: can't open file '/usr/share/gnuradio/examples/grc/simple/ber_sim.py': [Errno 2] No such file or directory
>>> Done

Discuss-gnuradio mailing list


-Michael Berman

reply via email to

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