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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=70703
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- Note that this is probably a non-Win32 problem, as the Win32 python installer includes IDLE. On Ubuntu, IDLE is a separate package.
https://bugzilla.wikimedia.org/show_bug.cgi?id=70703
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 172119 had a related patch set uploaded by John Vandenberg: editor depends on tkinter and idlelib
https://gerrit.wikimedia.org/r/172119
https://bugzilla.wikimedia.org/show_bug.cgi?id=70703
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=70703
--- Comment #3 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 172119 merged by jenkins-bot: editor depends on tkinter and idlelib
https://gerrit.wikimedia.org/r/172119
https://bugzilla.wikimedia.org/show_bug.cgi?id=70703
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org