https://bugzilla.wikimedia.org/show_bug.cgi?id=69091
Bug ID: 69091
Summary: add_text.py and commonscat.py report NoEnoughData to
user
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
If add_text is called without parameters, it should give a nice warning or show
help.
$ python pwb.py scripts/add_text.py
Traceback (most recent call last):
File "pwb.py", line 166, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "scripts/add_text.py", line 371, in <module>
main()
File "scripts/add_text.py", line 354, in main
'You have to specify the generator you want to use for the script!')
__main__.NoEnoughData: You have to specify the generator you want to use for
the script!
<class '__main__.NoEnoughData'>
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l