Public bug reported:

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)

** Affects: nyx (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876975

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nyx/+bug/1876975/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to