Ciencia_Al_Poder added a comment.
I've just discovered that when using categories with non-ascii characters on it, the redirection is lost. If the category contains plain ascii letters the output is redirected successfully:
jesus@charmander:~/git/mediawiki/pywikibot/core> python pwb.py listpages.py -family:wikipedia -lang:es -cat:'.hack' 1 .hack 2 .hack//G.U. 3 .hack//Liminality 4 .hack//Roots 5 .hack//SIGN 6 The World (.hack) jesus@charmander:~/git/mediawiki/pywikibot/core> python pwb.py listpages.py -family:wikipedia -lang:es -cat:'.hack' |uniq 1 .hack 2 .hack//G.U. 3 .hack//Liminality 4 .hack//Roots 5 .hack//SIGN 6 The World (.hack) jesus@charmander:~/git/mediawiki/pywikibot/core> python pwb.py listpages.py -family:wikipedia -lang:es -cat:'1. FC Nürnberg' 1 FC Nuremberg II 2 F. C. Núremberg 3 Stadion Nürnberg jesus@charmander:~/git/mediawiki/pywikibot/core> python pwb.py listpages.py -family:wikipedia -lang:es -cat:'1. FC Nürnberg' |uniq jesus@charmander:~/git/mediawiki/pywikibot/core>
I'm using Python 2.7.8 on Open SuSE 13.2
TASK DETAIL https://phabricator.wikimedia.org/T93474
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ciencia_Al_Poder Cc: XZise, Ciencia_Al_Poder, Aklapper, jayvdb, pywikipedia-bugs