NameError
global name '_' is not defined
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the
order they occurred.
/home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestCGI object>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 1209 # generate page footer (actions that do not want this footer use
- handler
= <function execute>
- self
= <MoinMoin.request.RequestCGI object>
- self.page
= <MoinMoin.Page.Page instance>
- self.page.page_name
= u'MailingLists'
/home/project-web/tmda/persistent/tmdawiki/data/plugin/action/GoogleTranslate.py
in execute
(pagename=u'MailingLists', request=<MoinMoin.request.RequestCGI object>)
- 42 or not request.user.may.delete(pagename):
- 43 return page.send_page(request,
- 44 msg=_('You are not allowed to translate this page'))
- 45
- 46 url=request.url.split('?')[0]
- msg undefined
- _ undefined
NameError
global name '_' is not defined
- args = ("global name '_' is not defined",)
- message = "global name '_' is not defined"
System Details
- Date: Fri, 29 Mar 2024 10:07:18 +0000
- Platform: Linux sfp-ioweb82-2.v30.lw.sourceforge.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
- Python: Python 2.7.5 (/bin/python)
- MoinMoin: Release 1.5.8 (release)