discuss-gnuradio
[Top][All Lists]
Advanced

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

UnicodeDecodeError while creating OOT GRC 3.9.1.0


From: Marcin Puchlik
Subject: UnicodeDecodeError while creating OOT GRC 3.9.1.0
Date: Wed, 20 Oct 2021 13:20:19 +0200

Hi,
While creating new module using command: gr_modtool newmod square I receive such an error message: 

Creating out-of-tree module in ./gr-square...
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/hornet2/bin/gr_modtool", line 18, in <module>
    cli()
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/gnuradio/modtool/cli/base.py", line 133, in wrapper
    return func(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/gnuradio/modtool/cli/newmod.py", line 47, in cli
    run(self)
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/gnuradio/modtool/cli/base.py", line 152, in run
    module.run()
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/site-packages/gnuradio/modtool/core/newmod.py", line 79, in run
    s = filetext.read()
  File "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe3 in position 16: invalid continuation byte


Is this an encoding problem?

My locale:

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en
_US.UTF-8"
LC_ALL=en_US.UTF-8

Additional information:
- GNU Radio version: 3.9.1.0 (installed in anaconda3 environment)
- System: Ubuntu 20.04.3 LTS

Thanks in advance
Marcin


reply via email to

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