[Bug 1437286] Re: pastebinit on Debian don't give you paste.debian.net/id-number if username is longer than 10 characters

Launchpad Bug Tracker 1437286 at bugs.launchpad.net
Mon Feb 27 16:22:26 UTC 2023


This bug was fixed in the package pastebinit - 1.6.2-1

---------------
pastebinit (1.6.2-1) unstable; urgency=medium

  * New upstream relase (1.6.1). GitHub Changelog:
    * Revert "Add NoneType handling/fix for Debian (Closes: #1023962)"
    * Default to empty string in os.environ.get for potentially empty 
      env vars
      (Closes: #1023962)

 -- Thomas Ward <teward at ubuntu.com>  Mon, 14 Nov 2022 16:33:59 -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/1437286

Title:
  pastebinit on Debian don't give you paste.debian.net/id-number if
  username is longer than 10 characters

Status in pastebinit:
  Triaged
Status in pastebinit package in Ubuntu:
  Fix Released

Bug description:
  pastebinit dosen't return paste-ID-link when username is longer than
  10 characters.

  when username has 11 or more characters, you get this in return

  http://paste.debian.net/

  According to their webpage, I get this error when trying to manually
  paste something with my username

  Could not add your entry to the paste database:

  Invalid format for name (no special chars, max 10 chars)

  when username has 10 or less characters, you get an actual paste in
  return:

  http://paste.debian.net/163493/

  the solution should be something like

  if paste is paste.debian.net
      then username shoud be shortned to 10 characters, by deleting any character bigger than, or 11 characters.

  A workaround for this, is to add the .pastebinit.xml file to the
  longusernameuser's home folder. Within the file, add this lines:

  <pastebinit>
      <author>shorter-than-10-characters-name</author>
  </pastebinit>

  save and run pastebinit again

  your username will be replaced with any word/name shorter or equal to
  10 characters

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




More information about the foundations-bugs mailing list