Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2018
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.98 KB | None | 0 0
  1. /NetShare/core$ python pwb.py pagefromfile -showdiff -file:pages.txt -force
  2.  
  3.  
  4. Reading 'pages.txt'...
  5.  
  6. 0 pages read
  7. 0 pages written
  8. Execution time: 0 seconds
  9. Script terminated by exception:
  10.  
  11. ERROR: AttributeError: 'tuple' object has no attribute 'site'
  12. Traceback (most recent call last):
  13.   File "pwb.py", line 251, in <module>
  14.     if not main():
  15.   File "pwb.py", line 244, in main
  16.     run_python_file(filename, [filename] + args, argvu, file_package)
  17.   File "pwb.py", line 115, in run_python_file
  18.     main_mod.__dict__)
  19.   File "./scripts/pagefromfile.py", line 344, in <module>
  20.     main()
  21.   File "./scripts/pagefromfile.py", line 340, in main
  22.     bot.run()
  23.   File "/home/peter/NetShare/core/pywikibot/bot.py", line 1470, in run
  24.     if self.skip_page(page):
  25.   File "/home/peter/NetShare/core/pywikibot/bot.py", line 1626, in skip_page
  26.     if page.site != self.site:
  27. AttributeError: 'tuple' object has no attribute 'site'
  28. <class 'AttributeError'>
  29. CRITICAL: Closing network session.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement