Skip to content

"TypeError: Incorrect padding" #27

fabsmusicjunkie opened this Issue Sep 13, 2010 · 1 comment

2 participants


the program doesn't start on my amd64 ubuntu lucid. here's the error message:
Traceback (most recent call last):
File "/usr/bin/pastie", line 53, in
clipboard_protector = protector.ClipboardProtector()
File "/usr/lib/pymodules/python2.6/pastielib/", line 63, in init
File "/usr/lib/pymodules/python2.6/pastielib/", line 141, in recover_history
data = base64.b64decode(item.text)
File "/usr/lib/python2.6/", line 76, in b64decode
raise TypeError(msg)
TypeError: Incorrect padding[/code]


The workaround is to delete the .clipoard_history file and try to start pastie again. This seems to be a problem with the images encoding pastie uses.
In the long term, the XML format should de replaced by something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.