[Bug 1757536] Re: pastebinit crashed with UnicodeEncodeError in quote(): 'utf-8' codec can't encode characters in position 340-342: surrogates not allowed

Apport retracing service 1757536 at bugs.launchpad.net
Wed Mar 21 21:00:06 UTC 2018


** Tags removed: need-duplicate-check

** Changed in: pastebinit (Ubuntu)
   Importance: Undecided => Medium

-- 
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/1757536

Title:
  pastebinit crashed with UnicodeEncodeError in quote(): 'utf-8' codec
  can't encode characters in position 340-342: surrogates not allowed

Status in pastebinit package in Ubuntu:
  New

Bug description:
  I can't pastebin http://paste.ubuntu.com/p/qFfThVFChK/ via stdin, only
  as a file... seen that on a lot of inputs. pastebinit should probably
  just use bytes and avoid redecoding stuff?

  ProblemType: Crash
  DistroRelease: Ubuntu 18.04
  Package: pastebinit 1.5-1
  ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
  Uname: Linux 4.15.0-12-generic x86_64
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  Date: Wed Mar 21 21:44:01 2018
  ExecutablePath: /usr/bin/pastebinit
  InstallationDate: Installed on 2018-03-14 (7 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313)
  InterpreterPath: /usr/bin/python3.6
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/pastebinit
  ProcEnviron:
   
  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 UnicodeEncodeError in quote(): 'utf-8' codec can't encode characters in position 340-342: surrogates not allowed
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo

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



More information about the foundations-bugs mailing list