Skip to content

Instantly share code, notes, and snippets.

@priyankajayaswal1
Created March 4, 2015 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priyankajayaswal1/c3a6c7f3f3eccd582fce to your computer and use it in GitHub Desktop.
Save priyankajayaswal1/c3a6c7f3f3eccd582fce to your computer and use it in GitHub Desktop.
➜ 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