Last modified: 2014-11-09 19:34:47 UTC
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_demonstration_1.png 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.
Note that this is probably a non-Win32 problem, as the Win32 python installer includes IDLE. On Ubuntu, IDLE is a separate package.
Change 172119 had a related patch set uploaded by John Vandenberg: editor depends on tkinter and idlelib https://gerrit.wikimedia.org/r/172119
Change 172119 merged by jenkins-bot: editor depends on tkinter and idlelib https://gerrit.wikimedia.org/r/172119