SHARE
TWEET

Untitled

Urbanecm May 28th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. urbanecm@tools-bastion-02 ~/Documents/cswiki/addPrekladCT
  2. $ cat test.sh
  3. python3 addmissing.py -always -file:pages.txt -search:'-insource:/\{\{[Pp]řeklad/'
  4. urbanecm@tools-bastion-02 ~/Documents/cswiki/addPrekladCT
  5. $ jsub bash test.sh # submits to the grid
  6. Your job 5494668 ("bash") has been submitted
  7. urbanecm@tools-bastion-02 ~/Documents/cswiki/addPrekladCT
  8. $ cat ~/bash.err  # print STDERR                                                                                                                  
  9. Traceback (most recent call last):
  10.   File "addmissing.py", line 223, in <module>
  11.     main()
  12.   File "addmissing.py", line 183, in main
  13.     local_args = pywikibot.handle_args(args)
  14.   File "/shared/pywikipedia/core/pywikibot/bot.py", line 954, in handle_args
  15.     writeToCommandLogFile()
  16.   File "/shared/pywikipedia/core/pywikibot/bot.py", line 1128, in writeToCommandLogFile
  17.     command_log_file.write(s + os.linesep)
  18.   File "/usr/lib/python3.4/codecs.py", line 714, in write
  19.     return self.writer.write(data)
  20.   File "/usr/lib/python3.4/codecs.py", line 373, in write
  21.     data, consumed = self.encode(object, self.errors)
  22. UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc5' in position 67: surrogates not allowed
  23. CRITICAL: Closing network session.
  24. urbanecm@tools-bastion-02 ~/Documents/cswiki/addPrekladCT
  25. $ cat ~/bash.out # prints STDOUT
  26. <class 'UnicodeEncodeError'>
  27. urbanecm@tools-bastion-02 ~/Documents/cswiki/addPrekladCT
  28. $
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top