Wednesday, August 30, 2017

Re: [Discuss-gnuradio] Command line compile GRC xml

Marcus,

Thank you for the reply. There was a miscommunication with my colleague.   He got a different error with grcc and not gtk related.  He ran the gnuradio-companion and received an error related to GTK then seg faulted.  That makes sense now that I know he ran the companion and not grcc.

So when I ran grcc on the embedded box, it gave:

Traceback (most recent call last):
  File "/usr/bin/grcc", line 32, in <module>
    from gnuradio.grc.python.Platform import Platform
ImportError: No module named python.Platform

Whereas this command ran on my xubuntu PC just fine.  So this looks like a problem with the embedded box's python install.  It's running a ppc CPU and we didn't make the image its running.  So we'll need to track this down and fix.

Thank you for confirming X11 isn't needed or else my colleague and I wouldn't have caught this.  I'll look into this python.Platform issue and report back if grcc doesn't run successfully like it did on my test linux PC.

Thanks,
Mike


On 2017-08-30 6:18 PM, Marcus Müller wrote:
Dear Mike,    in theory, GRCC really shouldn't need X11 at all. Can you elaborate on  what problems you're encountering?    Cheers,    Marcus      On 30.08.2017 23:04, Mike Rex wrote:  
Not sure if you posted the url you intended, that link only used the  GUI to generate the python.  This method was specifically what I was  trying to avoid.    So it sounds like grcc can't do what I was looking for if it requires  X11.    Regards    On 2017-08-29 9:11 PM, Cinaed Simson wrote:  
On 08/29/2017 08:32 PM, Mike Rex wrote:  
That looks like its exactly what I am looking for.  Probably good to  mention in the gnuradio wiki "Developing GNU Radio" section.  Note to  self...    Thanks!    Regards,  Mike  
If you're running on a DSP device, you might not want X11 to try and  startup.    If which case, it's best to use grc to dump the python script using the  "no gui" option.    See         https://lists.gnu.org/archive/html/discuss-gnuradio/2016-07/msg00377.html    for details.    -- Cinaed      
  On 2017-08-29 7:56 PM, Kyeong Su Shin wrote:  
Are you looking for 'grcc'?    Regards,  Kyeong Su Shin    
    _______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio    
  _______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  
    _______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  
    _______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  

No comments:

Post a Comment