pastebinit crashed with UnicodeDecodeError in decode(): 'utf-8' codec can't decode byte 0xad in position 15319: invalid start byte
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pastebinit (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
To reproduce:
1. Attempt to paste non-unicode data with a pipe:
cat ~/.config/
Result:
Python throwsa Unicode error.
Expected result:
It should work, as it does if you run:
pastebinit ~/.config/
Impact:
If a program outputs even one invalid ascii/unicode character, the paste will fail. This is a common problem when porting python 2 apps to python 3.
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: pastebinit 1.5-1
ProcVersionSign
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu2
Architecture: amd64
Date: Sat Mar 31 15:29:58 2018
ExecutablePath: /usr/bin/pastebinit
InstallationDate: Installed on 2018-03-31 (0 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180331)
InterpreterPath: /usr/bin/python3.6
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/pastebinit
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
TERM=xterm-
LANGUAGE=en_GB:en
PATH=(custom, no user)
Python3Details: /usr/bin/python3.6, Python 3.6.5rc1, python3-minimal, 3.6.4-1
PythonArgs: ['/usr/
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
SourcePackage: pastebinit
Title: pastebinit crashed with UnicodeDecodeError in decode(): 'utf-8' codec can't decode byte 0xad in position 15319: invalid start byte
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
tags: | removed: need-duplicate-check |
Changed in pastebinit (Ubuntu): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.