Thank you all for your comments.
I re-installed Ubuntu, thinking that it was a problem with my installation, but I get the same errors again.
Marcus, I re-installed git, but I get the same error.
I have no idea what is happening. I followed this steps
1 - Installed fresh Ubuntu 18.04.4 LTS
2- Installed git, cmake, swig, gnuradio.
To install gnuradio, I used:
$ sudo add-apt-repository ppa:gnuradio/gnuradio-releases
$ sudo apt-get update
$ sudo apt-get install gnuradio
$ sudo apt-get update
$ sudo apt-get install gnuradio
3. Then when I use gr_modtool, I get the errors I reported in the first message.
Any help would be greatly appreciate it, thanks!
On Fri, Feb 21, 2020 at 4:22 PM Maitland Bottoms <aa4hs@amrad.org> wrote:
On Fri, 21 Feb 2020 10:58:18 -0800
Laura Arjona <arjonal@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
Laura Arjona
Washington Research Foundation Innovation Postdoctoral Fellow in Neuroengineering
Paul G. Allen School of Computer Science & Engineering
185 E Stevens Way NE
University of Washington
Seattle, WA 98195-2350
No comments:
Post a Comment