For example: cat sample.txt | wgetpaste used to work before I upgraded to 2.6 Now I get "Plain Text" is not a supported language for rafb: http://rafb.net/paste/. Languages supported by rafb: http://rafb.net/paste/ (case sensitive): C C# C++ C89 C99 Java PHP PL/I Pascal Perl Plain%Text Python Ruby SQL VB I tried changing the actual command in /usr/bin to DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain%Text} but then all I got was the same message, plus the %. Nopaste is working for me right now but this seems to be a serious but probably easy to fix issue. Reproducible: Always Steps to Reproduce: 1. cat <somefile> | wgetpaste 2. 3.
can you attach your emerge --info please? ;)
(In reply to comment #1) > can you attach your emerge --info please? ;) > Lol. I feel n00bish today. library6 gcc # emerge --info Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r0, 2.6.22-gentoo-r8 i686) ================================================================= System uname: 2.6.22-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 2.40GHz Timestamp of tree: Sat, 20 Oct 2007 22:00:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://gentoo.llarian.net/ http://mirror.usu.edu/mirrors/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm hal iconv ipv6 isdnlog midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
> library6 gcc # emerge --info [...] > app-shells/bash: 3.2_p17 Really? What's the output of: cat sample.txt | wgetpaste --debug ?
wtf. I just tried cat sample.txt | wgetpaste and it worked. don't ask me why... this is the first time it's worked in weeks.
Another system? Just upgraded bash? Anyway. It turns out I can reproduce it on bash-3.1.x and 3.0.x. I didn't realise % used to have a special meaning in substitutions. Escaping them fixes it.
Fixed with 2.7