https://bugzilla.wikimedia.org/show_bug.cgi?id=70703
Bug ID: 70703 Summary: gui depends on idlelib Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
The GUI module depends on idlelib, which is not specified as a dependency.
Here is an example
$ python pwb.py upload -family:wikidata -lang:test No input filename given File or URL where image is now: https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonst... The filename on the target wiki will default to: PNG_transparency_demonstration_1.png Enter a better name, or press enter to accept: The suggested description is:
It is not possible to upload a file without a summary/description. Do you want to change this description? ([Y]es, [n]o, [q]uit) y Could not load GUI modules: No module named idlelib Do you want to change this description? ([Y]es, [n]o, [q]uit) y Could not load GUI modules: No module named idlelib ... etc ..
The result is it isnt possible to add a description.
Either we add a dependency, and/or we fall back gracefully to text based UI.