Hi! Since November 2010, paste.debian.net has enforced a 2 or 3-line minimum on pastes to stop spammers. This is actually returned to XML-RPC clients and also to web-users but the error message (and the fact that the paste failed) is ignored by pastebinit. This means that
(date; echo; echo) | pastebinit -b http://paste.debian.net
works just fine, while
date | pastebinit -b http://paste.debian.net
will fail without a useful error message to the user. I doubt that Sary's
Xorg.0.log file was empty (although that's possible), so it's more likely that
it exceeded the 90kB limit of paste.debian.net.
Rolf, a couple of things come out of this --
* pastebinit could either pad pastes that are too short with a couple of
lines, tell the user in advance that there's a minimum paste length (or both).
It could conceivably also tell users in advance that pastes are too long.
* ignoring the return information/failures is a separate bug (perhaps you
could forward that upstream if you can't see where to fix it yourself)
cheers
Stuart
(and thanks to formerer on #debian-devel for some information on what is
happening here)
--
Stuart Prescott -- www.nanonanonano.net
signature.asc
Description: This is a digitally signed message part.

