Last modified: 2014-11-09 19:34:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72703, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70703 - gui depends on idlelib
gui depends on idlelib
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized major
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-11 08:02 UTC by John Mark Vandenberg
Modified: 2014-11-09 19:34 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-09-11 08:02:08 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.
Comment 1 John Mark Vandenberg 2014-09-11 08:03:15 UTC
Note that this is probably a non-Win32 problem, as the Win32 python installer includes IDLE.  On Ubuntu, IDLE is a separate package.
Comment 2 Gerrit Notification Bot 2014-11-09 18:42:21 UTC
Change 172119 had a related patch set uploaded by John Vandenberg:
editor depends on tkinter and idlelib

https://gerrit.wikimedia.org/r/172119
Comment 3 Gerrit Notification Bot 2014-11-09 19:25:32 UTC
Change 172119 merged by jenkins-bot:
editor depends on tkinter and idlelib

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links