On Fri, 21 Feb 2020 10:58:18 -0800
Laura Arjona <arjo...@uw.edu> 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