Skip to content

Instantly share code, notes, and snippets.

@priyankajayaswal1
Last active August 29, 2015 14:17
Show Gist options
  • Save priyankajayaswal1/d4e71d32ab4cce8e3413 to your computer and use it in GitHub Desktop.
Save priyankajayaswal1/d4e71d32ab4cce8e3413 to your computer and use it in GitHub Desktop.
Retrieving 1 pages from wikipedia:en.
Still 2 active threads, lets wait
Retrieving 1 pages from wikipedia:en.
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "./scripts/imagecopy_self.py", line 293, in run
pywikibot.output(u'Fetched all images.')
AttributeError: 'NoneType' object has no attribute 'output'
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "./scripts/imagecopy_self.py", line 579, in run
pywikibot.output(u'User worked on all images.')
AttributeError: 'NoneType' object has no attribute 'output'
Traceback (most recent call last):
File "pwb.py", line 213, in <module>
run_python_file(filename, argv, argvu, file_package)
File "pwb.py", line 82, in run_python_file
main_mod.__dict__)
File "./scripts/imagecopy_self.py", line 992, in <module>
main()
File "./scripts/imagecopy_self.py", line 965, in main
prefetchQueue = Queue(maxsize=50)
TypeError: 'module' object is not callable
<type 'exceptions.TypeError'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment