valhallasw created this task. valhallasw added a subscriber: valhallasw. valhallasw added a project: pywikibot-core. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION ``` valhallasw@maeglin:pywikibot-core$ env -i python pwb.py shell master 0 Welcome to the Pywikibot interactive shell!
import pywikibot.editor pywikibot.editor.TextEditor().edit('test')
Traceback (most recent call last): File "<console>", line 1, in <module> File "/home/valhallasw/src/pywikibot-core/pywikibot/editor.py", line 113, in edit raise pywikibot.Error( UnboundLocalError: local variable 'pywikibot' referenced before assignment ```
TASK DETAIL https://phabricator.wikimedia.org/T89485
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw Cc: pywikipedia-bugs, valhallasw, Aklapper, jayvdb
gerritbot added a subscriber: gerritbot. gerritbot added a project: Patch-For-Review. gerritbot added a comment.
Change 190561 had a related patch set uploaded (by John Vandenberg): Move import of 'gui' to top of file
https://gerrit.wikimedia.org/r/190561
https://phabricator.wikimedia.org/tag/patch-for-review/
TASK DETAIL https://phabricator.wikimedia.org/T89485
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, valhallasw, Aklapper, jayvdb, pywikipedia-bugs
gerritbot added a comment.
Change 190561 merged by jenkins-bot: Move import of 'gui' to top of file
https://gerrit.wikimedia.org/r/190561
TASK DETAIL https://phabricator.wikimedia.org/T89485
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, valhallasw, Aklapper, jayvdb, pywikipedia-bugs
jayvdb closed this task as "Resolved". jayvdb claimed this task.
TASK DETAIL https://phabricator.wikimedia.org/T89485
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: gerritbot, valhallasw, Aklapper, jayvdb, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org