[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 examples

From: Josh Blum
Subject: Re: [Discuss-gnuradio] Problem using GRC when executing the grc examples
Date: Wed, 03 Mar 2010 09:26:33 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100217 Shredder/3.0.3pre

The error says:

> 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'

GRC generates the python files in the directory that the .grc file is found. Since the examples are installed in a root owned part of the file system /usr/share, you do not have permission to create files there as a regular user.

Just open the file in grc and do a save-as in into your user home directory. Then try to run the flow graph.


On 03/03/2010 04:05 AM, Makmur Hidayat 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"


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:
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:

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


Discuss-gnuradio mailing list

reply via email to

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