discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: gr_modtool crash


From: CEL
Subject: Re: gr_modtool crash
Date: Tue, 3 Dec 2019 19:40:05 +0000

Yeah, packaging mishaps happen, and especially with Ubuntu/Canonical
mostly grazing uninvolvedly on Mait's effort in the debian space, they
sometimes slip by. I'm super thankful Mait is so agile when it comes to
fixing the debian packages! 

On Tue, 2019-12-03 at 17:55 +0000, César MR wrote:
> It worked!
>  
> Oddly, newmod didn’t work in a fresh Ubuntu minimal installation. Thank you!
>  
>  
>  
> De: Maitland Bottoms
> Enviado: martes, 3 de diciembre de 2019 17:16
> Para: César MR; address@hidden
> Asunto: Re: gr_modtool crash
>  
> César MR <address@hidden> writes:
> 
> > Hi! I'm trying to follow the tutorial about working with gnuradio in c++, 
> > which can be found in the wiki, but i when i try to run gr_modtool, it 
> > crash. At first i thought that it was because of my language, so i changed 
> > my linux mint language to UK english, but it didn't work.
> >
> > In addition i had to run gr_modtool with admin privileges in order to  get 
> > a crash report in /var/crash directory.
> >
> > You can download the whole crash log here: https://mega.nz/#!yLxRGaRI
> >
> > What do you think is the root of my problem? thank you
> 
> That is a Debian packaging of gnuradio bug that mint inherited.
> This is also found in Debian 10 "Buster" gnuradio 3.7.13.4-4.
> 
> The problem comes from Python byte-compiled files used as templates.
> 
> The solution is to remove all .pyc files found under
> /usr/share/gnuradio/modtool/gr-newmod
> especially:
> /usr/share/gnuradio/modtool/gr-newmod/python/build_utils_codes.pyc
> /usr/share/gnuradio/modtool/gr-newmod/python/build_utils.pyc
> /usr/share/gnuradio/modtool/gr-newmod/python/__init__.pyc
> 
> I missed these becasue they are not present in the .deb, but are
> generated when the package is installed.
> 
> Recent (gnuradio 3.8) Debian packages no longer byte-compile any Python
> under /usr/share/gnuradio/ - solving this problem.
> 
> Easiest fix is just
> `sudo rm /usr/share/gnuradio/modtool/gr-newmod/python/*pyc`
> 
> Good luck,
> -Maitland
>  

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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