SHARE
TWEET

Untitled

a guest Jun 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Getting 500 pages from wikipedia:bn...
  2. Getting pages 1 - 125 of 500...
  3. Getting pages 126 - 250 of 500...
  4. Sleeping for 5.7 seconds, 2010-10-07 21:12:05
  5. Getting pages 251 - 375 of 500...
  6. Sleeping for 5.7 seconds, 2010-10-07 21:12:41
  7. Getting pages 376 - 500 of 500...
  8. Sleeping for 5.7 seconds, 2010-10-07 21:13:22
  9. Sleeping for 5.4 seconds, 2010-10-07 21:14:03
  10. Traceback (most recent call last):
  11.   File "sandbox.py", line 95, in <module>
  12.     main()
  13.   File "sandbox.py", line 41, in main
  14.     wikipedia.Page(site,pg.title()).put(u'#redirect [[%s]]' % page.title(),'"বট আন্তঃউইকি পুনর্নির্দেশনা তৈরি করছে"')
  15.   File "/home/badboy/Bot/WikitanvirBot I/pywikipedia/wikipedia.py", line 1685, in put
  16.     newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
  17.   File "/home/badboy/Bot/WikitanvirBot I/pywikipedia/wikipedia.py", line 1721, in _putPage
  18.     'summary': self._encodeArg(comment, 'summary'),
  19.   File "/home/badboy/Bot/WikitanvirBot I/pywikipedia/wikipedia.py", line 1695, in _encodeArg
  20.     raise e
  21. UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 1: ordinal not in range(128) (cannot convert input summary string to unicode)
RAW Paste Data
Want to get better at Python?
Learn to code Python in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top