# Grcc from ssh session

**URL:** <https://www.ruby-forum.com/t/grcc-from-ssh-session/234275>\
**Category:** GNU Radio\
**Created:** [February 20, 2015, 10:03am UTC](https://www.ruby-forum.com/t/grcc-from-ssh-session/234275 "2015-02-20T10:03:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [February 20, 2015, 10:03am UTC](https://www.ruby-forum.com/t/grcc-from-ssh-session/234275/1 "2015-02-20T10:03:58Z")

</div>

Hi,

I’m want to use grcc from an ssh session but I get the error importing  
the  
module Colors.py.  
I’ve seen this thread  
[http://lists.gnu.org/archive/html/discuss-gnuradio/2013-06/msg00361.html](http://lists.gnu.org/archive/html/discuss-gnuradio/2013-06/msg00361.html)  
about it. I’m using 3.7.5 and it seems like the patch it’s been applied  
to  
the source code already. There are no differences between what the patch  
suggests and the source code that the installer script downloaded to my  
machine. However, I still get the import error (only when I use ssh).

Thanks,  
Murray

---

<div class="post-metadata">

**Author:** ![Murray\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@Murray\_T](https://www.ruby-forum.com/u/Murray_T)\
**Post date:** [February 20, 2015, 11:28am UTC](https://www.ruby-forum.com/t/grcc-from-ssh-session/234275/2 "2015-02-20T11:28:44Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA256

On 02/20/2015 10:01 AM, Murray T. wrote:

> Hi,
> 
> I’m want to use grcc from an ssh session but I get the error importing  
> the module Colors.py.  
> I’ve seen this thread  
> [Re: [Discuss-gnuradio] GRCC No GUI?](http://lists.gnu.org/archive/html/discuss-gnuradio/2013-06/msg00361.html)  
> about it. I’m using 3.7.5 and it seems like the patch it’s been applied  
> to the source code already. There are no differences between what the  
> patch suggests and the source code that the installer script downloaded  
> to my machine. However, I still get the import error (only when I use  
> ssh).
> 
> Thanks,  
> Murray

I tried to reproduce this on the current master. I also get “Unable to  
import Colors”, but it is not an exception.  
grcc still completes and the output file is generated.

Sebastian  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1

iQIcBAEBCAAGBQJU5wwQAAoJEIcqoDnyZkMDYQEP/0Mqmeb5d0K3A8G5k8u4LtUk  
GGHTyVq28h/NAh5NiShF7bFP3IsrLzJuQF3+2AKF8s1nK2WW/vf2RVnO5V+jpxGJ  
PFbz9GgGSoUPqL7PyTACNo8hJvN6BqMAlVY9luO2YVZSDQGLnyQZm4LEe8WII4fx  
v52yoxFXhApn6qNjjEybzQ0zP9oQ0bFyGuo5oLBMeeSuRfGspNGfRBu+R2XlzD4C  
DibsTIm/7qHCZBrbAdMmCB175OiZtpiPJvbS9D5kLT2+HLvHj0eSWW4rXXKGnfNY  
y3NSvc6Mkul/bhip1sy2kY00yNWeECEyirblYRXsipXrxiGe3pMcwV9+7KbZeZMJ  
bB/7dbhu+Zlzg1jAKJatSylzgAbLbEnDSW3zgfy6XEjnigi4QyOoQnxECpmSfXQ6  
hndyuFbys5mabTekwDPedpj9IOt9TU19gckkSyKgNmQyHbNFP9IvTuS1O4Ypwrew  
idaSzog+oyXNYYKpKxF49saf/XQpF0a4i2GxEq/DYRFzP5CyoONTMHt4SZiQ1jOg  
zJS09VozAHOdbjKvjhuFTYmPdKmzoOlQpMIsFpC262xMYBwrM/WM44ifkBmVBwQf  
wqcZXCAL9o4hsf72ztNdJpaAFZ+3jpbTfxe1ZtbTRCmi4izzx9qs27zTh8/sCBMA  
tvrcVW5tx1GKV5Wthioo  
=M2lH  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Murray\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@Murray\_T](https://www.ruby-forum.com/u/Murray_T)\
**Post date:** [February 23, 2015, 10:43am UTC](https://www.ruby-forum.com/t/grcc-from-ssh-session/234275/3 "2015-02-23T10:43:00Z")

</div>

Thanks Sebastian,

“Unable to import Colors” is also a warning for me, but then I also get:

Unable to import Colors  
‘module’ object has no attribute ‘CONNECTION\_ENABLED\_COLOR’  
Error during file compilation.  
make: \*\*\* [grc\_rx] Error 1

Which is an error. It looks like my flowgraph needs Colors after all but  
I  
don’t know why because it doesn’t have a GUI.

Thanks,  
Murray

On 20 February 2015 at 10:27, Koslowski, Sebastian (CEL) \<

---

<div class="post-metadata">

**Author:** ![Murray\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@Murray\_T](https://www.ruby-forum.com/u/Murray_T)\
**Post date:** [February 25, 2015, 3:15am UTC](https://www.ruby-forum.com/t/grcc-from-ssh-session/234275/4 "2015-02-25T03:15:50Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA256

Problem found. I pushed a fix to the maint\_grc branch on the grcwg repo:

[https://github.com/gnuradio/gnuradio-wg-grc/commit/b57a4cbe8229635a1a2c87ff70f7842f74def72a](https://github.com/gnuradio/gnuradio-wg-grc/commit/b57a4cbe8229635a1a2c87ff70f7842f74def72a)

Let me know if that works for you.

Sebastian  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1

iQIcBAEBCAAGBQJU7D+jAAoJEIcqoDnyZkMD7CAQAMayMnAttJprumj7lgsHqOIb  
Crsb8w+CrtJQaMdFZe0eq/8q7j/3HwcBgt7qBDaVa4idtZWKkcWVFa4khyeDPJWZ  
zyRO7bcq6ceTOik7Gm7nCRFNfqnxb0ZkMgNRH+tjR6bJCYVuat7nkW78FlVZROKY  
TFwskAB/kYWrfg9csTkvzTNc8jYTEKZTEEntRjSLVMZlVXmphirVLQVZFluFyomE  
42jdVi3Z7szsOFcYkHGIw/1uNAJV6nKsnhYvNg9O8zRI2cDvdmjERvDlIf6NSMg3  
b2Bnqi0+n3xh6ULsk/NVklMbGtSCIZSqLOpaFCPrLic0N07aUK8YOgiPJ7yw2JNO  
m6+Pu8pmwj6BaNqQLzeLC0N2VGIDtByjakJHE1ZYsgnPfzx5LIf9v1iohxCPEZY0  
dXMMGq2hUpbbyzJ6XpdytKT15dWg+LSNP1dQmcQRei2u3QnLf0LrJmvQkzmjE1VW  
332FWhdpQPpX9Nr74SGPxQVpQhkHrKZBuSCsui2i9Zoz+yQBd3z8D3rzHTyrG9kk  
fdv9lieWyI+lrLLIUaNOUI5tkaoyO88Lm4mtzNvwC0cRV3vjAcba4HQ/cLufuBFi  
vlgvgpWLbRcpcpwZdjui5oSmOZQzDhg3M3Xy0gOs85qsSJiT6afVhGav/w9mmT6Z  
JIT+r55jDNWwst5iu6Ft  
=tatu  
-----END PGP SIGNATURE-----
