OS: Linux
When I redirect the output of the python command that runs the bot to a file or another command, the output simply disappears. I wanted to generate a file based on the listpages.py script, but apparently I'm unable to do so...
> python pwb.py listpages.py -family: -cat:'somecategory' 1 Page 1 2 Page 2 ... > python pwb.py listpages.py -family: -cat:'somecategory' > filelist.txt > ls -l filelist.txt -rw-r--r-- 1 jesus users 0 mar 21 16:55 filelist.txt > python pwb.py listpages.py -family: -cat:'somecategory' | uniq >
Using the pipe to pass the output to another command doesn't generate output. The same when redirecting to a file.
Printing text from python directly works, though
> python -c "print 'test'" | uniq test
Workaround: in user_config.py, add
console_encoding = 'utf-8'