Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /NetShare/core$ python pwb.py pagefromfile -showdiff -file:pages.txt -force
- Reading 'pages.txt'...
- 0 pages read
- 0 pages written
- Execution time: 0 seconds
- Script terminated by exception:
- ERROR: AttributeError: 'tuple' object has no attribute 'site'
- Traceback (most recent call last):
- File "pwb.py", line 251, in <module>
- if not main():
- File "pwb.py", line 244, in main
- run_python_file(filename, [filename] + args, argvu, file_package)
- File "pwb.py", line 115, in run_python_file
- main_mod.__dict__)
- File "./scripts/pagefromfile.py", line 344, in <module>
- main()
- File "./scripts/pagefromfile.py", line 340, in main
- bot.run()
- File "/home/peter/NetShare/core/pywikibot/bot.py", line 1470, in run
- if self.skip_page(page):
- File "/home/peter/NetShare/core/pywikibot/bot.py", line 1626, in skip_page
- if page.site != self.site:
- AttributeError: 'tuple' object has no attribute 'site'
- <class 'AttributeError'>
- CRITICAL: Closing network session.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement