discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: gnuradio 3.8 errors with gr_modtool


From: Maitland Bottoms
Subject: Re: gnuradio 3.8 errors with gr_modtool
Date: Fri, 21 Feb 2020 19:19:37 -0500

On Fri, 21 Feb 2020 10:58:18 -0800
Laura Arjona <address@hidden> wrote:

> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position
> 5: invalid continuation byte

The problem comes from Python byte-compiled files used as templates.

Perhaps the template processor is choking on a .pyc file?

The solution is to remove all .pyc files found under
/usr/share/gnuradio/modtool/gr-newmod
(or whatever the correct path is for the modtool template directory
in your installation.)

If you have files like
.../gnuradio/modtool/gr-newmod/python/build_utils_codes.pyc
.../gnuradio/modtool/gr-newmod/python/build_utils.pyc
.../gnuradio/modtool/gr-newmod/python/__init__.pyc

then this is likely the trouble.

In Debian, this bug is #946120
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946120

It has been fixed in Debian's gnuradio 3.8 packages, so I am curious
about how you might have ended up with this trouble.

Hope that helps,
-Maitland



reply via email to

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