Grc: cannot import gnuradio error when launching from Applications menu

Hi,
I just performed a clean install of gnuradio (3.4.0 from the
current master branch).

The installation and tests all worked out fine with my USRP2.

However, when I try to launch GRC from the Applications > Programming >
GRC, it gives me a grc: cannot import gnuradio error.

I have set my PYTHONPATH in my .profile, and .bashrc. However, it
doesn’t affect the graphical login.

I have read that one possible solution is to make it system wide using
/etc/profile, but I was wondering if there was another way to do this.

Launching gnuradio_companion from a console works, but launching it from
the Gnome Desktop panel doesn’t work.

Elvis D.

On Mon, May 9, 2011 at 8:21 PM, Elvis D. [email protected]
wrote:

affect the graphical login.

I have read that one possible solution is to make it system wide using
/etc/profile, but I was wondering if there was another way to do this.

Launching gnuradio_companion from a console works, but launching it from
the Gnome Desktop panel doesn’t work.

Hi Elvis,

It seems that you can put it in ~/.gnomerc
http://gnomesupport.org/forums/viewtopic.php?t=9841

Alex

Il 09/05/2011 20:21, Elvis D. ha scritto:

Launching gnuradio_companion from a console works, but launching it from the
Gnome Desktop panel doesn’t work.

Elvis D.


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

try

$/sudo ldconfig/

and then

$//usr/local/libexec/gnuradio/grc_setup_freedesktop install
/
which creates the links in the menu and the associations for *.grc
files. However the command in the link is

/gnuradio-companion %F/

never problems experienced in that :smiley:

Regards, Arturo

Hi,

On May 9, 2011, at 10:42 PM, Alexandru C. wrote:

I have read that one possible solution is to make it system wide using
/etc/profile, but I was wondering if there was another way to do this.

Launching gnuradio_companion from a console works, but launching it from the
Gnome Desktop panel doesn’t work.

Hi Elvis,

It seems that you can put it in ~/.gnomerc
http://gnomesupport.org/forums/viewtopic.php?t=9841

Creating a .gnomerc file alone did not work.

On May 9, 2011, at 10:43 PM, Arturo R. wrote:

gnuradio-companion %F

never problems experienced in that :smiley:

Regards, Arturo

When I ran the above commands, it worked. I also have the .gnomerc file
defined, not sure if they’re both required to be defined.

Anyway, it works now from the applications menu.

Elvis D.

Hi Alex,

On May 9, 2011, at 10:42 PM, Alexandru C. wrote:

Hi Elvis,

It seems that you can put it in ~/.gnomerc
http://gnomesupport.org/forums/viewtopic.php?t=9841

On May 9, 2011, at 10:43 PM, Arturo R. wrote:

gnuradio-companion %F

never problems experienced in that :smiley:

I removed my .gnomerc file, and it still works without it, if you follow
Arturo’s suggestion.

So, you don’t need .gnomerc.

Elvis D.