[Bug 1760310] Re: pastebinit crashed with UnicodeDecodeError in decode(): 'utf-8' codec can't decode byte 0xad in position 15319: invalid start byte
Launchpad Bug Tracker
1760310 at bugs.launchpad.net
Wed Apr 11 04:53:51 UTC 2018
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pastebinit (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pastebinit in Ubuntu.
https://bugs.launchpad.net/bugs/1760310
Title:
pastebinit crashed with UnicodeDecodeError in decode(): 'utf-8' codec
can't decode byte 0xad in position 15319: invalid start byte
Status in pastebinit package in Ubuntu:
Confirmed
Bug description:
To reproduce:
1. Attempt to paste non-unicode data with a pipe:
cat ~/.config/pulse/cookie | pastebinit
Result:
Python throwsa Unicode error.
Expected result:
It should work, as it does if you run:
pastebinit ~/.config/pulse/cookie
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
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
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
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/pastebinit
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
TERM=xterm-256color
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/bin/pastebinit']
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:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pastebinit/+bug/1760310/+subscriptions
More information about the foundations-bugs
mailing list