Skip to content

Instantly share code, notes, and snippets.

@priyankajayaswal1
Created March 5, 2015 17:09
Show Gist options
  • Save priyankajayaswal1/33dc49391ec750954d30 to your computer and use it in GitHub Desktop.
Save priyankajayaswal1/33dc49391ec750954d30 to your computer and use it in GitHub Desktop.
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/interwiki.py", line 2645, in <module>
main()
File "./scripts/interwiki.py", line 2620, in main
bot.run()
File "./scripts/interwiki.py", line 2360, in run
self.queryStep()
File "./scripts/interwiki.py", line 2338, in queryStep
subj.finish()
File "./scripts/interwiki.py", line 1789, in finish
if self.replaceLinks(page, new):
File "./scripts/interwiki.py", line 1948, in replaceLinks
if not botMayEdit(page):
File "./scripts/interwiki.py", line 2433, in botMayEdit
templates = page.templatesWithParams()
File "/home/innovator/Downloads/pywikibot-core/pywikibot/tools/__init__.py", line 930, in wrapper
return obj(*__args, **__kw)
File "/home/innovator/Downloads/pywikibot-core/pywikibot/page.py", line 1873, in templatesWithParams
templates = textlib.extract_templates_and_params(self.text)
File "/home/innovator/Downloads/pywikibot-core/pywikibot/textlib.py", line 981, in extract_templates_and_params
import mwparserfromhell # noqa
File "build/bdist.linux-i686/egg/mwparserfromhell/__init__.py", line 35, in <module>
File "build/bdist.linux-i686/egg/mwparserfromhell/parser/__init__.py", line 45, in <module>
File "build/bdist.linux-i686/egg/mwparserfromhell/parser/_tokenizer.py", line 7, in <module>
File "build/bdist.linux-i686/egg/mwparserfromhell/parser/_tokenizer.py", line 3, in __bootstrap__
File "build/bdist.linux-i686/egg/pkg_resources.py", line 2963, in <module>
File "build/bdist.linux-i686/egg/pkg_resources.py", line 883, in subscribe
for dist in other[project]:
File "build/bdist.linux-i686/egg/pkg_resources.py", line 2963, in <lambda>
File "build/bdist.linux-i686/egg/pkg_resources.py", line 2509, in activate
parsed.marker_fn = compile_marker(mark)
File "build/bdist.linux-i686/egg/pkg_resources.py", line 2134, in declare_namespace
@classmethod
File "build/bdist.linux-i686/egg/pkg_resources.py", line 2095, in _handle_ns
TypeError: ('Not a package:', 'google')
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
➜ pywikibot-core git:(warnfile)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment