discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Problem using GRC when executing the grc examples


From: Makmur Hidayat
Subject: [Discuss-gnuradio] Problem using GRC when executing the grc examples
Date: Wed, 3 Mar 2010 22:35:11 +1030

Hello,
 
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
export LD_LIBRARY_PATH=$BOOST_PREFIX/lib
 
But I can not do that because .bashrc is read only.
 
Therefore how to solve the problem?
 
Thank you for your help.
Makmur
  
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
    generator.write()
  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
 

reply via email to

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