Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
➜ pywikibot-core git:(warnfile) ✗ python pwb.py scripts/warnfile.py -lang:'test' -family:'test'
Parsing warnfile...
Traceback (most recent call last):
File "pwb.py", line 222, in <module>
run_python_file(filename, argv, argvu, file_package)
File "pwb.py", line 81, in run_python_file
main_mod.__dict__)
File "./scripts/warnfile.py", line 147, in <module>
main()
File "./scripts/warnfile.py", line 144, in main
bot.run()
File "./scripts/warnfile.py", line 86, in run
hints, remove_hints = self.warnfileReader.getHints()
File "./scripts/warnfile.py", line 44, in getHints
f = codecs.open(self.filename, 'r', 'utf-8')
File "/usr/lib/python2.7/codecs.py", line 878, in open
file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: u'/home/innovator/project/githubcore/pywikibot-core/logs/warning-test-en.log'
<type 'exceptions.IOError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment