An unhandled exception occurred

Create issue
Issue #2 resolved
Former user created an issue

Traceback (most recent call last): File "/usr/lib/pkgbrowser/pkgbrowser/", line 796, in handleInformationChanged self.updateInformation(index) File "/usr/lib/pkgbrowser/pkgbrowser/", line 1040, in updateInformation self.format.information(package, widget.objectName())) File "/usr/lib/pkgbrowser/pkgbrowser/", line 194, in information text = package[page] File "/usr/lib/pkgbrowser/pkgbrowser/", line 1212, in getitem return self._log() File "/usr/lib/pkgbrowser/pkgbrowser/", line 1099, in _log return Cache.get_log(*names) File "/usr/lib/pkgbrowser/pkgbrowser/", line 155, in get_log cache = cls._caches[key] = conf.load_logfile(path) File "/usr/lib/pkgbrowser/pkgbrowser/", line 90, in load_logfile for line in stream: File "/usr/lib/python3.3/", line 300, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 6514: invalid continuation byte

Comments (2)

  1. kachelaqa repo owner

    This does not appear to be a bug in pkgbrowser.

    The error almost certainly occurs because your pacman.log file has a different encoding (probably "latin-1") to your system default text encoding (probably "utf-8").

    You therefore need to fix the pacman.log file by saving it with the correct encoding (but please make a backup of it before trying this).

  2. Log in to comment