Public bug reported:

This is a 15.10 fresh install, although the user has a home partition
saved from previous installs. Note that creating a fresh user shows the
same problem, however.

When launching glances this happens:

$ glances
Traceback (most recent call last):
  File "/usr/bin/glances", line 9, in <module>
    load_entry_point('Glances==2.3', 'console_scripts', 'glances')()
  File "/usr/lib/python3/dist-packages/glances/__init__.py", line 119, in main
    args=core.get_args())
  File "/usr/lib/python3/dist-packages/glances/core/glances_standalone.py", 
line 62, in __init__
    self.stats.update()
  File "/usr/lib/python3/dist-packages/glances/core/glances_stats.py", line 
156, in update
    self._plugins[p].update()
  File 
"/usr/lib/python3/dist-packages/glances/plugins/glances_processcount.py", line 
58, in update
    glances_processes.update()
  File "/usr/lib/python3/dist-packages/glances/core/glances_processes.py", line 
555, in update
    standard_stats=self.get_max_processes() is None)
  File "/usr/lib/python3/dist-packages/glances/core/glances_processes.py", line 
362, in __get_process_stats
    proc.as_dict(attrs=['cpu_percent', 'memory_percent', 'name', 'cpu_times'], 
ad_value=''))
  File "/usr/lib/python3/dist-packages/psutil/__init__.py", line 429, in as_dict
    ret = attr()
  File "/usr/lib/python3/dist-packages/psutil/__init__.py", line 505, in name
    name = self._proc.name()
  File "/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 645, in wrapper
    return fun(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 676, in name
    return f.read().split(' ')[1].replace('(', '').replace(')', '')
  File "/usr/lib/python3.4/codecs.py", line 319, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 20: 
invalid continuation byte

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: glances 2.3-1build1
ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop:
 
Date: Mon Feb  8 17:48:40 2016
InstallationDate: Installed on 2016-02-08 (0 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
SourcePackage: glances
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug wily

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

Title:
  glances crashes with utf-8 decoding related problem

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

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

Reply via email to