Page MenuHomePhabricator

gui depends on idlelib
Closed, ResolvedPublic

Description

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.


Version: core-(2.0)
Severity: major

Details

Reference
bz70703

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:51 AM
bzimport set Reference to bz70703.
bzimport added a subscriber: Unknown Object (????).

Note that this is probably a non-Win32 problem, as the Win32 python installer includes IDLE. On Ubuntu, IDLE is a separate package.

gerritadmin wrote:

Change 172119 had a related patch set uploaded by John Vandenberg:
editor depends on tkinter and idlelib

https://gerrit.wikimedia.org/r/172119

gerritadmin wrote:

Change 172119 merged by jenkins-bot:
editor depends on tkinter and idlelib

https://gerrit.wikimedia.org/r/172119