Page MenuHomePhabricator

pywikibot.ui.editText imports gui which does not exist in core
Closed, ResolvedPublic


If config.editor does not have a value, which is the default, pywikibot falls back to using an internal editor, and fails.

In pywikibot/ TextEditor.edit(), pywikibot.ui.editText() is invoked.

Many scripts use TextEditor:

The easiest way to show the problem is with the script

$ python editarticle -family:wikipedia -lang:en -p "Test page"
Could not load GUI modules: No module named gui
Nothing changed

The module gui from compat was not ported to core.

Version: core-(2.0)
Severity: major
See Also:



Event Timeline

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

Change 151973 had a related patch set uploaded by Mpaa:
Bug 68645: ported to core

Change 151973 merged by jenkins-bot:
Bug 68645: ported to core