Bugs item #1987463, was opened at 2008-06-07 15:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=198746…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nightshadow28 (nightshadow28)
Assigned to: Nobody/Anonymous (nobody)
Summary: editarticle.py aborts in in gui.py / +ja message
Initial Comment:
* editarticle aborts in gui.py. (r5519, Python 2.5, ubuntu 8.04)
John_doe@Hogehoge:~/pywikipedia_r5519$ python editarticle.py
Checked for running processes. 1 processes currently running, including the current
process.
Page to edit: User:Tatsujin28/Sandbox
Traceback (most recent call last):
File "editarticle.py", line 186, in <module>
main()
File "editarticle.py", line 182, in main
app.run()
File "editarticle.py", line 168, in run
new = textEditor.edit(old)
File "editarticle.py", line 120, in edit
return self.restoreLinebreaks(wikipedia.ui.editText(text, jumpIndex = jumpIndex,
highlight = highlight))
File "/home/John_doe/pywikipedia_r5519/userinterfaces/terminal_interface.py",
line 281, in editText
editor = gui.EditBoxWindow()
File "/home/John_doe/pywikipedia_r5519/gui.py", line 255, in __init__
menubar = Menu(root)
NameError: global name 'root' is not defined
John_doe@Hogehoge:~/pywikipedia_r5519$
* And... I added Japanese language message for the bot (attached). If anyone has a time,
please commit it. Its summary is below:
-----
msg = {
'ar': u'تعديل يدوي: %s',
'de': u'Manuelle Bearbeitung: %s',
'en': u'Manual edit: %s',
'he': u'עריכה ידנית: %s',
'ja': u'手動編集: %s',
'pt': u'Editando manualmente com bot: %s',
'sv': u'Manuell redigering: %s',
'is': u'Handvirk breyting: %s',
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=198746…