[Bug 1270359] Re: test locale for Unicode support

Launchpad Bug Tracker 1270359 at bugs.launchpad.net
Fri Jan 24 03:09:15 UTC 2014


This bug was fixed in the package pastebinit - 1.4-2ubuntu1

---------------
pastebinit (1.4-2ubuntu1) trusty; urgency=medium

  * Merge from Debian unstable. Remaining changes:
    - Don't build-depend on python-support.

pastebinit (1.4-2) unstable; urgency=low

  * patches:
    ~ update upstream to r205. Fix unicode problem. LP: #1270359
      This essentially gives us upstream release 1.4.1
    ~ increase timeout to 15s to account for bad networks
  * watch: only check for 2-level (major.minor) upstream releases
  * drop preinst script as obsolete

pastebinit (1.4-1) unstable; urgency=low

  [ Bart Martens ]
  * update watch file

  [ Rolf Leggewie ]
  * new upstream release 1.4
    - upstream bugfixes
      ~ crash in create_connection(). LP: #1032221
      ~ point shebang to python3. LP: #988468
      ~ allow calling pastebin by basename. Closes: #705979, LP: #977331
      ~ allow pasting several files at once. Closes: #662242
    - control: bump python to python3 in run-time dependencies
               remove python-configobj from run-time dependencies
    - drop all debian-patches as obsolete
  * control:
    - drop obsolete DMUA field
    - update to standard version 3.9.5. No further changes.
  * copyright: update upstream and my copyright to 2014
 -- Stephane Graber <stgraber at ubuntu.com>   Thu, 23 Jan 2014 21:52:07 -0500

** Changed in: pastebinit (Ubuntu)
       Status: Triaged => Fix Released

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

Title:
  test locale for Unicode support

Status in Pastebin it !!!:
  Fix Released
Status in “pastebinit” package in Ubuntu:
  Fix Released

Bug description:
  pastebinit needs Unicode support to work.  It would be nice if it
  tested for it and raised an error understandable to the average user.

  $ LC_ALL=C.UTF-8 pastebinit -v
  pastebinit v1.4
  $ LC_ALL=C.UTF-8 pastebinit -v
  pastebinit v1.4
  leggewie at 1001P:/etc$ LC_ALL=C pastebinit -v
  Traceback (most recent call last):
    File "/usr/bin/pastebinit", line 293, in <module>
      pastebind = preloadPastebins()
    File "/usr/bin/pastebinit", line 102, in preloadPastebins
      instance.read(filename)
    File "/usr/lib/python3.2/configparser.py", line 689, in read
      self._read(fp, filename)
    File "/usr/lib/python3.2/configparser.py", line 994, in _read
      for lineno, line in enumerate(fp, start=1):
    File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode
      return codecs.ascii_decode(input, self.errors)[0]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 167: ordinal not in range(128)

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



More information about the foundations-bugs mailing list