UnicodeDecodeError: 'utf-8' codec can't decode byte 0xec in position 4: invalid continuation byte

Bug #1876975 reported by Ken Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nyx (Ubuntu)
New
Undecided
Unassigned

Bug Description

I suspect the error may be down to a Python script, but I really don't know.

$ nyx -c /run/tor
Traceback (most recent call last):
  File "/usr/bin/nyx", line 11, in <module>
    load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')()
  File "/usr/lib/python3/dist-packages/nyx/__init__.py", line 176, in main
    nyx.starter.main()
  File "/usr/lib/python3/dist-packages/stem/util/conf.py", line 289, in wrapped
    return func(*args, config = config, **kwargs)
  File "/usr/lib/python3/dist-packages/nyx/starter.py", line 75, in main
    config.load(args.config)
  File "/usr/lib/python3/dist-packages/stem/util/conf.py", line 503, in load
    self.load(os.path.join(root, filename))
  File "/usr/lib/python3/dist-packages/stem/util/conf.py", line 508, in load
    read_contents = config_file.readlines()
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xec in position 4: invalid continuation byte

I've no idea how to work around this.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nyx 2.0.4-3
ProcVersionSignature: Ubuntu 5.3.0-46.38~18.04.1-generic 5.3.18
Uname: Linux 5.3.0-46-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.14
Architecture: amd64
Date: Tue May 5 20:06:36 2020
Dependencies: python3-stem 1.6.0-1
PackageArchitecture: all
SourcePackage: nyx
UpgradeStatus: Upgraded to bionic on 2018-09-28 (584 days ago)

Revision history for this message
Ken Sharp (kennybobs) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.